Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into fix_phonon
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Sep 3, 2024
2 parents f342ae6 + 053ecf4 commit 7235692
Show file tree
Hide file tree
Showing 7 changed files with 687 additions and 1,162 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/upgrade-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ jobs:
os: ['ubuntu-latest']
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Upgrade Python dependencies
shell: bash
run: |
python${{ matrix.python-version }} -m pip install --upgrade pip pip-tools
python${{ matrix.python-version }} -m pip install --upgrade pip pip-tools wheel cython setuptools
python${{ matrix.python-version }} -m pip install `grep numpy== requirements/${{ matrix.os }}_py${{ matrix.python-version }}_extras.txt`
python${{ matrix.python-version }} -m piptools compile -q --upgrade --resolver=backtracking -o requirements/${{ matrix.os }}_py${{ matrix.python-version }}.txt pyproject.toml
python${{ matrix.python-version }} -m piptools compile -q --upgrade --resolver=backtracking --all-extras -o requirements/${{ matrix.os }}_py${{ matrix.python-version }}_extras.txt pyproject.toml
Expand All @@ -43,7 +43,7 @@ jobs:
git config user.name github-actions
git config user.email github-actions@github.com
git add requirements
git commit -m "update dependencies for ${{ matrix.os }}/py${{ matrix.python-version }}"
git commit --allow-empty -m "update dependencies for ${{ matrix.os }}/py${{ matrix.python-version }}"
git push -f origin ${{ github.ref_name }}:auto-dependency-upgrades-${{ matrix.os }}-py${{ matrix.python-version }}
pull_request:
Expand All @@ -54,10 +54,10 @@ jobs:
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: detect auto-upgrade-dependency branches
Expand Down
Loading

0 comments on commit 7235692

Please sign in to comment.