You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Riot seems to have problems with Python 3.11's importlib in terms of managing virtual environments. Specifically in dd-trace-py using riot, Hypothesis' vendored text file is not being found even though there is no problem running ddtrace.tests.tracer.test.http.py tests locally with Python 3.11.
Note: we caught this issue when running tracer (ddtrace) with riot, using Python 3.11. The workaround was to move the test_http.py tests to a separate tox command, but we can still reproduce the problem by reverting the --ignore=tests/tracer/test_http.py argument in the riot tracer venv.
Specifically, the symptom we're seeing from running in Python 3.11 is easily reproduced by running the following commands, with hypothesis install via pip:
<importlib.resources._adapters.CompatibilityFiles.SpecPath object at 0x104befe50>
<importlib.resources._adapters.CompatibilityFiles.OrphanPath object at 0x104beeb50>
Currently unsure why using riot leads to a completely separate Path object.
Riot seems to have problems with Python 3.11's importlib in terms of managing virtual environments. Specifically in dd-trace-py using riot, Hypothesis' vendored text file is not being found even though there is no problem running
ddtrace.tests.tracer.test.http.py
tests locally with Python 3.11.Steps to Reproduce
Package Structure
To reproduce, here is my file structure:
repro_script.py:
repro_package/setup.py:
repro_package/src/test.py:
repro_packages/src/vendor/domains.txt:
Reproduction Command
The text was updated successfully, but these errors were encountered: