From 84742ee1412832115ebfd0a915a0bbe4cdc06387 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Tue, 5 Nov 2024 23:44:04 +0000 Subject: [PATCH] Run ``uv lock`` under Python 3.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix: ``` Using CPython 3.8.18 interpreter at: /opt/hostedtoolcache/Python/3.8.18/x64/bin/python × No solution found when resolving dependencies for split │ (python_full_version == '3.9.*'): ╰─▶ Because only the following versions of rucio-clients{python_full_version >= '3.9'} are available: rucio-clients{python_full_version >= '3.9'}<=33.6.1 rucio-clients{python_full_version >= '3.9'}>=34.0.0,<=34.6.0 rucio-clients{python_full_version >= '3.9'}>=35.0.0 and all of: rucio-clients{python_full_version >= '3.9'}>=33.6.0,<=33.6.1 rucio-clients{python_full_version >= '3.9'}>=34.0.0,<=34.6.0 rucio-clients{python_full_version >= '3.9'}>=35.0.0 require Python >=3.9, <4, we can conclude that all of: rucio-clients{python_full_version >= '3.9'}>=33.6.0,<33.6.1 ... rucio-clients{python_full_version >= '3.9'}>35.4.1,<35.5.0 rucio-clients{python_full_version >= '3.9'}>35.5.0 are incompatible. And because galaxy:dev depends on rucio-clients{python_full_version >= '3.9'}>=33.6.0 and your project depends on galaxy:dev, we can conclude that your project's requirements are unsatisfiable. hint: The source distribution for rucio-clients{python_full_version >= '3.9'}==35.5.0 does not include static metadata. Generating metadata for this package requires Python >=3.9, <4, but Python 3.8.18 is installed. ``` See https://github.com/galaxyproject/galaxy/actions/runs/11684632042/job/32536277008 --- .github/workflows/dependencies.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dependencies.yaml b/.github/workflows/dependencies.yaml index 7f3e60d54774..2401107eb325 100644 --- a/.github/workflows/dependencies.yaml +++ b/.github/workflows/dependencies.yaml @@ -8,14 +8,15 @@ jobs: name: Update dependencies if: github.repository_owner == 'galaxyproject' runs-on: ubuntu-latest - strategy: - matrix: - python-version: ['3.8'] steps: - uses: actions/checkout@v4 + # Install Python 3.8 for update_lint_requirements.sh + # Install Python 3.9 (as default) to allow `uv lock` to generate metadata for rucio-clients - uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: | + 3.8 + 3.9 - name: Update dependencies run: make update-dependencies - name: Create pull request