Skip to content

Commit ef08482

Browse files
committed
update python version to 3.13
1 parent c7a81b1 commit ef08482

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
build:
33
os: "ubuntu-22.04"
44
tools:
5-
python: "3.11"
5+
python: "3.13"
66

77
python:
88
install:

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Changelog
55
Unreleased
66
----------
77

8+
* Updated Python version to ``3.13``.
9+
810
* Upgraded ``kopf`` to ``1.37.5``.
911

1012
2.46.0 (2025-03-17)

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build container
2-
FROM python:3.11-slim AS build
2+
FROM python:3.13-slim AS build
33

44
RUN mkdir -pv /src
55

@@ -14,7 +14,7 @@ RUN python -m pip install -U setuptools==70.3.0 && \
1414

1515

1616
# Run container
17-
FROM python:3.11-slim
17+
FROM python:3.13-slim
1818

1919
LABEL license="Apache License 2.0" \
2020
maintainer="Crate.IO GmbH <office@crate.io>" \

crate/operator/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def env(self, name: str, *, default=UNDEFINED) -> str:
473473
if default is UNDEFINED:
474474
# raise from None - so that the traceback of the original
475475
# exception (KeyError) is not printed
476-
# https://docs.python.org/3.11/reference/simple_stmts.html#the-raise-statement
476+
# https://docs.python.org/3.13/reference/simple_stmts.html#the-raise-statement
477477
raise ConfigurationError(
478478
f"Required environment variable '{full_name}' is not set."
479479
) from None

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@
8080
"bitmath": ("https://bitmath.readthedocs.io/en/stable/", None),
8181
"cratedb": ("https://crate.io/docs/crate/reference/en/stable/", None),
8282
"kopf": ("https://kopf.readthedocs.io/en/stable/", None),
83-
"python": ("https://docs.python.org/3.11/", None),
83+
"python": ("https://docs.python.org/3.13/", None),
8484
}
8585
always_document_param_types = True

docs/source/development.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Working on the operator
44
Local installation
55
------------------
66

7-
The ``crate-operator`` package requires **Python 3.11**.
7+
The ``crate-operator`` package requires **Python 3.13**.
88

99
It is recommended to use a virtual environment to the operator and its
1010
dependencies for local development.
@@ -17,7 +17,7 @@ dependencies for local development.
1717

1818
.. code-block:: console
1919
20-
$ python3.11 -m venv env
20+
$ python3.13 -m venv env
2121
$ source env/bin/activate
2222
(env)$ python -m pip install -e .
2323
@@ -57,7 +57,7 @@ test dependencies. This is typically done inside a Python virtual environment:
5757

5858
.. code-block:: console
5959
60-
$ python3.11 -m venv env
60+
$ python3.13 -m venv env
6161
$ source env/bin/activate
6262
(env)$ python -m pip install -e '.[testing]'
6363
Successfully installed ... crate-operator ...

0 commit comments

Comments
 (0)