Skip to content

Conversation

@brandonchinn178
Copy link
Contributor

@brandonchinn178 brandonchinn178 commented Nov 4, 2025

Fixes #201

This broke in #186. For some reason, uv generates a dev-dependencies section in uv.lock for dependency-groups in pyproject.toml; I guess uv hasn't updated their lock file with the new name. Also updated the test

Validated that the test fails without the uv_translator.py change

@brandonchinn178 brandonchinn178 changed the title Fix for dependency-gruops Fix for dependency-groups Nov 4, 2025
@brandonchinn178 brandonchinn178 changed the title Fix for dependency-groups Fix dependency-groups in uv_translator Nov 4, 2025
@brandonchinn178 brandonchinn178 force-pushed the bchinn-deps branch 3 times, most recently from 2b6ce3c to c0b6e8e Compare November 5, 2025 00:49
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uv 0.4.27 was the only version that generated a lock file with package.dependency-groups: astral-sh/uv#8599

I think it's fine to drop support for that one version; people with a 0.4.27 lock file can just regenerate

@brandonchinn178
Copy link
Contributor Author

@jvolkman This should be good to go. The lock file changes are only because they were generated with specifically uv 0.4.27. Any other uv version will generate the new lock files, so I don't think it's worthwhile adding backwards compat logic

Copy link
Owner

@jvolkman jvolkman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

common --announce_rc
common --color=yes
common --enable_bzlmod=${{ matrix.bzlmodEnabled }}
test --test_output=errors
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

@jvolkman jvolkman merged commit 1513617 into jvolkman:main Nov 6, 2025
67 checks passed
@keith
Copy link
Contributor

keith commented Nov 6, 2025

thanks!

@brandonchinn178 brandonchinn178 deleted the bchinn-deps branch November 6, 2025 21:19
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.

Exception: Non-existent development dependency group with uv

3 participants