Skip to content

Commit 04d47a4

Browse files
committed
Bumping python versions in GitHub workflows and pyproject.toml
* Updated the requires-python field in pyproject.toml to ['3.13'] * Updated the python-version in .github/workflows/main.yml
1 parent cae789d commit 04d47a4

File tree

2 files changed

+25
-26
lines changed

2 files changed

+25
-26
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,31 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9"]
13+
python-version: ["3.9", "3.10", "3.11", "3.12", "pypy3.9", '3.13']
1414
os: ["ubuntu-latest"]
1515
steps:
16-
- uses: actions/checkout@v4
17-
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v5
19-
with:
20-
python-version: ${{ matrix.python-version }}
21-
- name: Install Deps
22-
run: sudo apt-get install check libcppunit-dev
23-
- name: Install package
24-
run: |
25-
python -m pip install ruff
26-
python -m pip install -U '.[test,docs]'
27-
- name: Build
28-
run: autoreconf -fi && ./configure && make
29-
- name: Run ruff check
30-
run: ruff check python
31-
- name: Format
32-
run: |
33-
python -m ruff format --check .
34-
- name: Run make check
35-
run: make check
36-
- name: Run make distcheck
37-
run: make distcheck
16+
- uses: actions/checkout@v4
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- name: Install Deps
22+
run: sudo apt-get install check libcppunit-dev
23+
- name: Install package
24+
run: |
25+
python -m pip install ruff
26+
python -m pip install -U '.[test,docs]'
27+
- name: Build
28+
run: autoreconf -fi && ./configure && make
29+
- name: Run ruff check
30+
run: ruff check python
31+
- name: Format
32+
run: |
33+
python -m ruff format --check .
34+
- name: Run make check
35+
run: make check
36+
- name: Run make distcheck
37+
run: make distcheck
3838
# Disabled; needs a tuit or two
3939
# - name: Docs build
4040
# run: md2html.py README.md README.html

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ authors = [
1212
classifiers = [
1313
"Intended Audience :: Developers",
1414
"Operating System :: OS Independent",
15-
"Programming Language :: Python :: 3",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
19-
"Programming Language :: Python :: 3.8",
2018
"Programming Language :: Python :: 3.9",
19+
"Programming Language :: Python :: 3.13",
2120
"Programming Language :: Python",
2221
"Topic :: Software Development :: Testing",
2322
]
@@ -28,7 +27,7 @@ keywords = ["python", "streaming", "test"]
2827
license = { text = "Apache-2.0 or BSD" }
2928
name = "python-subunit"
3029
readme = "README.md"
31-
requires-python = ">=3.8"
30+
requires-python = ">=3.9"
3231

3332
[project.urls]
3433
"Bug Tracker" = "https://bugs.launchpad.net/subunit"

0 commit comments

Comments
 (0)