Closed andredias closed 4 years ago
Hi,
Can you nuke the pytest cache and/or recreate your venu and see if that resolves it?
urllib3 indeed became an optional dependency in 0.13 since we are now using our own networking code for the sync API. It’s possible that’s not been properly picked up by your tooling. As a matter of fact I can’t reproduce this myself (the fixture works just fine).
You're right. It was a problem with cache. Sorry for the trouble.
Since I updated from
httpx
0.12.1 to 0.13.3 I get the errorinvalid module name: 'urllib3.exceptions'
. I suspect it is specifically related tohttpx
because of this difference inpoetry.lock
, which shows thaturllib3
is not a dependency anymore:This is the error I got:
The problem seems to be related to the fixture discovering phase of pytest. Unfortunately, I don't have additional information besides that. The
conftest.py
I'm using is:to reproduce the error, just run
pytest --fixtures
Environment
Regards,
André