Skip to content

Commit 37e43c3

Browse files
committed
⬆️ Switch to Python 3.15, remove 3.10
* Use latest in rtd config * Use base_python_file
1 parent 4c529ee commit 37e43c3

6 files changed

Lines changed: 18 additions & 19 deletions

File tree

‎.python-version‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.14
1+
3.15

‎.readthedocs.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ build:
1313
- plantuml
1414

1515
tools:
16-
python: "3.14"
16+
python: latest
1717

1818
python:
1919
# See https://docs.readthedocs.com/platform/stable/build-customization.html#install-dependencies-with-uv

‎docs/install.rst‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Installation
33

44
Installing Python can be easy. The first step is to download the latest version
55
from `www.python.org/downloads <https://www.python.org/downloads/>`_. The
6-
tutorial is based on Python 3.14.0, but if you have Python 3.10 or newer
7-
installed, this should not be a problem.
6+
tutorial is based on Python 3.15.0, but if you have Python 3.11 or newer
7+
installed, this usually isn’t a problem either.
88

99
.. tab:: Linux
1010

@@ -19,9 +19,9 @@ installed, this should not be a problem.
1919

2020
.. code-block:: console
2121
22-
$ wget https://www.python.org/ftp/python/3.14.0/Python-3.14.0.tgz
23-
$ tar xf Python-3.14.0.tgz
24-
$ cd Python-3.14.0
22+
$ wget https://www.python.org/ftp/python/3.15.0/Python-3.15.0.tgz
23+
$ tar xf Python-3.15.0.tgz
24+
$ cd Python-3.15.0
2525
$ ./configure --enable-optimizations
2626
$ sudo make altinstall
2727
@@ -51,11 +51,11 @@ installed, this should not be a problem.
5151

5252
#. Download the latest Python Releases for Windows installer, for example
5353
`Windows installer (64-bit)
54-
<https://www.python.org/ftp/python/3.14.0/python-3.14.0-amd64.exe>`_.
54+
<https://www.python.org/ftp/python/3.15.0/python-3.15.0-amd64.exe>`_.
5555
#. Start the installation programme. If you have the necessary
5656
authorisations, install Python with the option *Install launcher for all
5757
users*. This should install Python in
58-
:file:`C:\\Program Files\\Python314-64`. In addition, *Add Python 3.14 to
58+
:file:`C:\\Program Files\\Python315-64`. In addition, *Add Python 3.15 to
5959
PATH* should be activated so that this path to the Python installation is
6060
also entered in the list of ``PATH`` environment variables.
6161
#. Finally, you can now check the installation by entering the following in
@@ -64,7 +64,7 @@ installed, this should not be a problem.
6464
.. code-block:: ps1con
6565
6666
C:\> python -V
67-
Python 3.14.0
67+
Python 3.15.0
6868
6969
.. warning::
7070
One disadvantage is that you have to return to the website regularly to
@@ -75,8 +75,8 @@ installed, this should not be a problem.
7575
If different Python versions are required, for example to test libraries with
7676
:doc:`test/tox`, I use :term:`uv`. This allows not only older CPython versions
7777
to be installed but also `PyPy <https://pypy.org>`_ or free-threaded Python
78-
3.14 with ``uv python install pypy@3.14`` or ``uv python install
79-
--python-preference only-managed 3.14t``.
78+
3.14 with ``uv python install pypy@3.15`` or ``uv python install
79+
--python-preference only-managed 3.15t``.
8080

8181
.. tip::
8282
`direnv <https://direnv.net>`_ allows you to set environment variables

‎docs/packs/dataprep/pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ readme = "README.rst"
1010
authors = [
1111
{ name = "Veit Schiele", email = "veit@cusy.io" },
1212
]
13-
requires-python = ">=3.10"
13+
requires-python = ">=3.11"
1414
classifiers = [
1515
"Operating System :: OS Independent",
1616
"Programming Language :: Python :: 3 :: Only",
17-
"Programming Language :: Python :: 3.10",
1817
"Programming Language :: Python :: 3.11",
1918
"Programming Language :: Python :: 3.12",
2019
"Programming Language :: Python :: 3.13",
2120
"Programming Language :: Python :: 3.14",
21+
"Programming Language :: Python :: 3.15",
2222
]
2323
dependencies = [
2424
"cython",

‎docs/test/libs/pytest/debug.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,18 +145,18 @@ in our :file:`tox.ini` for cusy.tasks:
145145
146146
[gh-actions]
147147
python =
148-
3.10: py310
149148
3.11: py311
150149
3.12: py312
151150
3.13: py313
152151
3.14: py314
152+
3.15: py315
153153
154154
We want to run the Python 3.13 environment and start the debugger on a failed
155-
test with ``tox -e py314 -- --pdb --no-cov``. This will take us to the pdb,
155+
test with ``tox -e py315 -- --pdb --no-cov``. This will take us to the pdb,
156156
right at the assertion that failed.
157157

158158
Once we have found and fixed the error, we can run the tox environment again
159-
with this one test error: ``tox -e py314 -- --lf --tb=no --no-cov``.
159+
with this one test error: ``tox -e py315 -- --lf --tb=no --no-cov``.
160160

161161
Overview of the most common pytest debugger options
162162
---------------------------------------------------

‎pyproject.toml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ license-files = [ "LICENSE" ]
88
authors = [
99
{ name = "Veit Schiele", email = "veit@cusy.io" },
1010
]
11-
requires-python = ">=3.10"
11+
requires-python = ">=3.11"
1212
classifiers = [
1313
"Operating System :: OS Independent",
1414
"Programming Language :: Python :: 3 :: Only",
15-
"Programming Language :: Python :: 3.10",
1615
"Programming Language :: Python :: 3.11",
1716
"Programming Language :: Python :: 3.12",
1817
"Programming Language :: Python :: 3.13",

0 commit comments

Comments
 (0)