Closed pythonmobile closed 1 month ago
On python 3.12 you can't run this successfully due to the outdated build tools
pip install numpy==1.24.4
It's pinned to this outdated version because you specify a wide requires-python
that allows down to 3.8
, which prevents newer versions of numpy to be resolved. Read more about this at https://frostming.com/en/2024/pdm-lockfile/ and I don't want to explain more.
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
On Python 3.12.3 (on ubuntu 22.04), pdm update is failing on the following pyproject.toml:
But python3 -m pip install shapely # works flawlessly.
Actual behavior
Expected behavior
I am hoping it can resolve the dependency issues with the update.
Environment Information