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

Docker build fails on python dependencies #574

Closed
griff-rees opened this issue Jun 12, 2023 · 2 comments · Fixed by #577
Closed

Docker build fails on python dependencies #574

griff-rees opened this issue Jun 12, 2023 · 2 comments · Fixed by #577
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@griff-rees
Copy link

Currently seems like a dependency issue

#0 200.8 Collecting dateparser<2.0.0,>=1.1.1
#0 200.8   Downloading dateparser-1.1.7-py2.py3-none-any.whl (293 kB)
#0 200.9      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 293.4/293.4 kB 2.0 MB/s eta 0:00:00
#0 200.9 INFO: pip is looking at multiple versions of click to determine which version is compatible with other requirements. This could take a while.
#0 201.0 Collecting click<9.0.0,>=8.1.2
#0 201.0   Downloading click-8.1.2-py3-none-any.whl (96 kB)
#0 201.0      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 2.4 MB/s eta 0:00:00
#0 201.0 INFO: pip is looking at multiple versions of beautifulsoup4 to determine which version is compatible with other requirements. This could take a while.
#0 201.0 Collecting beautifulsoup4<5.0.0,>=4.11.1
#0 201.1   Downloading beautifulsoup4-4.12.1-py3-none-any.whl (142 kB)
#0 201.2      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.5/142.5 kB 921.4 kB/s eta 0:00:00
#0 201.2 INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
#0 201.2 INFO: pip is looking at multiple versions of airsenal to determine which version is
compatible with other requirements. This could take a while.
#0 201.2 ERROR: Could not find a version that satisfies the requirement jaxlib>=0.1.65 (from
numpyro) (from versions: none)
#0 201.2 ERROR: No matching distribution found for jaxlib>=0.1.65
#0 201.2
#0 201.2 [notice] A new release of pip is available: 23.0.1 -> 23.1.2
#0 201.2 [notice] To update, run: pip install --upgrade pip
------
Dockerfile:7
--------------------
   6 |
   7 | >>> RUN apt-get update && apt-get install build-essential git sqlite3 -y && \
   8 | >>>     pip install pygmo && pip install .
   9 |
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install build-essential git sqlite3 -y &&     pip install pygmo && pip install ." did not complete successfully: exit code: 1
@griff-rees
Copy link
Author

See pull request #579

@griff-rees griff-rees self-assigned this Jun 12, 2023
@griff-rees griff-rees added bug Something isn't working enhancement New feature or request labels Jun 12, 2023
@griff-rees
Copy link
Author

Fixing this has lead to a potential version conflict (see #578) but also fixes docker deploy and adds continuous integration to ease maintenance (see commit c20a6c0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant