Lens and V3 images: install Python packages from hashed lock files
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 74/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- docker, python
- Domain
- build-system, devops
Research direction
Read .github/requirements/ for the hashed lock-file layout, then inspect geometric-lens/Dockerfile and v3-service/Dockerfile. Generate a hashed lock file for each service with pip-compile --generate-hashes, and use --only-binary :all: where every package has a wheel. Done means both images build and pytest geometric-lens/tests and pytest tests/v3-service pass.
Written by the indexing model from the issue text.
Description
What needs doing
geometric-lens/Dockerfile and v3-service/Dockerfile install their
Python requirements without hashes, and allow source builds. Generate
a hashed lock file for each service
(pip-compile --generate-hashes), install with --require-hashes,
and add --only-binary :all: where every package has a wheel.
Why
A hashed install fails when a package differs from the one that was
locked. CI already installs its own tools this way.
Done when
- Both Dockerfiles install with
--require-hashes. - Both images build, and
pytest geometric-lens/testsand
pytest tests/v3-servicepass.
Where to start
.github/requirements/shows the hashed layout CI uses.- No GPU is needed.
Refs #202
- Dominant language
- Python
- Stars
- 2.1k
- Forks
- 197
- Avg merge
- 14h 1m
- Merged PRs (30d)
- 201
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from inferstep/ATLAS
-
Bootstrap: the last two steps run as the user who owns the installMay be free again @assassinationss claimed this 19 days ago, and no pull request is open. Openarea/install reliability
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
inferstep/ATLAS#412 · 4 comments ·
Maintainers usually reply within 1 day
-
area/cli
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
area/cli area/lens status/ready
Difficulty 2/5 Half a day Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
area/ci status/ready
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
inferstep/ATLAS#245 · 4 comments ·
Maintainers usually reply within 1 day
-
area/docs documentation help wanted
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
MIT-LCP/wfdb-python#590 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
pollen-robotics/reachy_mini#1517 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
NRLMMD-GEOIPS/pluginify#41 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
scverse/spatialdata#1293 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
UKGovernmentBEIS/inspect_evals#2788 ·
Maintainers usually reply within 1 day