adorable-secretary-13727
06/04/2024, 9:11 PMFailed to resolve requirements from PEX environment @ /tmp/pants-sandbox-xkca5Z/faas_repository.pex.
Needed cp312-cp312-linux_x86_64 compatible dependencies for:
1: greenlet!=0.4.17; python_version >= "3" and (platform_machine == "aarch64" or (platform_machine == "ppc64le" or (platform_machine == "x86_64" or (platform_machine == "amd64" or (platform_machine == "AMD64" or (platform_machine == "win32" or platform_machine == "WIN32"))))))
Required by:
SQLAlchemy 1.4.52
But this pex had no ProjectName(raw='greenlet', validated=False, normalized='greenlet') distributions.
The resolve's lock file shows greenlet 3.0.3 as a dependency and it supports python 3.12 so I'm not sure what's going on here. Any help would be appreciated.better-van-82973
06/04/2024, 9:16 PMgreenlet
further beyond just !=0.4.17
- for what it’s worth, we have a tighter constraint in pyproject.toml
of greenlet = "^3.0.0"
. I vaguely remember running into a similar issue when upgrading to Python 3.12adorable-secretary-13727
06/04/2024, 9:47 PMA distribution for greenlet could not be resolved for cp312-cp312-linux_x86_64.
Found 1 distribution for greenlet that do not apply:
1.) The wheel tags for greenlet 3.0.3 are cp312-cp312-manylinux_2_24_x86_64, cp312-cp312-manylinux_2_28_x86_64 which do not match the supported tags of cp312-cp312-linux_x86_64:
cp312-cp312-manylinux2014_x86_64
... 122 more ...
I tried some of the debug flags to see if I could expand out that "122 more" but I couldn't. I'm not too familiar with the whole wheel process but I feel like the manylinux distributions should match?broad-processor-92400
06/04/2024, 10:36 PMbroad-processor-92400
06/04/2024, 11:17 PMfile
target and then reference in the complete_platforms=["path/to:target"]
on the Lambda target(s).adorable-secretary-13727
06/05/2024, 12:04 AMbroad-processor-92400
06/05/2024, 12:22 AM