-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Description
Despite fact that latest version has been mopved from setuptools
to poetry
pytest still needs setuptools
(more precise pkg_resources
which is parft of the setuptools
)
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-bdd-6.1.1-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-bdd-6.1.1-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.15, pytest-7.1.3, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-bdd-6.1.1, configfile: pytest.ini, testpaths: tests
plugins: bdd-6.1.1
collected 107 items / 1 error
================================================================================== ERRORS ==================================================================================
_______________________________________________________________ ERROR collecting tests/feature/test_tags.py ________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/pytest-bdd-6.1.1/tests/feature/test_tags.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/feature/test_tags.py:4: in <module>
import pkg_resources
E ModuleNotFoundError: No module named 'pkg_resources'
========================================================================= short test summary info ==========================================================================
ERROR tests/feature/test_tags.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================================================= 1 error in 0.27s =============================================================================
Metadata
Metadata
Assignees
Labels
No labels