Skip to content

Commit 51e90a3

Browse files
committed
⬆️ Update python and rtd config
* Switch to ubuntu-lts-latest, Python 3.14 and uv * Remove additional formats * Update README
1 parent 0279527 commit 51e90a3

12 files changed

Lines changed: 74 additions & 76 deletions

File tree

.python-version

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

.readthedocs.yaml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,21 @@ version: 2
77

88
# Set the version of Python and other tools you might need
99
build:
10-
os: ubuntu-24.04
10+
os: ubuntu-lts-latest
1111
apt_packages:
1212
# plantuml is required for sphinxcontrib.plantuml
1313
- plantuml
14+
1415
tools:
15-
python: "3.13"
16-
jobs:
17-
install:
18-
- python -m pip install --upgrade pip
19-
- python -m pip install --group=docs
16+
python: "3.14"
17+
18+
python:
19+
# See https://docs.readthedocs.com/platform/stable/build-customization.html#install-dependencies-with-uv
20+
install:
21+
- method: uv
22+
command: sync
23+
groups:
24+
- docs
2025

21-
# Build documentation in the docs/ directory with Sphinx
2226
sphinx:
2327
configuration: docs/conf.py
24-
25-
# If using Sphinx, optionally build your docs in additional formats such as PDF
26-
formats:
27-
- epub
28-
- pdf

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Installation
9393

9494
.. code-block:: console
9595
96-
$ brew cask install mactex
96+
$ brew install mactex
9797
9898
🍺 mactex was successfully installed!
9999
$ curl --remote-name https://www.tug.org/fonts/getnonfreefonts/install-getnonfreefonts

docs/document/sphinx/test.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ whether the documentation is being built and the links are valid. In
100100
101101
[testenv:docs]
102102
# Keep base_python in sync with ci.yml and .readthedocs.yaml.
103-
base_python = py312
103+
base_python = py314
104104
dependency_groups = docs
105105
commands =
106106
sphinx-build -n -T -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
@@ -130,7 +130,7 @@ You can then define the following jobs for GitHub, for example:
130130
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
131131
with:
132132
# Keep in sync with tox.ini/docs and .readthedocs.yaml
133-
python-version: "3.12"
133+
python-version: "3.14"
134134
cache: pip
135135
- run: python -m pip install tox
136136
- run: python -m tox run -e docs

docs/editors.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ file as a module.
1818
.. code-block:: console
1919
2020
$ python3
21-
Python 3.13.0 (main, Oct 7 2024, 05:02:14) on linux
21+
Python 3.14.0 (main, Oct 14 2025, 21:10:22) [Clang 20.1.4 ] on linux
2222
Type "help", "copyright", "credits" or "license" for more information.
2323
>>>
2424
@@ -30,7 +30,7 @@ file as a module.
3030
3131
3232
$ python3
33-
Python 3.13.0 (main, Oct 7 2024, 05:02:14) [Clang 15.0.0 (clang-1500.1.0.2.5)] on darwin
33+
Python 3.14.0 (main, Oct 14 2025, 21:10:22) [Clang 20.1.4 ] on darwin
3434
Type "help", "copyright", "credits" or "license" for more information.
3535
>>>
3636
@@ -42,11 +42,11 @@ file as a module.
4242
.. tab:: Windows
4343

4444
You can start the interactive Python shell in :menuselection:`Start -->
45-
Applications --> Python 3.13`.
45+
Applications --> Python 3.14`.
4646

4747
Alternatively, you can search for the directly executable file
4848
:file:`Python.exe`, for example in
49-
:file:`C:\\Users\\VEIT\\AppData\\Local\\Programs\\Python\\Python310-64` and
49+
:file:`C:\\Users\\VEIT\\AppData\\Local\\Programs\\Python\\Python314-64` and
5050
then double-click.
5151

5252
You can scroll through previous entries with the arrow keys :kbd:`Home`,
@@ -74,7 +74,7 @@ code editing and debugging. It is very easy to run on the various platforms:
7474

7575
.. code-block:: console
7676
77-
$ idle-python3.13
77+
$ idle-python3.14
7878
7979
.. tab:: Windows
8080

docs/install.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ 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.13.0, but if you have Python 3.10 or newer
6+
tutorial is based on Python 3.14.0, but if you have Python 3.10 or newer
77
installed, this should not be a problem.
88

99
.. tab:: Linux
@@ -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.12.4/Python-3.13.0.tgz
23-
$ tar xf Python-3.13.0.tgz
24-
$ cd Python-3.13.0
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
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.13.0/python-3.13.0-amd64.exe>`_.
54+
<https://www.python.org/ftp/python/3.14.0/python-3.14.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\\Python313-64`. In addition, *Add Python 3.13 to
58+
:file:`C:\\Program Files\\Python314-64`. In addition, *Add Python 3.14 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.13.0
67+
Python 3.14.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.13 with ``uv python install pypy@3.12`` or ``uv python install
79-
--python-preference only-managed 3.13t``.
78+
3.14 with ``uv python install pypy@3.14`` or ``uv python install
79+
--python-preference only-managed 3.14t``.
8080

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

docs/libs/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ Alternatively, a specific version can be installed with :samp:`uv python install
283283
{3.12}`. However, you can install not only older CPython versions, but also
284284
`PyPy <https://pypy.org>`_ with :samp:`uv python install pypy@{3.12}` or
285285
Free-threaded Python with :samp:`uv python install --python-preferenc
286-
only-managed {3.13t}`. You can see the Python versions that are already
286+
only-managed {3.14t}`. You can see the Python versions that are already
287287
installed with ``uv python list``. You can call up an installed Python version
288288
with :samp:`uv run --python {3.12} python`.
289289

docs/modules/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Lines 25 to 26
8787
8888
>>> import wc, importlib
8989
>>> importlib.reload(wc)
90-
<module 'wc' from '/home/veit/.local/lib/python3.13/site-packages/wc.py'>
90+
<module 'wc' from '/home/veit/.local/lib/python3.14/site-packages/wc.py'>
9191
* as a script it is executed with the name ``__main__`` and the function
9292
``words_occur()```` is called:
9393

docs/packs/dataprep/pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ readme = "README.rst"
1010
authors = [
1111
{ name = "Veit Schiele", email = "veit@cusy.io" },
1212
]
13-
requires-python = ">=3.9"
13+
requires-python = ">=3.10"
1414
classifiers = [
1515
"Operating System :: OS Independent",
1616
"Programming Language :: Python :: 3 :: Only",
17-
"Programming Language :: Python :: 3.9",
1817
"Programming Language :: Python :: 3.10",
1918
"Programming Language :: Python :: 3.11",
2019
"Programming Language :: Python :: 3.12",
@@ -26,7 +25,7 @@ dependencies = [
2625
"pandas",
2726
]
2827
urls."Bug Tracker" = "https://github.com/veit/dataprep/issues"
29-
urls."Homepage" = "https://github.com/veit/dataprep"
28+
urls.Homepage = "https://github.com/veit/dataprep"
3029
License-Expression = "BSD-3-Clause"
3130
License-File = [ "LICENSE" ]
3231

docs/test/hypothesis.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Example using ``strategies`` and ``given``
8383
8484
$ uv run pytest docs/test/test_hypothesis.py
8585
============================= test session starts ==============================
86-
platform darwin -- Python 3.13.0, pytest-9.0.3, pluggy-1.6.0
86+
platform darwin -- Python 3.14.0, pytest-9.0.3, pluggy-1.6.0
8787
rootdir: /Users/veit/cusy/trn/python-basics-tutorial-de
8888
plugins: hypothesis-6.152.1
8989
collected 1 item
@@ -123,7 +123,7 @@ Example using ``strategies`` and ``given``
123123
124124
C:> uv run pytest docs/test/test_hypothesis.py
125125
============================= test session starts ==============================
126-
platform darwin -- Python 3.13.0, pytest-9.0.3, pluggy-1.6.0
126+
platform darwin -- Python 3.14.0, pytest-9.0.3, pluggy-1.6.0
127127
rootdir: C:\Users\veit\python-basics-tutorial-de
128128
plugins: hypothesis-6.152.1
129129
collected 1 item
@@ -191,7 +191,7 @@ Example with regular expressions
191191
192192
$ uv run pytest docs/test/test_emails.py
193193
============================= test session starts ==============================
194-
platform darwin -- Python 3.13.0, pytest-9.0.3, pluggy-1.6.0
194+
platform darwin -- Python 3.14.0, pytest-9.0.3, pluggy-1.6.0
195195
rootdir: /Users/veit/cusy/trn/python-basics-tutorial-de
196196
configfile: pyproject.toml
197197
plugins: hypothesis-6.152.1
@@ -205,7 +205,7 @@ Example with regular expressions
205205
| File "/Users/veit/cusy/trn/python-basics-tutorial-de/docs/test/test_emails.py", line 12, in test_parse_email
206206
| def test_parse_email(email):
207207
| ^^^
208-
| File "/Users/veit/cusy/trn/python-basics-tutorial-de/.venv/lib/python3.13/site-packages/hypothesis/core.py", line 2264, in wrapped_test
208+
| File "/Users/veit/cusy/trn/python-basics-tutorial-de/.venv/lib/python3.14/site-packages/hypothesis/core.py", line 2264, in wrapped_test
209209
| raise the_error_hypothesis_found
210210
| ExceptionGroup: Hypothesis found 2 distinct failures. (2 sub-exceptions)
211211
+-+---------------- 1 ----------------
@@ -243,7 +243,7 @@ Example with regular expressions
243243
244244
$ uv run pytest docs/test/test_emails_2.py
245245
============================= test session starts ==============================
246-
platform darwin -- Python 3.13.0, pytest-9.0.3, pluggy-1.6.0
246+
platform darwin -- Python 3.14.0, pytest-9.0.3, pluggy-1.6.0
247247
rootdir: /Users/veit/cusy/trn/python-basics-tutorial-de
248248
configfile: pyproject.toml
249249
plugins: hypothesis-6.152.1

0 commit comments

Comments
 (0)