♻️(backend) migrate from setuptool to uv_build as build backend

Recently a CVE present in a dependency of setuptool is blocking our CI.
The CVE is fixed, a new release of the dependency (jaraco.context) is
made but the setuptool project is not updating it. We already migrate
from pip to uv to manage our dependencies. We can also migrate the build
backend from setuptool to uv_build.
In the pyproject file, the readme property has been removed, because
uv_build try to read it, but the readme is at the root of the project
and not copied into the Dockerfile instructions. This readme can be used
when the package is published on pypi but it is not the case for Drive.
This commit is contained in:
Manuel Raynaud
2026-01-20 18:53:06 +01:00
parent 7beaa1fb36
commit 84e7dba52e
3 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ jobs:
with:
python-version: "3.13.9"
cache: 'pip'
- name: Upgrade pip and setuptools
run: pip install --upgrade pip setuptools
- name: Upgrade pip
run: pip install --upgrade pip
- name: Install development dependencies
run: pip install --user .
working-directory: src/backend