Skip to content

Commit c63d275

Browse files
committed
Added unit testing for Python 3.13.
1 parent 3d7a1e7 commit c63d275

File tree

15 files changed

+18
-15
lines changed

15 files changed

+18
-15
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest, macos-latest, windows-latest]
12-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
12+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1313
fail-fast: false
1414
runs-on: ${{ matrix.os }}
1515
steps:

.github/workflows/doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest]
15-
python-version: ["3.12"]
15+
python-version: ["3.13"]
1616
fail-fast: false
1717
runs-on: ${{ matrix.os }}
1818
steps:

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest]
15-
python-version: ["3.12"]
15+
python-version: ["3.13"]
1616
fail-fast: false
1717
runs-on: ${{ matrix.os }}
1818
steps:

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest]
15-
python-version: ["3.12"]
15+
python-version: ["3.13"]
1616
fail-fast: false
1717
runs-on: ${{ matrix.os }}
1818
steps:

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest]
15-
python-version: ["3.12"]
15+
python-version: ["3.13"]
1616
fail-fast: false
1717
runs-on: ${{ matrix.os }}
1818
steps:

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Removed dependency on `attrs` and replaced with [dataclasses](https://docs.python.org/3/library/dataclasses.html)
99
* add `allow_clipboard` initialization parameter and attribute to disable ability to
1010
add output to the operating system clipboard
11-
* Updated unit tests to be Python 3.12 compliant.
11+
* Updated unit tests to be Python 3.12 and 3.13 compliant.
1212
* Fall back to bz2 compression of history file when lzma is not installed.
1313
* Added settable called `scripts_add_to_history` which determines whether scripts and pyscripts
1414
add commands to history.

noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import nox
22

33

4-
@nox.session(python=['3.12'])
4+
@nox.session(python=['3.13'])
55
def docs(session):
66
session.install(
77
'sphinx',
@@ -17,7 +17,7 @@ def docs(session):
1717
)
1818

1919

20-
@nox.session(python=['3.8', '3.9', '3.10', '3.11', '3.12'])
20+
@nox.session(python=['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'])
2121
@nox.parametrize('plugin', [None, 'ext_test', 'template', 'coverage'])
2222
def tests(session, plugin):
2323
if plugin is None:
@@ -41,7 +41,7 @@ def tests(session, plugin):
4141
)
4242

4343

44-
@nox.session(python=['3.8', '3.9', '3.10', '3.11', '3.12'])
44+
@nox.session(python=['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'])
4545
@nox.parametrize('step', ['mypy', 'flake8'])
4646
def validate(session, step):
4747
session.install('invoke', './[validate]')

plugins/ext_test/build-pyenvs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# virtualenvs will be added to '.python-version'. Feel free to modify
2424
# this list, but note that this script intentionally won't install
2525
# dev, rc, or beta python releases
26-
declare -a pythons=("3.8" "3.9", "3.10", "3.11", "3.12")
26+
declare -a pythons=("3.8" "3.9", "3.10", "3.11", "3.12", "3.13")
2727

2828
# function to find the latest patch of a minor version of python
2929
function find_latest_version {

plugins/ext_test/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import nox
22

33

4-
@nox.session(python=['3.8', '3.9', '3.10', '3.11', '3.12'])
4+
@nox.session(python=['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'])
55
def tests(session):
66
session.install('invoke', './[test]')
77
session.run('invoke', 'pytest', '--junit', '--no-pty')

plugins/ext_test/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
'Programming Language :: Python :: 3.10',
4949
'Programming Language :: Python :: 3.11',
5050
'Programming Language :: Python :: 3.12',
51+
'Programming Language :: Python :: 3.13',
5152
],
5253
# dependencies for development and testing
5354
# $ pip install -e .[dev]

0 commit comments

Comments
 (0)