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
I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
because I'm calling build with --no-isolation I'm using during all processes only locally installed modules
install .whl file in </install/prefix>
run pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>
Looks like it is some issue with collecting units.
Here is pytest output:
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-vcr-1.0.2-13.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-vcr-1.0.2-13.fc35.x86_64/usr/lib/python3.8/site-packages+ /usr/bin/pytest -ra=========================================================================== test session starts ============================================================================platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-vcr-1.0.2plugins: vcr-1.0.2collected 0 items / 1 error================================================================================== ERRORS ==================================================================================____________________________________________________________________ ERROR collecting tests/test_vcr.py ____________________________________________________________________tests/test_vcr.py:7: in <module> assert pytest.config.pluginmanager.hasplugin("vcr")/usr/lib/python3.8/site-packages/pytest/__init__.py:165: in __getattr__ raise AttributeError(f"module {__name__} has no attribute {name}")E AttributeError: module pytest has no attribute config========================================================================= short test summary info ==========================================================================ERROR tests/test_vcr.py - AttributeError: module pytest has no attribute config!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!============================================================================= 1 error in 0.08s =============================================================================
The text was updated successfully, but these errors were encountered:
I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
build
with--no-isolation
I'm using during all processes only locally installed modulesLooks like it is some issue with collecting units.
Here is pytest output:
The text was updated successfully, but these errors were encountered: