diff --git a/.github/workflows/deps.yml b/.github/workflows/deps.yml index 40f4312d0..0b08350f0 100644 --- a/.github/workflows/deps.yml +++ b/.github/workflows/deps.yml @@ -33,9 +33,9 @@ jobs: - run: pip install pip-compile-multi - run: | - ls backend/requirements/*.in | cut -d'/' -f3 | rev | cut -d. -f2 | rev | \ - xargs -I{} mv backend/requirements/{}.in backend/requirements/{}.${{ matrix.python-version }}.in - pip-compile-multi -d backend/requirements --backtracking --autoresolve --allow-unsafe + mkdir -p backend/requirements/${{ matrix.python-version }} + ls backend/requirements/*.in | cut -d'/' -f3 | rev | cut -d. -f2 | rev | xargs -I{} cp backend/requirements/{}.in backend/requirements/${{ matrix.python-version }}/{}.in + pip-compile-multi -d backend/requirements/${{ matrix.python-version }} --backtracking --autoresolve --allow-unsafe - uses: peter-evans/create-pull-request@v6 with: @@ -53,7 +53,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r backend/requirements/prod.${{ matrix.python-version }}.txt + pip install -r backend/requirements/${{ matrix.python-version }}/prod.txt # Frontend (VueJS) diff --git a/backend/requirements/base.in b/backend/requirements/base.in index cdd5a2cc9..4f3c0e901 100644 --- a/backend/requirements/base.in +++ b/backend/requirements/base.in @@ -16,7 +16,7 @@ xlwt fpdf2 numpy pandas -distutils ; python_version > "3.10" # deprecated since, and removed on Py 3.12 +distutils #; python_version > "3.10" # deprecated since, and removed on Py 3.12 #bioblend # metadata_exporter unused app openpyxl python-docx