From a5309683ccb3b5bc82e6bd20721453f669823f93 Mon Sep 17 00:00:00 2001 From: Damien Baty Date: Thu, 23 Apr 2026 17:39:01 +0200 Subject: [PATCH 1/2] Add support of Python 3.14 --- .github/workflows/ci.yml | 2 +- .github/workflows/publish.yml | 4 ++-- changelog.rst | 1 + pyproject.toml | 1 + 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac5b3dae1..f6a41a6eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: 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"] services: postgres: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8b9d5728e..029304a92 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,7 @@ jobs: 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"] services: postgres: @@ -94,4 +94,4 @@ jobs: name: python-packages path: dist/ - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4 \ No newline at end of file + uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4 diff --git a/changelog.rst b/changelog.rst index 66e9a6898..93d322998 100644 --- a/changelog.rst +++ b/changelog.rst @@ -7,6 +7,7 @@ Features: * Add cursor shape support for vi mode. When ``vi = True``, the terminal cursor now reflects the current editing mode: beam in INSERT, block in NORMAL, underline in REPLACE. Uses prompt_toolkit's ``ModalCursorShapeConfig``. +* Add support of Python 3.14. Bug fixes: ---------- diff --git a/pyproject.toml b/pyproject.toml index 6f3d28e4c..3b7d85741 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,6 +14,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: SQL", "Topic :: Database", "Topic :: Database :: Front-Ends", From 9f7d68d9979973f59ddb385fdb53a70fb6677ed7 Mon Sep 17 00:00:00 2001 From: Damien Baty Date: Thu, 23 Apr 2026 17:39:36 +0200 Subject: [PATCH 2/2] ci: Use Python 3.14 in publish workflow --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 029304a92..c02a9337b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -68,7 +68,7 @@ jobs: python-version: '3.13' - name: Install dependencies - run: uv sync --all-extras -p 3.13 + run: uv sync --all-extras -p 3.14 - name: Build run: uv build