From db7ac9b504db5dd65a1f8efd3170a292ad568b61 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Wed, 23 Jul 2025 19:14:43 +0200 Subject: [PATCH 1/3] Add support for Python 3.14 --- .github/workflows/tabulate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tabulate.yml b/.github/workflows/tabulate.yml index c459484..141a686 100644 --- a/.github/workflows/tabulate.yml +++ b/.github/workflows/tabulate.yml @@ -8,7 +8,7 @@ jobs: build: strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] os: ["ubuntu-latest", "windows-latest", "macos-latest"] runs-on: ${{ matrix.os }} From 8c8364640ddc2f3f1bda473b7eed32247d88cf7e Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 13 Sep 2025 14:39:03 +0200 Subject: [PATCH 2/3] Update GitHub Actions --- .github/workflows/lint.yml | 4 ++-- .github/workflows/tabulate.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0093303..75cc07f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,9 +12,9 @@ jobs: python-version: ['3.12'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/tabulate.yml b/.github/workflows/tabulate.yml index 141a686..25fa649 100644 --- a/.github/workflows/tabulate.yml +++ b/.github/workflows/tabulate.yml @@ -13,9 +13,9 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} allow-prereleases: true From 809ae5e07b37ce404d3b51d7c56352abeaf2eb00 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 13 Sep 2025 18:30:52 +0200 Subject: [PATCH 3/3] Test with Python 3.14 too --- tox.ini | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 9605e79..53aac7b 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ # for testing and it is disabled by default. [tox] -envlist = lint, py{38, 39, 310, 311, 312, 313} +envlist = lint, py{38, 39, 310, 311, 312, 313, 314} isolated_build = True [gh] @@ -18,6 +18,7 @@ python = 3.11: py311-extra 3.12: py312-extra 3.13: py313-extra + 3.14: py314-extra [testenv] commands = pytest -v --doctest-modules --ignore benchmark {posargs} @@ -48,7 +49,6 @@ deps = pandas wcwidth - [testenv:py39] basepython = python3.9 commands = pytest -v --doctest-modules --ignore benchmark {posargs} @@ -64,7 +64,6 @@ deps = pandas wcwidth - [testenv:py310] basepython = python3.10 commands = pytest -v --doctest-modules --ignore benchmark {posargs} @@ -81,7 +80,6 @@ deps = pandas wcwidth - [testenv:py311] basepython = python3.11 commands = pytest -v --doctest-modules --ignore benchmark {posargs} @@ -130,6 +128,22 @@ deps = pandas wcwidth +[testenv:py314] +basepython = python3.14 +commands = pytest -v --doctest-modules --ignore benchmark {posargs} +deps = + pytest + +[testenv:py314-extra] +basepython = python3.14 +setenv = PYTHONDEVMODE = 1 +commands = pytest -v --doctest-modules --ignore benchmark {posargs} +deps = + pytest + numpy + pandas + wcwidth + [flake8] max-complexity = 22 max-line-length = 99