Skip to content

Conversation

Amar1729
Copy link
Contributor

If a user is using tox-uv (a plugin for tox that supports running the various pip commands vi uv), then pip install . is seen as an external command, which would require allowlist_externals. Instead, install the local project by specifying it as a dep. Then, regular tox and tox-uv both will install it as pip install . or uv pip install ., respectively.


tested with tox 4.16.0, with and without tox-uv-1.9.0 installed.

If a user is using `tox-uv` (a plugin for tox that supports running the
various `pip` commands vi `uv`), then `pip install .` is seen as an
external command, which would require `allowlist_externals`. Instead,
install the local project by specifying it as a dep. Then, regular tox
and tox-uv both will install it as `pip install .` or `uv pip install
.`, respectively.
@jsh9
Copy link
Owner

jsh9 commented Aug 5, 2024

Thank you for making this change!

@jsh9 jsh9 merged commit 1e80fd3 into jsh9:main Aug 5, 2024
@Amar1729 Amar1729 deleted the fix/tox-uv branch August 5, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants