From 105a40d6f2790092da5baaa3bd024e87989fac3b Mon Sep 17 00:00:00 2001 From: Kurt Kikendall Date: Mon, 14 Sep 2026 09:29:16 -0400 Subject: [PATCH] fix: use valid PEP 440 syntax for requires-python The Poetry [tool.poetry] -> PEP 621 [project] migration carried over Poetry's caret syntax (^3.9.2) verbatim into the PEP 621 requires-python field, which PyPI's upload validator rejects outright. The last two release attempts (v0.1.0, v6.9.1) both tagged and created GitHub Releases successfully, but `poetry publish` failed at the last step with "HTTP Error 400: '^3.9.2' is invalid for 'requires-python'", so PyPI is still stuck on 6.9.0. Verified the fix produces valid Requires-Python metadata and passes `twine check` on both the sdist and wheel. Co-Authored-By: Claude Sonnet 5 --- poetry.lock | 6 +++--- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index ec2dcee3..edb57e67 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.3.4 and should not be changed by hand. [[package]] name = "aiohappyeyeballs" @@ -2057,5 +2057,5 @@ crypto = ["cryptography"] [metadata] lock-version = "2.1" -python-versions = "^3.9.2" -content-hash = "20bb787c4c9c85bc4435d7f2d9630adf3260061723f0c99a6cafd6c6cf070ed2" +python-versions = ">=3.9.2,<4.0.0" +content-hash = "8900ff3f61d7233f7eb17435e2237df30038ebc0a8503882f75638a75b15798c" diff --git a/pyproject.toml b/pyproject.toml index 829ac600..9b8c64f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "contxt-sdk" version = "6.9.1" description = "Contxt SDK from ndustrial" readme = "README.md" -requires-python = "^3.9.2" +requires-python = ">=3.9.2,<4.0.0" dependencies = [ "auth0-python>=4,<5", "click>=7,<9",