Skip to content

Correctly ignore osx_framework_user mismatches #10215

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

Merged
merged 1 commit into from
Jul 30, 2021

Conversation

uranusjr
Copy link
Member

@uranusjr uranusjr commented Jul 27, 2021

This is the macOS --user part of #10208.

The expected 'headers' path is generally:

  • distutils (old): $PREFIX/include/python3.8/$PROJECT
  • sysconfig (new): $PREFIX/include/$PROJECT

So we should check whether the old value's parent is a pythonX.Y, and the new value's parent matches the old's second-level parent.

The expected 'headers' path is generally:

* distutils (old): $PREFIX/include/python3.8/$PROJECT
* sysconfig (new): $PREFIX/include/$PROJECT

So we should check whether the old value's parent is a pythonX.Y, and
the new value's parent matches the old's second-level parent.
@uranusjr
Copy link
Member Author

uranusjr commented Jul 27, 2021

Pinging people reported this in #10151 for testing.
Use this to install pip from this PR:

pip install https://github.com/uranusjr/pip/archive/refs/heads/locations-framework-user-redo.zip

@JRWoodwardMSW @mstankus @RiviniS48 @ondohotola @phriedrich @UnixCro @nicdoye @ChemGuy88 @aah8

@ondohotola

This comment has been minimized.

@uranusjr

This comment has been minimized.

@ondohotola

This comment has been minimized.

@uranusjr

This comment has been minimized.

@uranusjr

This comment has been minimized.

@uranusjr

This comment has been minimized.

@ondohotola

This comment has been minimized.

@ondohotola

This comment has been minimized.

@ondohotola

This comment has been minimized.

@uranusjr

This comment has been minimized.

@ondohotola
Copy link

ondohotola commented Jul 27, 2021 via email

@uranusjr
Copy link
Member Author

Pinging people reported this in #10151 for testing. Use this to install pip from this PR and see if the issue went away:

pip install https://github.com/uranusjr/pip/archive/refs/heads/locations-framework-user-redo.zip

2021-07-28 08:56:00+0800: @miguelbarao @kielnino

2021-07-30 09:17:00+0800: @afnanenayet @macdeport @hakamadare @HachimanSec @DaryaKorovina @cosmicbabs @BjoAce @katieluii @gtrabanco

@uranusjr
Copy link
Member Author

It seems like people affected by #10218 are usually also affected by this, so I’m merging the two together. But #10218 has conflicts, so this one first…

@uranusjr uranusjr merged commit 0a05d76 into pypa:main Jul 30, 2021
@uranusjr uranusjr deleted the locations-framework-user-redo branch July 30, 2021 09:29
@uranusjr uranusjr mentioned this pull request Jul 31, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants