Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Dependency issues with pinned numpy version #563

Open
neteler opened this issue Oct 15, 2024 · 1 comment
Open

[Bug] Dependency issues with pinned numpy version #563

neteler opened this issue Oct 15, 2024 · 1 comment
Labels
bug Something isn't working cicd related to pipelines, GHA, docker, ...

Comments

@neteler
Copy link
Member

neteler commented Oct 15, 2024

We seem to have dependency issues with the pinned numpy version:

(see https://github.com/neteler/actinia-core/actions/runs/11334031796/job/31519378758)

...
#23 0.745 Collecting gunicorn>=22.0.0 (from actinia-core==4.14.1)
#23 0.766   Downloading gunicorn-23.0.0-py3-none-any.whl.metadata (4.4 kB)
#23 0.914 Collecting matplotlib==3.9.0 (from actinia-core==4.14.1)
#23 0.936   Downloading matplotlib-3.9.0-cp311-cp311-musllinux_1_1_x86_64.whl.metadata (11 kB)
#23 0.944 Requirement already satisfied: passlib>=1.7.1 in /usr/lib/python3.11/site-packages (from actinia-core==4.14.1) (1.7.4)
#23 0.945 Requirement already satisfied: ply>=3.11 in /usr/lib/python3.11/site-packages (from actinia-core==4.14.1) (3.11)
#23 0.945 Requirement already satisfied: psutil>=5.7.0 in /usr/lib/python3.11/site-packages (from actinia-core==4.14.1) (5.9.6)
#23 0.945 Requirement already satisfied: python-json-logger in /usr/lib/python3.11/site-packages (from actinia-core==4.14.1) (2.0.7)
#23 0.946 Requirement already satisfied: python-keycloak>=2.6.0 in /usr/lib/python3.11/site-packages (from actinia-core==4.14.1) (3.7.0)
#23 0.946 Requirement already satisfied: python-magic>=0.4.15 in /usr/lib/python3.11/site-packages (from actinia-core==4.14.1) (0.4.27)
#23 0.947 Requirement already satisfied: Sphinx>=1.7.1 in /usr/lib/python3.11/site-packages (from actinia-core==4.14.1) (5.3.0)
#23 0.947 Requirement already satisfied: redis>=2.10.6 in /usr/lib/python3.11/site-packages (from actinia-core==4.14.1) (5.0.1)
#23 0.948 Requirement already satisfied: requests>=2.20.0 in /usr/lib/python3.11/site-packages (from actinia-core==4.14.1) (2.31.0)
#23 0.948 Requirement already satisfied: rq>=0.10.0 in /usr/lib/python3.11/site-packages (from actinia-core==4.14.1) (1.15.1)
#23 1.115 Collecting setuptools==70.1.1 (from actinia-core==4.14.1)
#23 1.137   Downloading setuptools-70.1.1-py3-none-any.whl.metadata (6.0 kB)
#23 1.145 Requirement already satisfied: uWSGI>=2.0.17 in /usr/lib/python3.11/site-packages (from actinia-core==4.14.1) (2.0.23)
#23 1.145 Requirement already satisfied: wheel in /usr/lib/python3.11/site-packages (from actinia-core==4.14.1) (0.44.0)
#23 1.146 Requirement already satisfied: geopandas in /usr/lib/python3.11/site-packages (from actinia-core==4.14.1) (0.14.1)
#23 1.238 Collecting rasterio==1.3.10 (from actinia-core==4.14.1)
#23 1.260   Downloading rasterio-1.3.10.tar.gz (412 kB)
#23 1.444   Installing build dependencies: started
#23 2.785   Installing build dependencies: finished with status 'error'
#23 2.789   error: subprocess-exited-with-error
#23 2.789   
#23 2.789   × pip subprocess to install build dependencies did not run successfully.
#23 2.789   │ exit code: 1
#23 2.789   ╰─> [10 lines of output]
#23 2.789       Ignoring oldest-supported-numpy: markers 'python_version < "3.9"' don't match your environment
#23 2.789       Collecting setuptools>=67.8
#23 2.789         Downloading setuptools-75.1.0-py3-none-any.whl.metadata (6.9 kB)
#23 2.789       Collecting wheel
#23 2.789         Downloading wheel-0.44.0-py3-none-any.whl.metadata (2.3 kB)
#23 2.789       Collecting cython~=3.0.2
#23 2.789         Downloading Cython-3.0.11-cp311-cp311-musllinux_1_2_x86_64.whl.metadata (3.2 kB)
#23 2.789       ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
#23 2.789       ERROR: Could not find a version that satisfies the requirement numpy==2.0.0rc1 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4, 1.25.0, 1.25.1, 1.25.2, 1.26.0, 1.26.1, 1.26.2, 1.26.3, 1.26.4, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2)
#23 2.789       ERROR: No matching distribution found for numpy==2.0.0rc1
#23 2.789       [end of output]
#23 2.789   
#23 2.789   note: This error originates from a subprocess, and is likely not a problem with pip.
#23 2.889 error: subprocess-exited-with-error
#23 2.889 
#23 2.889 × pip subprocess to install build dependencies did not run successfully.
#23 2.889 │ exit code: 1
#23 2.889 ╰─> See above for output.
#23 2.889 
#23 2.889 note: This error originates from a subprocess, and is likely not a problem with pip.
#23 ERROR: process "/bin/sh -c pip3 install --no-cache-dir /build/*" did not complete successfully: exit code: 1
...

But I am not sure where this is defined?

@neteler neteler added bug Something isn't working cicd related to pipelines, GHA, docker, ... labels Oct 15, 2024
@mmacata
Copy link
Member

mmacata commented Oct 30, 2024

It looks like it is a dependency comming from rasterio-1.3.10 defined in pyproject.toml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cicd related to pipelines, GHA, docker, ...
Projects
None yet
Development

No branches or pull requests

2 participants