Skip to content

build(pyproject.toml): migrate dependency management to uv - #359

Draft
karrukola wants to merge 1 commit into
lgirdk:masterfrom
karrukola:migrate-to-uv
Draft

build(pyproject.toml): migrate dependency management to uv#359
karrukola wants to merge 1 commit into
lgirdk:masterfrom
karrukola:migrate-to-uv

Conversation

@karrukola

Copy link
Copy Markdown
Collaborator

Use setuptools_scm as build tool; moved to src layout dev, doc and test are now dependency groups (see PEP 735) setuptools_scm calculates the version based on the git tag, i.e. if you make a tag and then you build a wheel then it would have the tag as version.

Project dependency management changed to uv; see commands in .envrc file.
Minimum version of the depencies has been pinned, to reduce the graph resolution complexity.
The graph's lockfile is uv.lock.

To make the wheel package uv build is now sufficient.

Added https://direnv.net support via .envrc file; dependencies are synced to the virtual environment on cd.

nox sessions updated to use uv, to speed up their setup phase.

Use setuptools_scm as build tool; moved to src layout
dev, doc and test are now dependency groups (see PEP 735)
setuptools_scm calculates the version based on the git tag,
i.e. if you make a tag and then you build a wheel then it
would have the tag as version.

Project dependency management changed to uv; see commands
in .envrc file.
Minimum version of the depencies has been pinned, to reduce
the graph resolution complexity.
The graph's lockfile is uv.lock.

To make the wheel package uv build is now sufficient.

Added https://direnv.net support via .envrc file; dependencies
are synced to the virtual environment on cd.

nox sessions updated to use uv, to speed up their setup phase.

Signed-off-by: Filippo Carra <filippo.carra@gmail.com>
@karrukola
karrukola changed the base branch from boardfarm3 to master September 22, 2025 10:03
@karrukola

karrukola commented Sep 22, 2025

Copy link
Copy Markdown
Collaborator Author

I am breaking down this change in a number of smaller bits:

@karrukola
karrukola marked this pull request as draft September 22, 2025 11:50
@ketantewari

Copy link
Copy Markdown
Collaborator

The src refactor seems to have gone wrong. Check comments on PR-361

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants