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
[Y ] I have searched the issue tracker and believe that this is not a duplicate.
Steps to reproduce
The PDM command, which is run in a Py 3.10.1 Docker container, is to install all project dependencies (all project source files, including pyproject.toml, are present in the container working directory, except the lock file which PDM creates from scratch):
It's because the latest Numpy version added <3.13 to its requires-python metadata, so your accepted range is no longer a subset of what your dependencies support. You have to add the same upper bound to your metadata.
@pawamoy Many thanks. My requires-python was just >=3.9.6, but I've amended this in my TOML. The install works now.
A more general point: I guess this kind of thing can happen very easily, although I haven't come across a case where a dep specifies an upper bound on a Python beta version.
Steps to reproduce
The PDM command, which is run in a Py 3.10.1 Docker container, is to install all project dependencies (all project source files, including
pyproject.toml
, are present in the container working directory, except the lock file which PDM creates from scratch):The default deps (in
pyproject.toml
) include Numpy (unpinned).Actual behavior
This used to work fine until yesterday, today I'm not sure what's wrong. I keep geting the following error:
I've tried restricting Numpy to earlier versions, and using even using later versions of Python for the Docker image. Same result.
Expected behavior
Successful installation of all project deps.
Environment Information
This is a Docker environment:
I've tried to run the same job number of times - it fails with the same error.
The text was updated successfully, but these errors were encountered: