You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uv add --dev places packages in the dependency-groups section of pyproject.toml uv build does not build them into an installable section djadmin[dev]
You have to move/copy them from dependency-groups to [project.optional-dependencies] so that you can get them to install.
This might be as designed or desired but it is definitely puzzling when you try to package things and then they won't install. Hopefully this will help someone else that runs into this.
[project]
name = "djadmin"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"django>=5.1.6",
"django-extensions>=3.2.3",
"django-hint>=0.3.2",
"django-nested-admin>=4.1.1",
"django-stubs-ext>=5.1.3",
"djantic>=0.7.0",
"pgvector>=0.3.6",
"psycopg2-binary>=2.9.10",
]
[project.optional-dependencies]
dev = [
"model-bakery>=1.20.4",
"pyyaml>=6.0.2",
"requests>=2.32.3",
"django-debug-toolbar>=5.0.1",
]
[dependency-groups]
dev = [
"responses>=0.25.7",
]
Platform
mac0S 14.2.1
Version
uv 0.6.6
Python version
No response
The text was updated successfully, but these errors were encountered:
Summary
uv add --dev
places packages in thedependency-groups
section of pyproject.tomluv build
does not build them into an installable sectiondjadmin[dev]
You have to move/copy them from
dependency-groups
to[project.optional-dependencies]
so that you can get them to install.This might be as designed or desired but it is definitely puzzling when you try to package things and then they won't install. Hopefully this will help someone else that runs into this.
Platform
mac0S 14.2.1
Version
uv 0.6.6
Python version
No response
The text was updated successfully, but these errors were encountered: