File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 - ' .github/workflows/build.yml'
88 - ' src/**'
99 - ' Makefile'
10+ - ' pyproject.toml'
11+ - ' uv.lock'
1012 pull_request :
1113 branches : [ "main", "release"]
1214 paths :
1315 - ' .github/workflows/build.yml'
1416 - ' src/**'
1517 - ' Makefile'
18+ - ' pyproject.toml'
19+ - ' uv.lock'
1620
1721jobs :
1822 test_build :
@@ -24,10 +28,12 @@ jobs:
2428
2529 steps :
2630 - uses : actions/checkout@v6
27- - name : Set up Python ${{ matrix.python-version }}
28- uses : actions /setup-python@v6
31+ - name : Set up uv
32+ uses : astral-sh /setup-uv@v5
2933 with :
30- python-version : ${{ matrix.python-version }}
34+ enable-cache : true
35+ - name : Set up Python ${{ matrix.python-version }}
36+ run : uv python install ${{ matrix.python-version }}
3137
3238 - name : Local build checking
3339 run : make build
Original file line number Diff line number Diff line change @@ -15,13 +15,12 @@ jobs:
1515
1616 steps :
1717 - uses : actions/checkout@v6
18- - name : Set up Python 3.11
19- uses : actions /setup-python@v6
18+ - name : Set up uv
19+ uses : astral-sh /setup-uv@v5
2020 with :
21- python-version : 3.11.6
22-
23- - name : Build docs requirements
24- run : pip install -r docs/requirements.txt
21+ enable-cache : true
22+ - name : Set up Python 3.11
23+ run : uv python install 3.11
2524
2625 - name : Build docs
2726 run : make doc
Original file line number Diff line number Diff line change 77 - ' .github/workflows/install.yml'
88 - ' src/**'
99 - ' Makefile'
10+ - ' pyproject.toml'
11+ - ' uv.lock'
1012 pull_request :
1113 branches : [ "main", "release"]
1214 paths :
1315 - ' .github/workflows/install.yml'
1416 - ' src/**'
1517 - ' Makefile'
18+ - ' pyproject.toml'
19+ - ' uv.lock'
1620
1721jobs :
1822 install :
@@ -24,13 +28,15 @@ jobs:
2428
2529 steps :
2630 - uses : actions/checkout@v6
27- - name : Set up Python ${{ matrix.python-version }}
28- uses : actions /setup-python@v6
31+ - name : Set up uv
32+ uses : astral-sh /setup-uv@v5
2933 with :
30- python-version : ${{ matrix.python-version }}
34+ enable-cache : true
35+ - name : Set up Python ${{ matrix.python-version }}
36+ run : uv python install ${{ matrix.python-version }}
3137
3238 - name : Local install checking
3339 run : make install
3440
3541 - name : PYPI install checking
36- run : pip3 install python3-capsolver
42+ run : uv pip install python3-capsolver
Original file line number Diff line number Diff line change 77 - ' .github/workflows/lint.yml'
88 - ' src/**'
99 - ' Makefile'
10- - ' requirements.style.txt'
10+ - ' pyproject.toml'
11+ - ' uv.lock'
1112 pull_request :
1213 branches : [ "main", "release"]
1314 paths :
1415 - ' .github/workflows/lint.yml'
1516 - ' src/**'
1617 - ' Makefile'
17- - ' requirements.style.txt'
18+ - ' pyproject.toml'
19+ - ' uv.lock'
1820
1921jobs :
2022 lint :
@@ -28,15 +30,12 @@ jobs:
2830
2931 steps :
3032 - uses : actions/checkout@v6
31- - name : Set up Python ${{ matrix.python-version }}
32- uses : actions /setup-python@v6
33+ - name : Set up uv
34+ uses : astral-sh /setup-uv@v5
3335 with :
34- python-version : ${{ matrix.python-version }}
35-
36- - name : Install dependencies
37- run : |
38- pip3 install --upgrade pip
39- pip3 install -r requirements.style.txt
36+ enable-cache : true
37+ - name : Set up Python ${{ matrix.python-version }}
38+ run : uv python install ${{ matrix.python-version }}
4039
4140 - name : Lint
4241 run : make lint
Original file line number Diff line number Diff line change @@ -15,13 +15,12 @@ jobs:
1515
1616 steps :
1717 - uses : actions/checkout@v6
18- - name : Set up Python 3.11
19- uses : actions /setup-python@v6
18+ - name : Set up uv
19+ uses : astral-sh /setup-uv@v5
2020 with :
21- python-version : 3.11.6
22-
23- - name : Build docs requirements
24- run : pip install -r docs/requirements.txt
21+ enable-cache : true
22+ - name : Set up Python 3.11
23+ run : uv python install 3.11
2524
2625 - name : Build docs
2726 run : make doc
Original file line number Diff line number Diff line change 88 - ' src/**'
99 - ' tests/**'
1010 - ' Makefile'
11- - ' requirements.test.txt'
11+ - ' pyproject.toml'
12+ - ' uv.lock'
1213 pull_request :
1314 branches : [ "main", "release"]
1415 paths :
1516 - ' .github/workflows/test.yml'
1617 - ' src/**'
1718 - ' Makefile'
18- - ' requirements.test.txt'
19+ - ' pyproject.toml'
20+ - ' uv.lock'
1921 schedule :
2022 - cron : " 5 0 * * 1"
2123
@@ -31,15 +33,12 @@ jobs:
3133
3234 steps :
3335 - uses : actions/checkout@v6
34- - name : Set up Python ${{ matrix.python-version }}
35- uses : actions /setup-python@v6
36+ - name : Set up uv
37+ uses : astral-sh /setup-uv@v5
3638 with :
37- python-version : ${{ matrix.python-version }}
38-
39- - name : Install dependencies
40- run : |
41- pip install --upgrade pip
42- pip install -U -r requirements.test.txt
39+ enable-cache : true
40+ - name : Set up Python ${{ matrix.python-version }}
41+ run : uv python install ${{ matrix.python-version }}
4342
4443 - name : Test
4544 run : make tests
Original file line number Diff line number Diff line change 1- __version__ = "1.1.1 "
1+ __version__ = "1.2.0 "
You can’t perform that action at this time.
0 commit comments