glibc readiness for python 3.12
@@ -248,6 +256,7 @@
Thanks
load_plot("consumer-glibc-version-plot", data.index, data.glibc_version, true, "%", "reversed", true);
load_plot("consumer-python-version-plot-non-eol", data.index, data.python_version_non_eol, true, "%", "normal", false, data.python_version.keys);
load_plot("consumer-glibc-version-plot-non-eol", data.index, data.glibc_version_non_eol, true, "%", "reversed", true);
+ load_plot("consumer-glibc-readiness-3.13-plot", data.index, data.glibc_readiness["3.13"], true, "%", "reversed", true);
load_plot("consumer-glibc-readiness-3.12-plot", data.index, data.glibc_readiness["3.12"], true, "%", "reversed", true);
load_plot("consumer-glibc-readiness-3.11-plot", data.index, data.glibc_readiness["3.11"], true, "%", "reversed", true);
load_plot("consumer-glibc-readiness-3.10-plot", data.index, data.glibc_readiness["3.10"], true, "%", "reversed", true);
diff --git a/noxfile.py b/noxfile.py
index 3480de54..82ffea37 100644
--- a/noxfile.py
+++ b/noxfile.py
@@ -52,6 +52,11 @@ def run(session: nox.Session) -> None:
session.run("python", "update.py", *session.posargs)
+@nox.session(python=PYTHON_VERSION)
+def serve(session: nox.Session) -> None:
+ session.run("python", "-m", "http.server", "-d", "build")
+
+
@nox.session(python=PYTHON_VERSION, venv_backend="none")
def timestamp(session: nox.Session) -> None:
"""Get timestamp for PyPI package cache on GHA"""
diff --git a/update_consumer_stats.py b/update_consumer_stats.py
index 6afa9fd0..7837ca18 100644
--- a/update_consumer_stats.py
+++ b/update_consumer_stats.py
@@ -34,6 +34,7 @@
"3.10": pd.to_datetime("2026-10-04"),
"3.11": pd.to_datetime("2027-10-24"),
"3.12": pd.to_datetime("2028-10-04"),
+ "3.13": pd.to_datetime("2029-10-01"),
}
@@ -291,7 +292,9 @@ def update(path: Path, start: datetime, end: datetime):
out["glibc_version_non_eol"] = glibc_version_non_eol
python_versions_no_pep600_pip = ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9"]
- python_versions = python_versions_no_pep600_pip + ["3.10", "3.11", "3.12"]
+ python_versions = python_versions_no_pep600_pip + [
+ v for v in PYTHON_EOL if v not in python_versions_no_pep600_pip
+ ]
python_version = dict[str, list[str] | list[float]]()
python_version_non_eol = dict[str, list[str] | list[float]]()
policy_readiness = dict[str, dict[str, list[str] | list[float]]]()
diff --git a/update_stats.py b/update_stats.py
index 4a68ddd6..07a75806 100644
--- a/update_stats.py
+++ b/update_stats.py
@@ -26,7 +26,7 @@
# python implementations are a bit more complicated...
IMPL_X2 = ("cp27",)
IMPL_CP3_FIRST = 5
-IMPL_CP3_LAST = 12
+IMPL_CP3_LAST = 13
IMPL_PP3 = tuple(f"pp3{i}" for i in range(7, 9 + 1))
# that's what is ultimately displayed
IMPLEMENTATIONS = tuple(