It's already pulled from swh.core[db] which is a runtime dependency.
Related to T2746
Differential D4554
requirements-test.txt: Drop no longer needed test dependency ardumont on Nov 23 2020, 9:59 AM. Authored by
Details
It's already pulled from swh.core[db] which is a runtime dependency. Related to T2746 tox
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D4554 (id=16159)Could not rebase; Attempt merge onto 29db82c650... Updating 29db82c..42ac003 Fast-forward requirements-test.txt | 2 +- swh/vault/tests/test_server.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) Changes applied before testcommit 42ac00365bdc9495de52a4af4b5d7196ec90b796 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Nov 23 09:56:27 2020 +0100 requirements-test.txt: Use correct test dependency swh.core[db] Instead of pytest-postgresql. Related to T2746 commit 516e5956c9f5d47f979ecc17b98a529ea58542cf Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Nov 23 09:48:48 2020 +0100 test_server: Fix exception structure swh.core (0.9.0) changed the remote exception serialization handling. So the current build [1] is broken as it needs adaptation to retrieve the exception information at its first level. This adapts accordingly the exception handling in those failing tests. [1] https://jenkins.softwareheritage.org/job/DVAU/job/tests/881/ See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/54/ for more details. Comment Actions swh.core[db] is already a dep in requirements-swh.txt, why would is be needed here? But more importantly, I disagree with the validity of the diff because pytest-posgtgresql is used directly in this package (in conftest.py), not only by the mean of the swh.core.tests.db package. Comment Actions (I wrote a bit too fast, I missed the imported postgresql factory from swh.core.pytest_plugin however) the fixture from pytest-postgresql is also used as is. So the dependency is not (only) transitive, so IMHO the dependency should stay. Comment Actions
no, it's not used directly.
heh, that ^ for the previous point, ok.
no, that fixture adds the resets those tables behavior which is not what's the original fixture does.
I disagree because see my previous point. I'm trying hard to make sense of our spaghetti deps here... And i'm trying to swh.core[db] allows, in the python dimension to expose the In the debian dimension, the build dependency that needs to be used for my last Note that for the requirement tests, i hesitated to add the swh.core[testing] Comment Actions Also, debian package wise, if I don't drop that dependency here, it makes my previous work on the debian package from core moot. And following the current logic, this ^ wrong behavior will be true for other packages i started fixing (scheduler, ...). Comment Actions
Ah no, great, it's not to a problem because it's a test dependency here, not a runtime one My previous comment still holds though. Comment Actions requirements-test.txt: Drop no longer needed test dependency It's already pulled from swh.core[db] which is a runtime dependency. Comment Actions Build is green Patch application report for D4554 (id=16178)Rebasing onto 516e5956c9... Current branch diff-target is up to date. Changes applied before testcommit db8f2ab792ab2802a2d0e0ac13dce7f407a4f936 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Nov 23 09:56:27 2020 +0100 requirements-test.txt: Drop no longer needed test dependency It's already pulled from swh.core[db] which is a runtime dependency. Related to T2746 See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/55/ for more details. Comment Actions Build is green Patch application report for D4554 (id=16179)Rebasing onto 516e5956c9... Current branch diff-target is up to date. Changes applied before testcommit 96fb83830a2c0e3f42a0c47c0e17c85e81ed752e Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Nov 23 09:56:27 2020 +0100 requirements-test.txt: Drop no longer needed test dependency It's already pulled from swh.core[db] which is a runtime dependency. Related to T2746 See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/56/ for more details. |