Skip to content

build: remove deprecated license classifier#637

Merged
mergify[bot] merged 1 commit intojd:mainfrom
r266-tech:fix/remove-deprecated-license-classifier
Mar 23, 2026
Merged

build: remove deprecated license classifier#637
mergify[bot] merged 1 commit intojd:mainfrom
r266-tech:fix/remove-deprecated-license-classifier

Conversation

@r266-tech
Copy link
Copy Markdown
Contributor

Summary

Removes the deprecated License :: OSI Approved :: Apache Software License classifier from pyproject.toml.

Motivation

Since license = "Apache-2.0" is already set as an SPDX license expression, the license classifier is redundant and triggers a SetuptoolsDeprecationWarning during wheel builds:

SetuptoolsDeprecationWarning: License classifiers are deprecated.
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: Apache Software License

Per PEP 639 and the packaging guide, the SPDX license expression is the modern, preferred approach.

Fixes #523

Since license = "Apache-2.0" is already set as an SPDX expression,
the License :: OSI Approved :: Apache Software License classifier
is redundant and causes setuptools deprecation warnings.

Fixes jd#523
@mergify mergify bot merged commit 8779333 into jd:main Mar 23, 2026
9 checks passed
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 23, 2026

Merge Queue Status

  • Entered queue2026-03-23 17:21 UTC · Rule: default
  • Checks skipped · PR is already up-to-date
  • Merged2026-03-23 17:21 UTC · at 43f215dbe601a5e2d00c09509b47fd155870df09

This pull request spent 5 seconds in the queue, with no time running CI.

Required conditions to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setuptools deprecation warnings

2 participants