Page MenuHomeSoftware Heritage

getting-started: Initializing the venv deps fails on the swh-storage repository
Closed, MigratedEdits Locked

Description

Starting with pip install as mentioned in the getting started [1] fails with the following:

pip install $( ./bin/pip-swh-packages --with-testing )
swh-storage[schemata,listener][testing] should either be a path to a local project or a VCS url beginning with svn+, git+, hg+, or bzr+

Indeed, in swh-storage, this fails with the same error:

cd swh-storage
pip install -e "swh-storage[schemata,listener][testing]"

Removing the extra [schemata,listener], the install works, that is:

pip install -e "swh-storage[testing]"

This comes from the pip-swh-packages script.

./bin/pip-swh-packages --with-testing
-e swh-core[testing]
[...]
-e swh-storage[schemata,listener][testing]
-e swh-web[testing]
-e swh-docs[testing]

System:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux buster/sid
Release:        testing
Codename:       buster

[1] https://docs.softwareheritage.org/devel/getting-started.html#step-2-install-python-packages-in-a-virtualenv