-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Question about pkg_resources.compatible_platforms
on macOS
#3687
Comments
This was referenced Dec 23, 2022
3 tasks
nehaljwani
added a commit
to regro-cf-autotick-bot/mysql-connector-python-feedstock
that referenced
this issue
Jun 10, 2023
On macOS, the egg is generated for 10.9 and since the host machine is probably 12.x, setuptools refuses to detect that as a valid egg and proceeds to download and install. xref: pypa/setuptools#3687
nehaljwani
added a commit
to nehaljwani/mysql-connector-python-feedstock
that referenced
this issue
Jun 10, 2023
On macOS, the egg is generated for 10.9 and since the host machine is probably 12.x, setuptools refuses to detect that as a valid egg and proceeds to download and install. xref: pypa/setuptools#3687
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please correct me if I am wrong, but it has been my understanding that the OS version string in a macOS binary egg name represents the lowest OS version supported. So for example, an egg named
zope.proxy-4.6.1-py3.10-macosx-10.9-universal2.egg
supports macOS 10.9 and higher.With that in mind the code in
pkg_resources.compatible_platforms
feels wrong. In my particular situation the "provided" platform from the egg ismacosx-10.9-universal2
and the "required" platform of the OS ismacosx-13.0-universal2
.compatible_platforms
will reject anything that doesn't match exactly. Should it not accept "provided" when the "required" version number is equal to or larger and the platform part matches?setuptools/pkg_resources/__init__.py
Lines 445 to 452 in a0e8e53
The text was updated successfully, but these errors were encountered: