-
-
Notifications
You must be signed in to change notification settings - Fork 950
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.0.1: pytest is failing #2006
Comments
Forgot to add that I'm using aioredis 2.0.1. |
Hi @kloczek! That being said, it is not possible to resolve your issue for 3.0.1 without releasing a new minor or micro version, because (We are hoping to get 3.1.0 out the door some time in February.) |
Duplicates #1938 |
Just back to + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-falcon-3.1.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-falcon-3.1.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra --import-mode=importlib
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/falcon-3.1.0, configfile: setup.cfg
collected 0 items / 1 error
================================================================================== ERRORS ==================================================================================
______________________________________________________________________ ERROR collecting test session _______________________________________________________________________
examples/asgilook/tests/conftest.py:12: in <module>
from asgilook.app import create_app
E ModuleNotFoundError: No module named 'asgilook'
========================================================================= short test summary info ==========================================================================
ERROR - ModuleNotFoundError: No module named 'asgilook'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================================================= 1 error in 0.50s ============================================================================= Any hints? |
If only tests/ should be used this patch should be added as |
This issue has been resolved in Falcon 3.1.0 regardless of what should be included in the test suite. |
3.1.0 still has missing |
Thanks, but it sounds like an orthogonal suggestion. |
I wpould like to not stamp on sometbing wgich is still not working like I've reported that in #2006 (comment) (which is about last 3.1.0). |
I'll file Please invoke as |
"Nobody expects the Spanish Inquisition" .. |
Because the tutorial is written from the reader's perspective building a new project using Falcon, outside of Falcon's source tree. I'm still not convinced why Why use |
I think adding |
Yes, I'll file that as a separate suggestion. @CaselIT it is unclear whether that would help, because I saw in another issue by the same reporter that |
Unless that's removed by hand that seems very strange that pytest is not picking it up. Regardless adding that should not make things any worse |
Filed as #2082 |
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 modulesLookks like something is wrong in use of
aioredis
Here is pytest output:
The text was updated successfully, but these errors were encountered: