You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pytest 7.3.2 changed treatment of testpaths to now always load conftest from the tox configured testpaths. this breaks our integration-tests because our configured testpaths in tox.ini points to tests/unittests which carries with it a dependency on responses that is unneeded for our integration-tests target. This behavior breaks all of our jenkins test runners which don't need to express responses as a dependency.
This issue is known in pytest issue: #11104 and will likely be reverted in the coming week and introduced as a separate config feature in a major release.
Steps to reproduce the problem
tox -e integration-test # results in a traceback module not found `reponses`
Environment details
cloud-init logs
The text was updated successfully, but these errors were encountered:
pytest 7.3.2 changed treatment of `testpaths` config which forced
test/unittest/conftest.py module load in our integration-tests
toxenv. Upstream bug is tracking their planned revert/fix for this
regression. Pin 7.3.1 in the meantime.
Fixescanonical#4183
pytest 7.3.2 changed treatment of `testpaths` config which forced
test/unittest/conftest.py module load in our integration-tests
toxenv. Upstream bug is tracking their planned revert/fix for this
regression. Pin 7.3.1 in the meantime.
Fixescanonical#4183
blackboxsw
added a commit
to blackboxsw/cloud-init
that referenced
this issue
Jun 13, 2023
pytest 7.3.2 changed treatment of `testpaths` config which forced
test/unittest/conftest.py module load in our integration-tests
toxenv. Upstream bug is tracking their planned revert/fix for this
regression. Pin 7.3.1 in the meantime.
Fixescanonical#4183
pytest 7.3.2 changed treatment of `testpaths` config which forced
test/unittest/conftest.py module load in our integration-tests
toxenv. Upstream bug is tracking their planned revert/fix for this
regression. Pin 7.3.1 in the meantime.
Fixes#4183
Bug report
pytest 7.3.2 changed treatment of testpaths to now always load
conftest
from the tox configured testpaths. this breaks our integration-tests because our configuredtestpaths
intox.ini
points totests/unittests
which carries with it a dependency onresponses
that is unneeded for our integration-tests target. This behavior breaks all of our jenkins test runners which don't need to expressresponses
as a dependency.This issue is known in pytest issue: #11104 and will likely be reverted in the coming week and introduced as a separate config feature in a major release.
Steps to reproduce the problem
Environment details
cloud-init logs
The text was updated successfully, but these errors were encountered: