-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#219 Use sysconfig.get_config_h_filename() to locate pyconfig.h #220
Conversation
Those failures seem to be due to The tests impacted by this change passed. It's unfortunate that it aborts the parallel jobs so we can't see their results. |
lgtm, but there is one more place where the old path is used: distutils/distutils/sysconfig.py Lines 362 to 371 in 35069ad
|
I've created #222 for this |
Is there any reason why this shouldn't just call |
Not to my knowledge. I skipped the build-python part in 676e669 back then because I wasn't sure if the logic was equal after things diverged with CPython and I didn't want to risk it. |
lgtm |
@jaraco Are you still merging stuff for this project? You'll want this change before 3.13 ships :) |
Ping on this issue. |
Thanks Jason! |
I've used the minimal change here. It would be totally valid to always make this call and only add the path if it differs from
{prefix}\include
, but it still only affects the case where we're in a CPython build directory so I don't see any reason to touch code outside of the checks for that.Fixes #219