From b531694921bf1d39c66126d0b9295d257d8f50d3 Mon Sep 17 00:00:00 2001 From: Antti Soininen Date: Wed, 8 Jan 2025 13:54:36 +0200 Subject: [PATCH] Support Python 3.13 Re spine-tools/Spine-Toolbox#2986 --- .github/workflows/test_runner.yml | 8 ++++---- CHANGELOG.md | 2 ++ README.md | 8 +++----- pyproject.toml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test_runner.yml b/.github/workflows/test_runner.yml index 3e6f7287b..e16279583 100644 --- a/.github/workflows/test_runner.yml +++ b/.github/workflows/test_runner.yml @@ -17,8 +17,8 @@ jobs: strategy: fail-fast: true matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] - os: [windows-latest, ubuntu-22.04] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + os: [windows-latest, ubuntu-latest] uses: ./.github/workflows/unit_tests.yml with: host-os: ${{ matrix.os }} @@ -29,8 +29,8 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] - os: [windows-latest, ubuntu-22.04] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + os: [windows-latest, ubuntu-latest] uses: ./.github/workflows/execution_tests.yml with: host-os: ${{ matrix.os }} diff --git a/CHANGELOG.md b/CHANGELOG.md index fe4c33eb4..df2a005a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.1.0/) ### Added +- Support for Python 3.13. + ### Changed ### Deprecated diff --git a/README.md b/README.md index 66e0ccaad..bb8db4772 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Spine Toolbox Link to the documentation: [https://spine-toolbox.readthedocs.io/en/latest/?badge=latest](https://spine-toolbox.readthedocs.io/en/latest/?badge=latest) -[![Python](https://img.shields.io/badge/python-3.9%20|%203.10%20|%203.11%20|%203.12-blue.svg)](https://www.python.org/downloads/release/python-3120/) +[![Python](https://img.shields.io/badge/python-3.9%20|%203.10%20|%203.11%20|%203.12%20|%203.13-blue.svg)](https://www.python.org/downloads/release/python-3120/) [![Documentation Status](https://readthedocs.org/projects/spine-toolbox/badge/?version=latest)](https://spine-toolbox.readthedocs.io/en/latest/?badge=latest) [![Test suite](https://github.com/spine-tools/Spine-Toolbox/actions/workflows/test_runner.yml/badge.svg)](https://github.com/spine-tools/Spine-Toolbox/actions/workflows/test_runner.yml) [![codecov](https://codecov.io/gh/spine-tools/Spine-Toolbox/branch/master/graph/badge.svg)](https://codecov.io/gh/spine-tools/Spine-Toolbox) @@ -11,7 +11,7 @@ Link to the documentation: [https://spine-toolbox.readthedocs.io/en/latest/?badg Spine Toolbox is an open source Python package to manage data, scenarios and workflows for modelling and simulation. You can have your local workflow, but work as a team through version control and SQL databases. -

+

Spine Toolbox @@ -51,7 +51,7 @@ These steps apply to both [Python/pipx](#installation-with-python-and-pipx) opti 1. If you don't have Python installed, please install it e.g. from [Python.org](https://www.python.org/downloads/). -Please note that we support Python versions from 3.9 to 3.12. (As of 21st Oct. 2024, Python 3.13 has issues with some of our dependencies) +Please note that we support Python versions from 3.9 to 3.13. 2. Test that python is now in your PATH. Open a new terminal (e.g. Command Prompt) window and type @@ -458,7 +458,6 @@ already open in the issue tracker.  


-
@@ -472,4 +471,3 @@ Innovation Actions under grant agreement N°101095998. This work has been partially supported by EU project Spine (2017-2021), which has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 774629.
-
diff --git a/pyproject.toml b/pyproject.toml index d6fa6b4bf..5213aa7ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ classifiers = [ "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Operating System :: OS Independent", ] -requires-python = ">=3.9, <3.13" +requires-python = ">=3.9" dependencies = [ "PySide6 >= 6.5.0, != 6.5.3, != 6.6.3, != 6.7.0, != 6.8.0", "jupyter_client >=6.0",