-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Issue
In certain cases, this plugin will generate an install command that does not work with uv workspaces.
❯ tox -e lower
ROOT: will run in automatically provisioned tox, host /Users/ssbarnea/.venv/bin/python3 is missing [requires (has)]: tox-extra>=2.1
ROOT: provision> .tox/.tox/bin/python -m tox -e lower
lower: install_dependency-groups> .tox/.tox/bin/uv pip install build==1.3.0 diskcache==5.2.1 gitpython==3.1.45 packaging==25 pip==24.3.1 pluggy==1.6.0 pyyaml==5.1 rich==12.0.0 setuptools shellingham==1.5.4 subprocess-tee==0.4.2 'tomli>=2.0.1; python_version < "3.11"' twine==6.1.0 typer-config==1.4.2 typer==0.16.0
.pkg: _optional_hooks> python /Users/ssbarnea/code/os/mk/.tox/.tox/lib/python3.13/site-packages/pyproject_api/_backend.py True setuptools.build_meta
.pkg: get_requires_for_build_editable> python /Users/ssbarnea/code/os/mk/.tox/.tox/lib/python3.13/site-packages/pyproject_api/_backend.py True setuptools.build_meta
.pkg: build_editable> python /Users/ssbarnea/code/os/mk/.tox/.tox/lib/python3.13/site-packages/pyproject_api/_backend.py True setuptools.build_meta
lower: install_package_deps> .tox/.tox/bin/uv pip install 'build>=1.2.2' 'diskcache>=5.2.1' 'gitpython>=3.1.26' mk-pre 'packaging>=22' 'pip>=21.0.1' 'pluggy>=1.5.0' 'pyyaml>=5.1' 'rich>=10.11.0' setuptools 'shellingham>=1.5.4' 'subprocess-tee>=0.4.1' 'tomli>=2.0.1; python_full_version < "3.11"' 'twine>=3.4.1' 'typer>=0.16.0'
Using Python 3.13.5 environment at: .tox/lower
× No solution found when resolving dependencies:
╰─▶ Because mk-pre was not found in the package registry and you require mk-pre, we can conclude that your requirements are unsatisfiable.
lower: exit 1 (0.19 seconds) /Users/ssbarnea/code/os/mk> .tox/.tox/bin/uv pip install 'build>=1.2.2' 'diskcache>=5.2.1' 'gitpython>=3.1.26' mk-pre 'packaging>=22' 'pip>=21.0.1' 'pluggy>=1.5.0' 'pyyaml>=5.1' 'rich>=10.11.0' setuptools 'shellingham>=1.5.4' 'subprocess-tee>=0.4.1' 'tomli>=2.0.1; python_full_version < "3.11"' 'twine>=3.4.1' 'typer>=0.16.0' pid=47960
lower: FAIL code 1 (1.06 seconds)
Environment
Found while working on pycontribs/mk#319 where the "lower" constraints job failed due to "mk-pre" (sub-package) was included in the installation command, which did prevent uv from using workspace resolution for it.
Minimal example
Note: I am investigating it and will update the issue based on what I find.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working