Skip to content

Commit cff1fdb

Browse files
committed
Remove pip and virtualenv usage
1 parent 3d49bc0 commit cff1fdb

File tree

6 files changed

+7
-25
lines changed

6 files changed

+7
-25
lines changed

.github/workflows/constraints.txt

-2
This file was deleted.

.github/workflows/integration.yml

-5
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ jobs:
2424
python-version: ${{ matrix.python-version }}
2525
cache: "pip"
2626

27-
- name: Upgrade pip
28-
run: |
29-
pip install --constraint=.github/workflows/constraints.txt pip
30-
pip --version
31-
3227
- name: Install UV
3328
uses: astral-sh/setup-uv@v5
3429

.github/workflows/lint.yml

-5
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ jobs:
2424
python-version: ${{ matrix.python-version }}
2525
cache: "pip"
2626

27-
- name: Upgrade pip
28-
run: |
29-
pip install --constraint=.github/workflows/constraints.txt pip
30-
pip --version
31-
3227
- name: Install UV
3328
uses: astral-sh/setup-uv@v5
3429

.github/workflows/release.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,9 @@ jobs:
2525
with:
2626
python-version: "3.13"
2727

28-
- name: Upgrade pip
28+
- name: Install UV dependencies
2929
run: |
30-
pip install --constraint=.github/workflows/constraints.txt pip
31-
pip --version
32-
33-
- name: Install Hatch
34-
run: |
35-
pip install --constraint=.github/workflows/hatch-constraints.txt hatch
36-
hatch --version
30+
uv sync --all-extras --frozen
3731
3832
- name: Install UV
3933
uses: astral-sh/setup-uv@v5

.github/workflows/test.yml

-5
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ jobs:
2929
python-version: ${{ matrix.python-version }}
3030
cache: "pip"
3131

32-
- name: Upgrade pip
33-
run: |
34-
pip install --constraint=.github/workflows/constraints.txt pip
35-
pip --version
36-
3732
- name: Install UV
3833
uses: astral-sh/setup-uv@v5
3934

pyproject.toml

+5
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ palette = {scheme = "isort"}
141141
requires = ["hatchling", "hatch-vcs"]
142142
build-backend = "hatchling.build"
143143

144+
[dependency-groups]
145+
dev = [
146+
"hatch>=1.14.0",
147+
]
148+
144149
[tool.mypy]
145150
python_version = 3.9
146151
strict = true

0 commit comments

Comments
 (0)