Skip to content

🐛 fix(installer): match workspace sources by normalized name - #417

Merged
gaborbernat merged 2 commits into
tox-dev:mainfrom
qodelicious:fix-workspace-source-name-normalize
Nov 6, 2026
Merged

gaborbernat merged 2 commits into
tox-dev:mainfrom
qodelicious:fix-workspace-source-name-normalize

Conversation

@qodelicious

@qodelicious qodelicious commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

When a dependency name and its tool.uv.sources key differed in case or separators, tox-uv sent the workspace package to the index. Matching those names now installs it from the workspace.

The installer normalizes source keys and package requirements before comparing them, then directs matches to the workspace installation path.

@gaborbernat gaborbernat added the bug Something isn't working label Nov 6, 2026
@gaborbernat
gaborbernat merged commit 7930909 into tox-dev:main Nov 6, 2026
24 checks passed
centosinfra-prod-github-app Bot pushed a commit to ansible-collections/amazon.aws that referenced this pull request Nov 18, 2026
Bumps the uv-deps group with 2 updates: tox-uv-bare and tox-ansible.
Updates tox-uv-bare from 1.36.0 to 1.37.7

Release notes
Sourced from tox-uv-bare's releases.

1.37.7

Bug fixes


With uv_resolution and dependency_groups both set, deps lines are now kept as written when combined with the groups, so a -r/-c file, an option or a comment no longer crashes tox with an invalid requirement error.
Environments with an older dependency cache are recreated once on upgrade (#424) by @​qodelicious and @​gaborbernat.


package = uv and package = uv-editable now install the project from package_root (setupdir) instead of the tox root (#425) by @​qodelicious and @​gaborbernat.


🐍 PyPI: tox-uv
PyPI: tox-uv-bare
📜 Full Changelog
1.37.6

Bug fixes

A package dependency that names a uv workspace member is now matched against tool.uv.sources by its normalized name, so Demo_Foo and demo-foo count as the same member instead of being sent to the index (#417) by @​qodelicious and @​gaborbernat.
Point {env_site_packages_dir} at lib/python3.13t/site-packages for free-threaded environments, instead of a lib/python3.13/site-packages directory that does not exist (#416) by @​qodelicious and @​gaborbernat.
Preserve debug and free-threaded flags when selecting Python for a tox environment. Changing either flag recreates the environment, so py313d and py313td do not reuse an interpreter with different build options (#420) by @​gaborbernat.
Recreate the environment when system_site_packages changes. uv venv --system-site-packages only applies while the environment is being created, so flipping the setting left the old pyvenv.cfg in place and the change had no effect (#418) by @​abhishekcpp007 and @​gaborbernat.

New Contributors

@​qodelicious made their first contribution in tox-dev/tox-uv#417
@​abhishekcpp007 made their first contribution in tox-dev/tox-uv#418

🐍 PyPI: tox-uv
PyPI: tox-uv-bare
📜 Full Changelog
1.37.5
🐍 PyPI: tox-uv
PyPI: tox-uv-bare
📜 Full Changelog
1.37.4

Bug fixes


... (truncated)


Changelog
Sourced from tox-uv-bare's changelog.

1.37.7 (2026-11-07)

Fixed


With uv_resolution and dependency_groups both set, deps lines are now kept as written when combined with the
groups, so a -r/-c file, an option or a comment no longer crashes tox with an invalid requirement error.
Environments with an older dependency cache are recreated once on upgrade
(#424) by @​qodelicious and
@​gaborbernat.


package = uv and package = uv-editable now install the project from package_root (setupdir) instead of the tox
root (#425) by @​qodelicious and
@​gaborbernat.



1.37.6 (2026-11-06)

Fixed

A package dependency that names a uv workspace member is now matched against tool.uv.sources by its normalized name,
so Demo_Foo and demo-foo count as the same member instead of being sent to the index
(#417) by @​qodelicious and
@​gaborbernat.
Point {env_site_packages_dir} at lib/python3.13t/site-packages for free-threaded environments, instead of a
lib/python3.13/site-packages directory that does not exist (#416) by
@​qodelicious and @​gaborbernat.
Preserve debug and free-threaded flags when selecting Python for a tox environment. Changing either flag recreates the
environment, so py313d and py313td do not reuse an interpreter with different build options
(#420) by @​gaborbernat.
Recreate the environment when system_site_packages changes. uv venv --system-site-packages only applies while the
environment is being created, so flipping the setting left the old pyvenv.cfg in place and the change had no effect
(#418) by @​abhishekcpp007 and
@​gaborbernat.


1.37.5 (2026-11-04)

1.37.4 (2026-11-03)



... (truncated)


Commits

efb3999 release 1.37.7
0af7c3b 🐛 fix(runner): preserve deps syntax with dependency groups (#424)
0d3a231 🐛 fix(package): install uv packages from package_root (#425)
d513c2f 🔧 build(lint): adopt simplint 0.7.1 (#427)
37a229e 🧹 ci: pin shared workflows to 6.7.2 (#426)
c5624d6 🧹 ci: pin shared workflows to 6.7.1 (#423)
8244581 👷 ci: run every hook under the cooldown (#422)
3c3714f release 1.37.6
f8e900d ⚡ ci: install only the changelog hook when preparing (#421)
9530aeb 🐛 fix(venv): honor debug Python variants (#420)
Additional commits viewable in compare view



Updates tox-ansible from 26.9.0 to 26.11.0

Release notes
Sourced from tox-ansible's releases.

v26.11.0
What's Changed

fix(security): update dependencies [SECURITY] by @​renovate[bot] in ansible/tox-ansible#610
fix(security): clear Dependabot uv.lock advisories and CodeQL smoke checkout by @​sudhirverma in ansible/tox-ansible#611

Full Changelog: ansible/tox-ansible@v26.10.0...v26.11.0
v26.10.0
What's Changed

feat(impact_file): add scope-file interface for content-plugin-finder ImpactReport by @​shvenkat-rh in ansible/tox-ansible#607

Full Changelog: ansible/tox-ansible@v26.9.0...v26.10.0



Commits

df46f6e fix(security): clear Dependabot uv.lock advisories and CodeQL smoke checkout ...
58fd690 fix(security): update dependencies [SECURITY] (#610)
1805ac6 feat(impact_file): add scope-file interface for content-plugin-finder ImpactR...
See full diff in compare view



Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
@dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
@dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
@dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
@dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Reviewed-by: Alina Buzachis
Reviewed-by: Rahmanim Benny <brahmani@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants