From 67339c736fd9354cd4f8cb0b744f2b82a74b5c70 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Mon, 9 Dec 2024 15:07:39 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20Only=20keep=20lower=20bounds=20@?= =?UTF-8?q?=20input=20requirements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This concerns both direct (`twine`) and indirect (`pkginfo`) deps, provided there's no broken versions to exclude. --- requirements/runtime-constraints.in | 2 +- requirements/runtime.in | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements/runtime-constraints.in b/requirements/runtime-constraints.in index a934c36..e4afedd 100644 --- a/requirements/runtime-constraints.in +++ b/requirements/runtime-constraints.in @@ -17,4 +17,4 @@ # NOTE: 1.12.0 and later enable support for metadata 2.4 # NOTE: This can be dropped once twine stops using pkginfo # Ref: https://github.com/pypa/twine/pull/1180 -pkginfo ~= 1.12.0 +pkginfo >= 1.12.0 diff --git a/requirements/runtime.in b/requirements/runtime.in index c2060b7..5861e0b 100644 --- a/requirements/runtime.in +++ b/requirements/runtime.in @@ -1,6 +1,7 @@ -c runtime-constraints.in # limits known broken versions -twine ~= 6.0 +# NOTE: v6 is needed to support metadata v2.4 +twine >= 6.0 # NOTE: Used to detect an ambient OIDC credential for OIDC publishing, # NOTE: as well as PEP 740 attestations.