python-requests-gssapi/0001-downsteam-Fix-build-config-for-setuptools-69.patch
Julien Rische 1f631f4feb python-requests-gssapi-1.4.0-1
- New upstream release (1.4.0)
  Resolves: RHEL-103408

Signed-off-by: Julien Rische <jrische@redhat.com>
2025-11-13 17:33:31 +01:00

43 lines
1.3 KiB
Diff

From 7e82d2fee28d4179ea898b88e0479e4eff0c3d77 Mon Sep 17 00:00:00 2001
From: Julien Rische <jrische@redhat.com>
Date: Thu, 13 Nov 2025 14:34:22 +0100
Subject: [PATCH] [downsteam] Fix build config for setuptools 69
setuptools v69 (current version on c9s) does not support the
"project.license" attribute. Classifiers must be used instead.
---
pyproject.toml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index d72e47f..8b17974 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[build-system]
requires = [
- "setuptools >= 77.0.0", # Support for SPDX license expressions
+ "setuptools >= 69.0.0",
]
build-backend = "setuptools.build_meta"
@@ -9,7 +9,6 @@ name = "requests-gssapi"
description = "A GSSAPI authentication handler for python-requests"
readme = "README.rst"
requires-python = ">=3.8"
-license = "ISC"
authors = [
{ name = "Robbie Harwood", email = "rharwood@redhat.com" },
{ name = "Ian Cordasco" },
@@ -18,6 +17,7 @@ authors = [
]
keywords = ["gssapi", "requests", "auth"]
classifiers = [
+ "License :: OSI Approved :: ISC License (ISCL)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
--
2.51.1