Running uv against this repo emits the following deprecation warning:
warning: The `tool.uv.dev-dependencies` field (used in `bloqade-core/pyproject.toml`, `bloqade-stim/pyproject.toml`) is deprecated and will be removed in a future release; use `dependency-groups.dev` instead
Location
pyproject.toml lines 21–34 currently declare dev deps under [tool.uv]:
[tool.uv]
dev-dependencies = [
"black>=24.10.0",
...
]
Suggested fix
Move the entries into the existing [dependency-groups] table (which already exists in this file for the doc group) under a new dev group. This is the PEP 735 form that uv will keep supporting:
[dependency-groups]
dev = [
"black>=24.10.0",
"coverage>=7.6.4",
"ipython>=8.29.0",
"isort>=5.13.2",
"mypy>=1.13.0",
"numpy>=1.26.4",
"pre-commit>=4.0.1",
"pyright[nodejs]>=1.1.408",
"pytest>=8.3.3",
"ruff>=0.7.3",
"rust-just>=1.36.0",
]
doc = [ ... ]
The [tool.uv] section can then be removed if nothing else is left in it.
Reference: uv docs — dependency-groups.dev migration.
Co-authored by AI assistant.
Running
uvagainst this repo emits the following deprecation warning:Location
pyproject.tomllines 21–34 currently declare dev deps under[tool.uv]:Suggested fix
Move the entries into the existing
[dependency-groups]table (which already exists in this file for thedocgroup) under a newdevgroup. This is the PEP 735 form thatuvwill keep supporting:The
[tool.uv]section can then be removed if nothing else is left in it.Reference: uv docs — dependency-groups.dev migration.
Co-authored by AI assistant.