Skip to content

Commit ab61cfb

Browse files
committed
Upgrade to Python 3.14 for the build system
1 parent 1531bea commit ab61cfb

File tree

3 files changed

+4
-56
lines changed

3 files changed

+4
-56
lines changed

β€Žpyproject.tomlβ€Ž

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
name = "godot-python-dev"
77
version = "0.1.0" # Dummy version, actual one is defined in `meson.build`
88
readme = "README.md"
9-
requires-python = ">=3.13"
9+
requires-python = ">=3.14"
1010
dependencies = [
1111
"meson~=1.5",
1212
# Colorama is needed only on Windows by autopxd2->click->pip-tools
@@ -15,7 +15,6 @@ dependencies = [
1515
"ninja~=1.11",
1616
"cython~=3.1",
1717
"jinja2~=3.1",
18-
"zstandard~=0.23",
1918
"autopxd2~=2.5",
2019
# Setuptools is used in `tests/3-init-with-cython-hook/` to build a native module from Cython
2120
"setuptools>=80.9.0",
@@ -28,7 +27,7 @@ dev = [
2827

2928
[tool.ruff]
3029
line-length = 100
31-
target-version = "py313"
30+
target-version = "py314"
3231

3332
[tool.uv.workspace]
3433
members = [

β€Žscripts/python_distrib.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import tarfile
99
import json
1010
import gzip
11-
import zstandard
11+
import zstd
1212

1313

1414
PREBUILDS_BASE_URL = "https://github.com/astral-sh/python-build-standalone/releases/download"
@@ -69,7 +69,7 @@ def _tar_extract(reader):
6969
else:
7070
assert archive_path.suffix == ".zst"
7171
with open(archive_path, mode="rb") as fh:
72-
dctx = zstandard.ZstdDecompressor()
72+
dctx = zstd.ZstdDecompressor()
7373
with dctx.stream_reader(fh) as reader:
7474
_tar_extract(reader)
7575

β€Žuv.lockβ€Ž

Lines changed: 0 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)