-
Notifications
You must be signed in to change notification settings - Fork 116
1.0.3: pytest fails in 5 units #889
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
Comments
Uninstall |
Indeed it solved the issue + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-httpcore-1.0.3-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-httpcore-1.0.3-2.fc35.x86_64/us
r/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network' -p no:randomly
============================= test session starts ==============================
platform linux -- Python 3.8.18, pytest-8.0.0, pluggy-1.3.0
rootdir: /home/tkloczko/rpmbuild/BUILD/httpcore-1.0.3
configfile: pyproject.toml
plugins: httpbin-2.0.0, trio-0.8.0, anyio-4.2.0
collected 213 items
tests/_async/test_connection.py .................. [ 8%]
tests/_async/test_connection_pool.py ................................. [ 23%]
tests/_async/test_http11.py ........................ [ 35%]
tests/_async/test_http2.py .................... [ 44%]
tests/_async/test_http_proxy.py .......... [ 49%]
tests/_async/test_integration.py ...... [ 52%]
tests/_async/test_socks_proxy.py .......... [ 56%]
tests/_sync/test_connection.py ......... [ 61%]
tests/_sync/test_connection_pool.py .................. [ 69%]
tests/_sync/test_http11.py ............ [ 75%]
tests/_sync/test_http2.py .......... [ 79%]
tests/_sync/test_http_proxy.py ..... [ 82%]
tests/_sync/test_integration.py ... [ 83%]
tests/_sync/test_socks_proxy.py ..... [ 85%]
tests/test_api.py ... [ 87%]
tests/test_cancellations.py ....XXX....XXX [ 93%]
tests/test_models.py ............. [100%]
=================================== XPASSES ====================================
=========================== short test summary info ============================
XPASS tests/test_cancellations.py::test_h2_timeout_during_handshake[asyncio]
XPASS tests/test_cancellations.py::test_h2_timeout_during_request[asyncio]
XPASS tests/test_cancellations.py::test_h2_timeout_during_response[asyncio]
XPASS tests/test_cancellations.py::test_h2_timeout_during_handshake[trio]
XPASS tests/test_cancellations.py::test_h2_timeout_during_request[trio]
XPASS tests/test_cancellations.py::test_h2_timeout_during_response[trio]
======================== 207 passed, 6 xpassed in 4.37s ======================== Thank you 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 modulescut off from access to the public network
(pytest is executed with-m "not network"
)Here is pytest output:
List of installed modules in build env:
Please let me know if you need more details or want me to perform some diagnostics.
The text was updated successfully, but these errors were encountered: