Skip to content

Commit e5b311f

Browse files
authored
Merge pull request #47 from twisted/new-version-2026
upgrade versions of things to correspond with the modern day
2 parents 67654e1 + 2337c9a commit e5b311f

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ defaults:
3434

3535
env:
3636
# The default values in the job generated by the matrix.
37-
DEFAULT_PYTHON_VERSION: '3.11'
37+
DEFAULT_PYTHON_VERSION: '3.13'
3838

3939
jobs:
4040
testing:
@@ -44,7 +44,7 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
matrix:
47-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
47+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
4848

4949
steps:
5050
- uses: actions/checkout@v3
@@ -67,15 +67,15 @@ jobs:
6767

6868
- name: Test code
6969
run: |
70-
coverage run -m twisted.trial constantly
71-
mv .coverage .coverage.${{ matrix.python-version }}
70+
coverage run -p -m twisted.trial constantly
7271
7372
- name: Upload coverage data
74-
uses: actions/upload-artifact@v3
73+
uses: actions/upload-artifact@v7
7574
with:
7675
name: coverage-data
7776
path: .coverage.*
7877
if-no-files-found: error # 'warn' or 'ignore' are also available.
78+
include-hidden-files: true
7979

8080

8181
coverage:
@@ -88,11 +88,11 @@ jobs:
8888
- uses: actions/setup-python@v4
8989
with:
9090
# Use latest Python, so it understands all syntax.
91-
python-version: 3.11
91+
python-version: 3.14
9292

9393
- run: python -Im pip install --upgrade coverage[toml]
9494

95-
- uses: actions/download-artifact@v3
95+
- uses: actions/download-artifact@v8
9696
with:
9797
name: coverage-data
9898

@@ -134,7 +134,7 @@ jobs:
134134
135135
apidocs:
136136
name: API docs build
137-
runs-on: ubuntu-22.04
137+
runs-on: ubuntu-24.04
138138
steps:
139139
- uses: actions/checkout@v3
140140
- name: Set up Python

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ classifiers = [
1010
"Programming Language :: Python",
1111
"Programming Language :: Python :: 3",
1212
"Programming Language :: Python :: 3 :: Only",
13-
"Programming Language :: Python :: 3.8",
14-
"Programming Language :: Python :: 3.9",
1513
"Programming Language :: Python :: 3.10",
1614
"Programming Language :: Python :: 3.11",
1715
"Programming Language :: Python :: 3.12",
16+
"Programming Language :: Python :: 3.13",
17+
"Programming Language :: Python :: 3.14",
1818
"Programming Language :: Python :: Implementation :: CPython",
1919
"Programming Language :: Python :: Implementation :: PyPy",
2020
"Topic :: Software Development :: Libraries :: Python Modules",

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = {py27,pypy,py33,py34}-tests, pyflakes, cov, docs
2+
envlist = {pypy,py310,py311,py312,py313,py314}-tests, pyflakes, cov, docs
33

44
[testenv]
55
changedir = {envtmpdir}
@@ -29,7 +29,7 @@ commands = {envbindir}/pyflakes {toxinidir}/constantly
2929

3030
[testenv:docs]
3131
deps = sphinx
32-
basepython = python2.7
32+
basepython = python3.14
3333
commands =
3434
{envbindir}/sphinx-build -W -b html {toxinidir}/docs {toxinidir}/docs/_build/html
3535

0 commit comments

Comments
 (0)