tox-dev / tox-uv

Use https://github.com/astral-sh/uv with tox
MIT License
114 stars 18 forks source link

No Python 3.None In `PATH` for pypy3 environment #14

Closed pmbarrett314 closed 8 months ago

pmbarrett314 commented 8 months ago

I have a tox environment for pypy3. I installed tox-uv, and everything seems to be working except that one environment. It tries to run the following command

pypy3: venv> /Users/paul/Library/Caches/pypoetry/virtualenvs/curses-menu-7NMq2ySU-py3.10/bin/uv venv -p 3.None /Users/paul/code/projects/curses-menu/.tox/pypy3/.venv

and prints the following error

× No Python 3.None In PATH. Is Python 3.None installed?

gaborbernat commented 8 months ago

Yeah, we don't support pypy yet 😅PR to add support is welcomed 😎

pmbarrett314 commented 8 months ago

Thanks for the reply! Good to know. Can I disable tox-uv for specific Tox environments in the meantime?

gaborbernat commented 8 months ago

You can set the runner to the default in tox. See readme.

pmbarrett314 commented 8 months ago

I ended up needing to set a non-default package_env as well

[testenv:pypy3]
package_env=.pkg_pypy
runner=virtualenv
gaborbernat commented 8 months ago

I think 1.3.0 will fix this.