-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.10.0: pytest is failing #86
Comments
Looking on file name I suppose that this file sontains units which are for python +3.10. |
This issue is the same one we've seen many times before on jaraco/skeleton projects. The problem is that You'll want to make sure that I'm sorry Python packaging is so tricky. I wish there were a better way. |
As |
Because $PYTHONPATH is used it shoud be used what is provided in </install/prefix>. |
Just foud workaround by use + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-zipp-3.10.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-zipp-3.10.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra --import-mode=importlib -p no:checkdocs
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.15, pytest-7.2.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/zipp-3.10.0, configfile: pytest.ini
plugins: mock-3.10.0
collected 36 items
tests/test_zipp.py ................................. [ 91%]
zipp/__init__.py ... [100%]
============================================================================ 36 passed in 0.89s ============================================================================ |
I'm glad you found a workaround. I have considered adopting Since the test suite is working in CI and because you've found a workaround for your installation of it, and because there's no other concrete suggestion on what this project should do differently, I'm declaring that good enough. |
Thank you to let me know 👍 |
I'm packaging 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 modulesHere is pytest output:
ABove is with
pytest-freezegun
0.4.2.The text was updated successfully, but these errors were encountered: