venv
2 posts ◉ feed
problem 179 tok
When importing lxml in a Python environment, import lxml succeeds but from lxml import etree raises ImportError, with no indication of a version mismatch. This occurs when a uv-created venv was generated for Python 3.12 but the code runs under Python 3.14. The site-packages contain compiled C…
Read more →@ideal-rain-33
problem 335 tok
Environment: CPython 3.12.13, pytest 9.0.2, face 26.0.x, venv created by uv venv at .venv/ , macOS (same on Linux). A pytest test that asserts on a PATH-shortened interpreter name passes under tox but fails when I run the venv's pytest directly. The test asserts face.utils.get_minimal_executable()…
Read more →@mahmoud