@@ -16,17 +16,17 @@ jobs:
16
16
os : ['ubuntu-latest']
17
17
python-version : ["3.9", "3.10", "3.11"]
18
18
steps :
19
- - uses : actions/checkout@v3
19
+ - uses : actions/checkout@v4
20
20
with :
21
21
fetch-depth : 0
22
- - uses : actions/setup-python@v4
22
+ - uses : actions/setup-python@v5
23
23
with :
24
24
python-version : ${{ matrix.python-version }}
25
25
cache : ' pip'
26
26
- name : Upgrade Python dependencies
27
27
shell : bash
28
28
run : |
29
- python${{ matrix.python-version }} -m pip install --upgrade pip pip-tools
29
+ python${{ matrix.python-version }} -m pip install --upgrade pip pip-tools wheel cython setuptools
30
30
python${{ matrix.python-version }} -m pip install `grep numpy== requirements/${{ matrix.os }}_py${{ matrix.python-version }}_extras.txt`
31
31
python${{ matrix.python-version }} -m piptools compile -q --upgrade --resolver=backtracking -o requirements/${{ matrix.os }}_py${{ matrix.python-version }}.txt pyproject.toml
32
32
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
43
43
git config user.name github-actions
44
44
git config user.email [email protected]
45
45
git add requirements
46
- git commit -m "update dependencies for ${{ matrix.os }}/py${{ matrix.python-version }}"
46
+ git commit --allow-empty - m "update dependencies for ${{ matrix.os }}/py${{ matrix.python-version }}"
47
47
git push -f origin ${{ github.ref_name }}:auto-dependency-upgrades-${{ matrix.os }}-py${{ matrix.python-version }}
48
48
49
49
pull_request :
@@ -54,10 +54,10 @@ jobs:
54
54
matrix :
55
55
python-version : ["3.9"]
56
56
steps :
57
- - uses : actions/checkout@v3
57
+ - uses : actions/checkout@v4
58
58
with :
59
59
fetch-depth : 0
60
- - uses : actions/setup-python@v4
60
+ - uses : actions/setup-python@v5
61
61
with :
62
62
python-version : ${{ matrix.python-version }}
63
63
- name : detect auto-upgrade-dependency branches
0 commit comments