Page MenuHomeSoftware Heritage

Put swh dependencies in a dedicated extra requirements
ClosedPublic

Authored by douardda on Thu, Nov 29, 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.

Event Timeline

douardda created this revision.Thu, Nov 29, 2:48 PM
anlambert accepted this revision.Thu, Nov 29, 3:28 PM
This revision is now accepted and ready to land.Thu, Nov 29, 3:28 PM
This revision was automatically updated to reflect the committed changes.