jaraco / jaraco.packaging

MIT License
4 stars 4 forks source link

9.0.0: pytest cannot find any test units #6

Closed kloczek closed 1 year ago

kloczek commented 2 years ago

On tryiung upograde my rpm package from 8.2.1 to 9.0.0 I found that pytest now is not able to find any test units

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-jaraco-packaging-9.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-jaraco-packaging-9.0.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.12, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/jaraco.packaging-9.0.0, configfile: pytest.ini
plugins: mypy-0.8.1
collected 0 items

========================================================================== no tests ran in 0.08s ===========================================================================
jaraco commented 1 year ago

The latest version changes the dependencies and removes doctests. Please retry with v9.1.0.

kloczek commented 1 year ago

Just tested 9.1.0 and looks like pytest still is not able to find any units

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-jaraco-packaging-9.1.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-jaraco-packaging-9.1.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.14, pytest-7.1.3, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/jaraco.packaging-9.1.0, configfile: pytest.ini
plugins: mypy-0.9.1
collected 0 items

========================================================================== no tests ran in 0.02s ===========================================================================
kloczek commented 1 year ago

gentle ping ..

jaraco commented 1 year ago

In 9.1.2, I've added a small (doc)test to the sphinx module. Please report back if that doesn't address the concern.