tox-uv
tox-uv copied to clipboard
UvVenvLockRunner doesn't call MANAGER.tox_on_install
Issue
Related https://github.com/tox-dev/tox-gh/issues/175 UvVenvLockRunner doesn't call MANAGER.tox_on_install, leading to plugins with tox_on_install not being run properly
Environment
Provide at least:
- OS: macos, ubuntu, windows GitHub Action runners
Output of pip list of the host Python, where tox is installed
(not pip list but the closest thing I can provide...)
Prepared 14 packages in 221ms
Installed 14 packages in 6ms
+ cachetools==5.5.2
+ chardet==5.2.0
+ colorama==0.4.6
+ distlib==0.3.9
+ filelock==3.18.0
+ packaging==24.2
+ platformdirs==4.3.6
+ pluggy==1.5.0
+ pyproject-api==1.9.0
+ tox==4.24.2
+ tox-gh==1.5.0
+ tox-uv==1.25.0
+ uv==0.6.6
+ virtualenv==20.29.3
Installed 1 executable: tox
py-test: venv> /home/runner/.local/share/uv/tools/tox/bin/uv venv -p /home/runner/.local/share/uv/tools/tox/bin/python --allow-existing --python-preference system /home/runner/work/whoosh-novo/whoosh-novo/.tox/py-test
py-test: uv-sync> uv sync --locked --python-preference system -p /home/runner/.local/share/uv/tools/tox/bin/python
py-test: freeze> /home/runner/.local/share/uv/tools/tox/bin/uv --color never pip freeze
py-test: astor==0.8.1,cached-property==2.0.1,cfgv==3.4.0,distlib==0.3.9,filelock==3.18.0,flynt==1.0.2,identify==2.6.9,iniconfig==2.0.0,nodeenv==1.9.1,nose==1.3.7,packaging==24.2,platformdirs==4.3.6,pluggy==1.5.0,pre-commit==4.1.0,pytest==8.3.5,pytest-sugar==1.0.0,pyyaml==6.0.2,ruff==0.11.0,termcolor==2.5.0,virtualenv==20.29.3,-e file:///home/runner/work/whoosh-novo/whoosh-novo
Output of running tox
Output of tox -rvv
(not sure how to do this for a GitHub Action)
Minimal example
Set up a basic tox project and run it with this GitHub Action
not sure if you'd be able to view the logs, but the relevant GitHub Action the snippets are from is this one
Any planned fix for this?
PR welcome 👍