Skip to content

Commit 8825037

Browse files
authored
Add support for Python 3.14 (#268)
1 parent 909cf60 commit 8825037

File tree

3 files changed

+24
-8
lines changed

3 files changed

+24
-8
lines changed

.github/workflows/python-package.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,23 @@ on:
2424
schedule: # at 03:07 on day-of-month 7
2525
- cron: '7 3 7 * *'
2626

27+
env:
28+
FORCE_COLOR: 1
29+
PIP_DISABLE_PIP_VERSION_CHECK: 1
30+
2731
jobs:
2832
build:
2933
runs-on: ${{ matrix.os }}
3034
strategy:
3135
fail-fast: false
3236
matrix:
3337
os: [ubuntu-latest, macos-latest, windows-latest]
34-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.13t', 'pypy-3.9']
38+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.13t', '3.14', '3.14t', 'pypy-3.9']
3539

3640
steps:
37-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@v6
3842
- name: Set up Python ${{ matrix.python-version }}
39-
uses: actions/setup-python@v5
43+
uses: actions/setup-python@v6
4044
with:
4145
python-version: ${{ matrix.python-version }}
4246
- name: Install Windows-only dependencies
@@ -64,7 +68,7 @@ jobs:
6468
env:
6569
NO_EXTERNAL_TESTS: 1
6670
- name: Upload coverage to Codecov
67-
uses: codecov/codecov-action@v4
71+
uses: codecov/codecov-action@v5
6872
with:
6973
flags: unittests
7074
files: coverage.xml

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ classifiers =
4343
Programming Language :: Python :: 3.11
4444
Programming Language :: Python :: 3.12
4545
Programming Language :: Python :: 3.13
46+
Programming Language :: Python :: 3.14
4647
Operating System :: OS Independent
4748
Topic :: Software Development :: Libraries :: Python Modules
4849
project_urls =

tox.ini

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
#envlist = py26, py27, py34, py35, py36, pypy
8-
envlist = py27, py38, py39, py310, py311, py312, py313, pypy,
9-
py27gpg2, py38gpg2, py39gpg2, py310gpg2, py311gpg2, py312gpg2,
10-
py313gpg2, pypygpg2
7+
envlist = py{27, 38, 39, 310, 311, 312, 313, 314, py,
8+
27gpg2, 38gpg2, 39gpg2, 310gpg2, 311gpg2, 312gpg2,
9+
313gpg2,314gpg2, pygpg2}
1110
isolated_build = True
1211

1312
[testenv]
@@ -128,6 +127,18 @@ passenv =
128127
HOME
129128
ENABLE_TOFU
130129

130+
[testenv:py314gpg2]
131+
envdir = {toxinidir}/.tox/py314
132+
basepython = python3.14
133+
setenv =
134+
LD_LIBRARY_PATH=/home/vinay/tmp/lib
135+
GPGBINARY=gpg2
136+
NO_EXTERNAL_TESTS=1
137+
138+
passenv =
139+
HOME
140+
ENABLE_TOFU
141+
131142
[testenv:pypygpg2]
132143
envdir = {toxinidir}/.tox/pypy
133144
basepython = pypy

0 commit comments

Comments
 (0)