You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 is macosx-10.9-universal2 and the "required" platform of the OS is macosx-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?
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
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: