HomeSoftware Heritage

graphql: Generate frozen requirements

Description

graphql: Generate frozen requirements

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

Details

Provenance
ardumontAuthored on Aug 26 2022, 3:13 PM
ardumontPushed on Aug 26 2022, 4:15 PM
Differential Revision
D8322: graphql: Generate frozen requirements
Parents
R259:a3571bce9a00: use apt clean instead of removing all the dpkg content
Branches
Unknown
Tags
Unknown
References
tag: swh-graphql-20220826.1
Tasks
T4464: staging: Deploy latest version