mirror of
https://github.com/suitenumerique/drive.git
synced 2026-09-30 13:35:14 +02:00
♻️(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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user