From d62f685facc662d3dab1f32a2809c09277954de8 Mon Sep 17 00:00:00 2001 From: Shahzeb Ali <126076773+Shahzeb-DataEngineer@users.noreply.github.com> Date: Thu, 22 Oct 2026 13:05:37 +0500 Subject: [PATCH] build: drop the upper bound on requires-python The <4.0.0 cap makes Poetry silently resolve old releases (e.g. 0.10.0) for projects declaring an open-ended requires-python range, with no error or warning. The cap offers no real protection (see #1348), so drop it and keep requires-python as >=3.10. Signed-off-by: Shahzeb Ali <126076773+Shahzeb-DataEngineer@users.noreply.github.com> --- pyproject.toml | 2 +- uv.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8fa9f1e862..f7bdb243b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ name = "pyiceberg" version = "0.12.0" description = "Apache Iceberg is an open table format for huge analytic datasets" authors = [{ name = "Apache Software Foundation", email = "dev@iceberg.apache.org" }] -requires-python = ">=3.10.0,<4.0.0" +requires-python = ">=3.10" readme = "README.md" license = "Apache-2.0" license-files = ["LICENSE", "NOTICE"] diff --git a/uv.lock b/uv.lock index 4badf49ea1..906bdbaa9b 100644 --- a/uv.lock +++ b/uv.lock @@ -1,6 +1,6 @@ version = 1 revision = 3 -requires-python = ">=3.10.0, <4.0.0" +requires-python = ">=3.10" resolution-markers = [ "python_full_version >= '3.14' and sys_platform == 'win32'", "python_full_version >= '3.14' and sys_platform == 'emscripten'",