Skip to content

Commit f78dc27

Browse files
committed
Update supported Python versions
* Drop support for Python 3.8 and 3.9. * Add support for Python 3.9 and 3.10.
1 parent db89fbe commit f78dc27

4 files changed

Lines changed: 44 additions & 36 deletions

File tree

.github/workflows/test-and-lint.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,34 @@ name: Test and lint
33
on: [push]
44

55
jobs:
6-
build:
7-
runs-on: ubuntu-latest
8-
strategy:
9-
matrix:
10-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
11-
fail-fast: false
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
11+
fail-fast: false
1212

13-
steps:
14-
- uses: actions/checkout@v5
15-
- name: Set up Python ${{ matrix.python-version }}
16-
uses: actions/setup-python@v6
17-
with:
18-
python-version: ${{ matrix.python-version }}
19-
cache: "pip"
20-
cache-dependency-path: "**/poetry.lock"
21-
- name: Install poetry
22-
run: pip --disable-pip-version-check install -U poetry
23-
- name: Install Python packages
24-
run: poetry install
25-
- name: Lint with ruff
26-
run: |
27-
poetry run ruff --version
28-
poetry run poe lint --output-format=full
29-
- name: Type checking with mypy
30-
run: |
31-
poetry run mypy --version
32-
poetry run poe typecheck
33-
- name: Test with unittest
34-
run: poetry run poe test
35-
- name: Run doctests
36-
run: poetry run poe doctest
13+
steps:
14+
- uses: actions/checkout@v5
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v6
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
cache: "pip"
20+
cache-dependency-path: "**/poetry.lock"
21+
- name: Install poetry
22+
run: pip --disable-pip-version-check install -U poetry
23+
- name: Install Python packages
24+
run: poetry install
25+
- name: Lint with ruff
26+
run: |
27+
poetry run ruff --version
28+
poetry run poe lint --output-format=full
29+
- name: Type checking with mypy
30+
run: |
31+
poetry run mypy --version
32+
poetry run poe typecheck
33+
- name: Test with unittest
34+
run: poetry run poe test
35+
- name: Run doctests
36+
run: poetry run poe doctest

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ python-asserts adheres to [semantic versioning](https://semver.org/).
44

55
## UNRELEASED –
66

7+
### Added
8+
9+
- Add support for Python 3.13 and 3.14.
10+
11+
### Removed
12+
13+
- Drop support for Python 3.8 and 3.9.
14+
715
## [0.13.1] – 2024-04-29
816

917
### Fixed

poetry.lock

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

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "asserts"
3-
version = "0.13.2.dev0"
3+
version = "0.14.0.dev0"
44
description = "Stand-alone Assertions"
55
readme = "README.md"
66
authors = [{ name = "Sebastian Rittau", email = "sebastian.rittau@zfutura.de" }]
@@ -11,7 +11,7 @@ classifiers = [
1111
"Topic :: Software Development :: Quality Assurance",
1212
"Topic :: Software Development :: Testing",
1313
]
14-
requires-python = ">= 3.8.1"
14+
requires-python = ">= 3.10"
1515
dependencies = ["typing-extensions >= 4.10.0, < 5"]
1616

1717
[project.urls]
@@ -34,7 +34,7 @@ include = ["*/py.typed", "*.pyi"]
3434

3535
[tool.ruff]
3636
line-length = 79
37-
target-version = "py38"
37+
target-version = "py310"
3838

3939
[tool.poe.tasks]
4040
test = "python3 -Wall -m unittest test_asserts"

0 commit comments

Comments
 (0)