Page MenuHomeSoftware Heritage

graphql: Generate frozen requirements
ClosedPublic

Authored by ardumont on Aug 26 2022, 3:30 PM.

Details

Summary

Local run on my machine does not work properly. This generates pkg-resources==0.0.0 and
probably some other irrelevant things.

So, instead, I used docker:

$ docker run -ti -v $PWD:/src -u root --entrypoint=bash python:3.9

In another shell:

$ docker exec --user 1000 \
  $container_name /src/scripts/generate-frozen-requirements swh-graphql
...
  • $container_name is derived out of docker ps.
  • uid 1000 is derived out of your id $USER

Related to T4464

Diff Detail

Repository
R259 Software Heritage virtual environment packaging manifests
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vsellier added a subscriber: vsellier.

looks like swh.graphql==0.0.2.post2 is an old grapqhl release ?

This revision now requires changes to proceed.Aug 26 2022, 3:32 PM

looks like swh.graphql==0.0.2.post2 is an old grapqhl release ?

quite right! I missed stuff in my plan!
I'm such a troubleshooter ;)

Update deps accordingly after releasing a new graphql release

This revision is now accepted and ready to land.Aug 26 2022, 4:02 PM
This revision was automatically updated to reflect the committed changes.