The old attribute was deprecated in swh.model 0.7.2
Details
Details
- Reviewers
anlambert - Group Reviewers
Reviewers - Commits
- rDJNLe99840712024: Replace RawExtrinsicMetadata `id` attribute with `target`.
tox -e py3 -- -W error:RawExtrinsicMetadata:DeprecationWarning
Diff Detail
Diff Detail
- Repository
- rDJNL Journal infrastructure
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
Patch application report for D4365 (id=15432)
Could not rebase; Attempt merge onto abc42e2bf7...
Updating abc42e2..e998407 Fast-forward .pre-commit-config.yaml | 13 +----- requirements-swh.txt | 2 +- swh/journal/cli.py | 93 --------------------------------------- swh/journal/tests/journal_data.py | 6 ++- 4 files changed, 7 insertions(+), 107 deletions(-) delete mode 100644 swh/journal/cli.py
Changes applied before test
commit e998407120243133e7e91e88ec8f35e2948807fe Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Tue Oct 27 15:01:44 2020 +0100 Replace RawExtrinsicMetadata `id` attribute with `target`. The old attribute was deprecated in swh.model 0.7.2 commit eb6fd28acb85deb4d893b02bf400435c1d83d74c Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Tue Oct 27 15:01:08 2020 +0100 Move pre-commit back to upstream flake8 We don't use @overload in this module anymore. commit f6029c1175420e978b35f1172a55536974c284ba Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Mon Sep 28 18:24:08 2020 +0200 Drop fully deprecated swh.journal.cli module.
See https://jenkins.softwareheritage.org/job/DJNL/job/tests-on-diff/123/ for more details.