Skip to content

Commit 6a51c11

Browse files
committed
check support for python 3.9
1 parent 68ce2b1 commit 6a51c11

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.github/workflows/linting.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,20 @@ jobs:
3535
- name: Install the latest version of uv
3636
uses: astral-sh/setup-uv@v5
3737
with:
38+
python-version: ${{ matrix.python-version }}
3839
version: "latest"
3940

4041
- name: Set up Python ${{ matrix.python-version }}
4142
run: uv python install ${{ matrix.python-version }}
4243

4344
- name: Install the project
44-
run: uv sync --all-extras --dev
45+
run: uv sync --all-groups
4546

46-
- name: Ruff check
47-
run: uv run ruff check src tests
47+
- name: Pre-commit
48+
run: uv run pre-commit run --all-files
49+
50+
# - name: Ruff check
51+
# run: uv run ruff check src tests
4852

4953
# - name: Pylint
5054
# run: uv run pylint src

.github/workflows/testing.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ env:
55
# https://github.com/pytest-dev/pytest/issues/7443
66
# https://github.com/actions/runner/issues/241
77
PY_COLORS: 1
8-
POETRY_VERSION: "1.8.4"
98

109
on:
1110
pull_request:
@@ -58,14 +57,14 @@ jobs:
5857
- name: Install the latest version of uv
5958
uses: astral-sh/setup-uv@v5
6059
with:
61-
version: "latest"
6260
python-version: ${{ matrix.python-version }}
61+
version: "latest"
6362

6463
- name: Set up Python ${{ matrix.python-version }}
6564
run: uv python install ${{ matrix.python-version }}
6665

6766
- name: Install the project
68-
run: uv sync --all-extras --dev
67+
run: uv sync --all-groups
6968

7069
- name: Run tests
7170
run: uv run pytest tests --cov=src --cov-report html --cov-report xml --cov-report term -v

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ build-backend = "hatchling.build"
2121
[project]
2222
name = "httpclient_logging"
2323
version = "1.1"
24-
requires-python = ">=3.10"
24+
requires-python = ">=3.9"
2525
description = " python-package"
2626
readme = "docs/readme.md"
2727
# license = "MIT"

0 commit comments

Comments
 (0)