Skip to content

Commit

Permalink
Run uv lock under Python 3.9
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nsoranzo committed Nov 5, 2024
1 parent e5635dc commit 84742ee
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84742ee

Please sign in to comment.