Page MenuHomeSoftware Heritage

Put swh dependencies in a dedicated extra requirements
ClosedPublic

Authored by douardda on Nov 29 2018, 2:48 PM.

Details

Summary

to prevent weird race condition when both requirements-swh.txt and
requirements-swh-dev.txt are added as requirements.

This is needed to make:

tox -e sphinx-dev

work as expected, ie. with swh packages installed from sources rather than
from pypi.

Test Plan

both tox envs 'sphinx' and 'sphinx-dev' should work as expected

especially, sphinx-dev should not generate a traceback when autodoc tries to
import swh.deposit.settings.production if ../swh-deposit is on current master.

Diff Detail

Repository
rDDOC Development documentation
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.