Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dependency-groups in uv 0.4.27 once more broadly available #242

Open
alexpovel opened this issue Oct 27, 2024 · 0 comments
Open

Use dependency-groups in uv 0.4.27 once more broadly available #242

alexpovel opened this issue Oct 27, 2024 · 0 comments

Comments

@alexpovel
Copy link
Owner

alexpovel commented Oct 27, 2024

Just discovered: I refactored to use uv just days ago, and used

ancv/pyproject.toml

Lines 53 to 67 in e60f5f5

[tool.uv]
dev-dependencies = [
"datamodel-code-generator[http]>=0.26.2",
"ipython>=8.28.0",
"mypy>=1.13.0",
"pydeps>=2.0.1",
"pytest-aiohttp>=1.0.5",
"pytest-cov>=5.0.0",
"pytest-asyncio>=0.24.0",
"pytest-rerunfailures>=14.0",
"pytest>=8.3.3",
"requests>=2.32.3",
"types-babel>=2.11.0.15",
"types-cachetools>=5.5.0.20240820",
]

which is already outdated practice...:

https://github.com/astral-sh/uv/releases/tag/0.4.27

aka PEP 735 will allow this to be expressed natively and standards-based, which is fantastic:

[dependency-groups]
dev = [
  "pytest >=8.1.1,<9"
]

etc.

But 0.4.27 isn't packaged for devbox/nix yet, so can't and don't want to rely on that just yet.

Originally posted by @alexpovel in #241 (comment)

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

No branches or pull requests

1 participant