From 547537b8370c9a286a82302c7f873eeb1232de7a Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sun, 22 Jun 2025 21:08:10 -0400 Subject: [PATCH 1/2] Test as well no the free-threaded version of Python 3.14 --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4db4c315..8fc8a0c0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"] fail-fast: false runs-on: ${{ matrix.os }} From 99039a478c5f5020e4a269886d6b8cdd6791979b Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sun, 22 Jun 2025 21:22:16 -0400 Subject: [PATCH 2/2] Updated various files to show cmd2 supports free-threaded versions of Python --- CHANGELOG.md | 6 +++--- README.md | 2 +- pyproject.toml | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d8b19c04..23abd334 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ -## 2.6.2 (June TBD, 2025) +## 2.6.2 (TBD, 2025) -- Bug Fixes - - TBD +- Enhancements + - Added explicit support for free-threaded versions of Python, starting with version 3.14 ## 2.6.1 (June 8, 2025) diff --git a/README.md b/README.md index f3aea16b..abf7d52e 100755 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ pip install -U cmd2 ``` cmd2 works with Python 3.9+ on Windows, macOS, and Linux. It is pure Python code with few 3rd-party -dependencies. +dependencies. It works with both conventional CPython and free-threaded variants. For information on other installation options, see [Installation Instructions](https://cmd2.readthedocs.io/en/latest/overview/installation.html) in the diff --git a/pyproject.toml b/pyproject.toml index abb3152a..163f5e42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: Free Threading :: 3 - Stable", "Topic :: Software Development :: Libraries :: Python Modules", ] dependencies = [