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
Branch
fix-dev-mode
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 2689
Build 3354: arc lint + arc unit