This is an issue when swh.model is installed but not dulwich: swh.model.cli
imports dulwich unconditionally, so /usr/bin/swh fails for all subcommands
instead of just ignoring the issue.
Details
Details
python3 -m venv cli-fail . ./cli-fail/bin/activate pip install swh.core swh.model ./cli-fail/bin/swh
Doesn't fail with ModuleNotFoundError: No module named 'dulwich'
Diff Detail
Diff Detail
- Repository
- rDCORE Foundations and core functionalities
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 8839 Build 12895: tox-on-jenkins Jenkins Build 12894: arc lint + arc unit
Event Timeline
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DCORE/job/tox/332/ for more details.
swh/core/cli/__init__.py | ||
---|---|---|
56 | .warning or else you will have a warning about it |
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DCORE/job/tox/333/ for more details.