Skip to content

Commit 3bedfef

Browse files
committed
Merge pull request #726 from staticdev/ci/cleanup-constraints
Cleanup constraints
2 parents ddb4b90 + e33c6b5 commit 3bedfef

File tree

7 files changed

+657
-37
lines changed

7 files changed

+657
-37
lines changed

.github/workflows/constraints.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/hatch-constraints.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/release-dev.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,13 @@ jobs:
1818
with:
1919
python-version: "3.13"
2020

21-
- name: Upgrade pip
22-
run: |
23-
pip install --constraint=.github/workflows/constraints.txt pip
24-
pip --version
25-
26-
- name: Install Hatch
27-
run: |
28-
pip install --constraint=.github/workflows/hatch-constraints.txt hatch
29-
hatch --version
30-
3121
- name: Install UV
3222
uses: astral-sh/setup-uv@v5
3323

24+
- name: Install dependencies
25+
run: |
26+
uv sync --all-extras --frozen
27+
3428
- name: Build package
3529
run: |
3630
uv build

.github/workflows/release.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,13 @@ jobs:
2323
with:
2424
python-version: "3.13"
2525

26-
- name: Upgrade pip
27-
run: |
28-
pip install --constraint=.github/workflows/constraints.txt pip
29-
pip --version
30-
31-
- name: Install Hatch
32-
run: |
33-
pip install --constraint=.github/workflows/hatch-constraints.txt hatch
34-
hatch --version
35-
3626
- name: Install UV
3727
uses: astral-sh/setup-uv@v5
3828

29+
- name: Install dependencies
30+
run: |
31+
uv sync --all-extras --frozen
32+
3933
- name: Build package
4034
run: |
4135
uv build

.github/workflows/tests.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,10 @@ jobs:
3838
with:
3939
python-version: ${{ matrix.python }}
4040

41-
- name: Upgrade pip
42-
run: |
43-
pip install --constraint=.github/workflows/constraints.txt pip
44-
pip --version
45-
4641
- name: Install UV
4742
uses: astral-sh/setup-uv@v5
4843

49-
- name: Install Nox
44+
- name: Install dependencies
5045
run: |
5146
uv sync --all-extras --frozen
5247
@@ -105,11 +100,6 @@ jobs:
105100
with:
106101
python-version: "3.13"
107102

108-
- name: Upgrade pip
109-
run: |
110-
pip install --constraint=.github/workflows/constraints.txt pip
111-
pip --version
112-
113103
- name: Install UV
114104
uses: astral-sh/setup-uv@v5
115105

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ local_scheme = "no-local-version"
2626

2727
[dependency-groups]
2828
dev = [
29+
"hatch>=1.14.0",
2930
"nox>=2024.10.9",
3031
]
3132

uv.lock

Lines changed: 647 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)