From 0f1e3bf13d04f72f03bad2b33f861b62732db2db Mon Sep 17 00:00:00 2001 From: Stephen Rosen Date: Wed, 11 Nov 2026 20:44:25 -0600 Subject: [PATCH] Fix the declaration of license data Our existing declaration of `project.license.text` does not align with our intent: we are stating that "Apache-2.0" is *the full text of our license*. We mean to be stating it as an SPDX license expression. Updating to the newer license metadata format fixes this: `project.license` is published as `License-Expression`. This fix causes `setuptools` to fail, raising an error regarding the combination of `project.license` and the license classifier. (The license classifier is deprecated; `setuptools` has chosen to reject it in this circumstance.) --- pyproject.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e25aedc7f..17915087b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,6 @@ keywords = ["globus"] classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", - "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -21,6 +20,7 @@ classifiers = [ "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", ] +license = "Apache-2.0" requires-python = ">=3.10" dependencies = [ "requests>=2.27.0,<3.0.0", @@ -40,9 +40,6 @@ dependencies = [ file = "README.rst" content-type = "text/x-rst" -[project.license] -text = "Apache-2.0" - [project.urls] Homepage = "https://github.com/globus/globus-sdk-python"