Reverts https://github.com/jaraco/keyring/commit/6ff02e0eefcd90e271cefd326b460ecfa0e3eb9e We do have pytest 8.1.1 --- keyring-25.1.0/pytest.ini.orig +++ keyring-25.1.0/pytest.ini @@ -1,9 +1,6 @@ [pytest] norecursedirs=dist build .tox .eggs -addopts= - --doctest-modules - --import-mode importlib -consider_namespace_packages=true +addopts=--doctest-modules filterwarnings= ## upstream --- keyring-25.1.0/setup.cfg.orig +++ keyring-25.1.0/setup.cfg @@ -29,7 +29,7 @@ [options.extras_require] testing = - pytest >= 6, != 8.1.1 + pytest >= 6 pytest-checkdocs >= 2.4 pytest-cov pytest-mypy