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
Just started upgrade my rpm package to 4..0.0 and notices that it uses now assertpy
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-html-4.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-html-4.0.0-2.fc35.x86_64/usr/lib/python3.8/site-packages+ /usr/bin/pytest -ra -m 'not network'==================================================================================== test session starts ====================================================================================platform linux -- Python 3.8.18, pytest-7.4.0, pluggy-1.3.0rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-html-4.0.0configfile: tox.initestpaths: testingplugins: html-4.0.0collected 0 items / 3 errors========================================================================================== ERRORS ===========================================================================================___________________________________________________________________________ ERROR collecting testing/test_e2e.py ____________________________________________________________________________ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/pytest-html-4.0.0/testing/test_e2e.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)testing/test_e2e.py:8: in <module> from assertpy import assert_thatE ModuleNotFoundError: No module named 'assertpy'_______________________________________________________________________ ERROR collecting testing/test_integration.py ________________________________________________________________________ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/pytest-html-4.0.0/testing/test_integration.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)testing/test_integration.py:12: in <module> from assertpy import assert_thatE ModuleNotFoundError: No module named 'assertpy'___________________________________________________________________________ ERROR collecting testing/test_unit.py ___________________________________________________________________________ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/pytest-html-4.0.0/testing/test_unit.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)testing/test_unit.py:7: in <module> from assertpy import assert_thatE ModuleNotFoundError: No module named 'assertpy'===================================================================================== warnings summary ======================================================================================testing/test_unit.py:5 /home/tkloczko/rpmbuild/BUILD/pytest-html-4.0.0/testing/test_unit.py:5: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources../../../../../usr/lib/python3.8/site-packages/pkg_resources/__init__.py:2871../../../../../usr/lib/python3.8/site-packages/pkg_resources/__init__.py:2871../../../../../usr/lib/python3.8/site-packages/pkg_resources/__init__.py:2871 /usr/lib/python3.8/site-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg)-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html================================================================================== short test summary info ==================================================================================ERROR testing/test_e2e.pyERROR testing/test_integration.pyERROR testing/test_unit.py!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!=============================================================================== 4 warnings, 3 errors in 0.26s ===============================================================================
I'm not familiar about details of API which this module offers 😋 however on building its documentation I've noticed that it uses veeery old ``sphinxcontrib.napoleon which should be replaces by some modern module (sphinxcontrib.napoleon` was part os sphinx 3.x/4.x).
Just started upgrade my rpm package to 4..0.0 and notices that it uses now
assertpy
which seems had no new version since 2020 https://github.com/assertpy/assertpy/tags
If I'm trying to use correct
assertpy
does it make sense to use module which is not well maintained? 🤔The text was updated successfully, but these errors were encountered: