Skip to content

Commit

Permalink
Remove pip and virtualenv usage
Browse files Browse the repository at this point in the history
  • Loading branch information
staticdev committed Jan 26, 2025
1 parent 3d49bc0 commit 0225875
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 26 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/constraints.txt

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/hatch-constraints.txt

This file was deleted.

5 changes: 0 additions & 5 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: "pip"

- name: Upgrade pip
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip --version
- name: Install UV
uses: astral-sh/setup-uv@v5

Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: "pip"

- name: Upgrade pip
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip --version
- name: Install UV
uses: astral-sh/setup-uv@v5

Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,9 @@ jobs:
with:
python-version: "3.13"

- name: Upgrade pip
- name: Install dependencies
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip --version
- name: Install Hatch
run: |
pip install --constraint=.github/workflows/hatch-constraints.txt hatch
hatch --version
uv sync --all-extras --frozen
- name: Install UV
uses: astral-sh/setup-uv@v5
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: "pip"

- name: Upgrade pip
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip --version
- name: Install UV
uses: astral-sh/setup-uv@v5

Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ palette = {scheme = "isort"}
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[dependency-groups]
dev = [
"hatch>=1.14.0",
]

[tool.mypy]
python_version = 3.9
strict = true
Expand Down

0 comments on commit 0225875

Please sign in to comment.