tox-uv icon indicating copy to clipboard operation
tox-uv copied to clipboard

tox-uv not working with pypy3 in windows

Open emdneto opened this issue 9 months ago • 2 comments

I'm trying to use tox-uv in a project I'm already using tox. Everything is working fine in Ubuntu, but in Windows, the CI is failing. The same setup with pure tox is working fine.

https://github.com/open-telemetry/opentelemetry-python/actions/runs/14219379510/job/39843656537?pr=4516

Run tox -e pypy3-test-opentelemetry-exporter-otlp-proto-common -- -ra
pypy3-test-opentelemetry-exporter-otlp-proto-common: venv> C:\hostedtoolcache\windows\PyPy\3.8.16\x86\Scripts\uv.exe venv -p pypy3 --allow-existing D:\a\opentelemetry-python\opentelemetry-python\.tox\pypy3-test-opentelemetry-exporter-otlp-proto-common
pypy3-test-opentelemetry-exporter-otlp-proto-common: skipped because could not find python interpreter with spec(s): pypy3
  pypy3-test-opentelemetry-exporter-otlp-proto-common: SKIP (1.47 seconds)
  evaluation failed :( (2.38 seconds)

https://github.com/open-telemetry/opentelemetry-python/pull/4516

I'm not sure if it's something with tox-uv or uv itself, so just let me know if you have any idea.

emdneto avatar Apr 02 '25 12:04 emdneto

@emdneto This is likely cause by upstream bug as I just had to raise https://github.com/astral-sh/uv/issues/14239

For the time being, I am inclined to declare the support for pypy on Windows in as not working as I was not able to run our own tests with it on Windows.

ssbarnea avatar Jun 24 '25 13:06 ssbarnea

@ssbarnea We stopped using pypy3.8 and instead we are using pypy3.9. CI is OK now . not sure if people on uv fixed something

emdneto avatar Jun 24 '25 22:06 emdneto