Page MenuHomeSoftware Heritage

Put swh dependencies in a dedicated extra requirements

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



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

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

Event Timeline

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