pytest 7.2.0 no longer installs py
moto-timo opened this issue · 2 comments
moto-timo commented
Since pytest-dev/pytest#10396 the py library is
no longer installed, but dumb-init needs 'py._path'.
ImportError while importing test module '/tmp/tmp.k8zSDBKT6S/dumb-init-1.2.5/tests/child_processes_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/child_processes_test.py:10: in <module>
from testing import is_alive
testing/__init__.py:11: in <module>
from py._path.local import LocalPath
E ModuleNotFoundError: No module named 'py._path'; 'py' is not a package
moto-timo commented
@asottile agreed. Thank you for doing the right thing.
@chriskuehl it would be very helpful if you could merge this and do a release with a full source tarball, as that is what we are pulling and building (and testing -- this gives you some extra Linux distro coverage, since we have a matrix of ~14 distro/version combinations).