brash-family-72057
04/14/2021, 7:15 PMbrash-family-72057
04/14/2021, 7:15 PM10:00:50 Needed macosx_10_16_x86_64-cp-39-cp39 compatible dependencies for:
10:00:50 1: wrapt<2,>=1.10
10:00:50 Required by:
10:00:50 Deprecated 1.2.11
10:00:50 But this pex had no 'wrapt' distributions.
If I package the pex on a Catalina machine, then everything works.
If I package it on Big Sur, it fails to execute the pex with the error above.brash-family-72057
04/14/2021, 7:16 PMplatforms=["macosx_10_15_x86_64-cp39-cp39"]
added to the build target, the package command fails with:
ERROR: Could not find a version that satisfies the requirement wrapt<2,>=1.10 (from deprecated)
ERROR: No matching distribution found for wrapt<2,>=1.10
brash-family-72057
04/14/2021, 7:17 PMhundreds-father-404
04/14/2021, 7:19 PMIs there a way to generate a platform-specific pex, while not running the package command on on the target platform?You can, but there must be prebuilt wheels for the platform you're targeting. It looks like it does not have that: https://pypi.org/project/wrapt/#files So, you can only get a wheel from whatever the current platform is. If you're building on macOS Catalina, the wheel will have that platform. If Big Sur, it will have that. I am surprised that a Pex with Big Sur wheels is not working on Catalina, though. My understanding of macOS platforms is that they're forward compatible
brash-family-72057
04/14/2021, 8:41 PMhundreds-father-404
04/14/2021, 8:44 PMbrash-family-72057
04/14/2021, 9:01 PMhundreds-father-404
04/14/2021, 9:10 PMhundreds-father-404
04/14/2021, 9:11 PMhundreds-father-404
04/14/2021, 9:17 PM