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
When adding new Python libraries or updating the existing ones, we need to find compatible version. The job will be easier, more reliable if our dependencies are managed by a modern Python package managers like Poetry, PDM, uv. Due to its speed, let's go with uv.
When adopting uv, please also rearrange the depdendency list in pyproject.toml. Currently, the dependencies which are tools for development, not the part of applications, are placed in "dev" feature. It is not correct. They should be placed in "dependency-group".
Update
Please split the dependency groups to these:
doc: For sphinx and other libs required to build docs.
test: For pytest and other tools, libs required to run unittest. Later on, we will add mypy and stubs libraries (like django-stubs) to this group.
lint: For Ruff.
dev: For the rest.
This task is not simply updating pyproject.toml file. We also need to update Docker build script, GH Action to use uv to install Python libs, because pip doesn't understand uv's lock file.
Update
Renamed docs group.
Added dev group.
The text was updated successfully, but these errors were encountered:
When adding new Python libraries or updating the existing ones, we need to find compatible version. The job will be easier, more reliable if our dependencies are managed by a modern Python package managers like Poetry, PDM, uv. Due to its speed, let's go with
uv
.When adopting
uv
, please also rearrange the depdendency list inpyproject.toml
. Currently, the dependencies which are tools for development, not the part of applications, are placed in "dev" feature. It is not correct. They should be placed in "dependency-group".Update
doc
: Forsphinx
and other libs required to build docs.test
: Forpytest
and other tools, libs required to run unittest. Later on, we will addmypy
and stubs libraries (likedjango-stubs
) to this group.lint
: For Ruff.dev
: For the rest.This task is not simply updating pyproject.toml file. We also need to update Docker build script, GH Action to use
uv
to install Python libs, becausepip
doesn't understanduv
's lock file.Update
docs
group.dev
group.The text was updated successfully, but these errors were encountered: