Title: Drop the versionless `License ::` classifier now that `license` is a valid SPDX expression · Issue #652 · PythonCharmers/python-future · GitHub
Open Graph Title: Drop the versionless `License ::` classifier now that `license` is a valid SPDX expression · Issue #652 · PythonCharmers/python-future
X Title: Drop the versionless `License ::` classifier now that `license` is a valid SPDX expression · Issue #652 · PythonCharmers/python-future
Description: This issue is part of a larger batch of similar-scoped issues we distribute in the context of our internal vulnerability and dependency tracking activities. The batch covers multiple projects, this is only one of them. The goal is to ris...
Open Graph Description: This issue is part of a larger batch of similar-scoped issues we distribute in the context of our internal vulnerability and dependency tracking activities. The batch covers multiple projects, this...
X Description: This issue is part of a larger batch of similar-scoped issues we distribute in the context of our internal vulnerability and dependency tracking activities. The batch covers multiple projects, this...
Opengraph URL: https://github.com/PythonCharmers/python-future/issues/652
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Drop the versionless `License ::` classifier now that `license` is a valid SPDX expression","articleBody":"> This issue is part of a larger batch of similar-scoped issues we distribute in the context of our internal vulnerability and dependency tracking activities. The batch covers multiple projects, this is only one of them. The goal is to rise awareness and trigger/initiate the change towards clean project metadata in projects we depend on.\n\n## Summary\n\nThis project already declares a valid SPDX license id/expression in its packaging metadata (`License: MIT` in the built METADATA), but the deprecated classifier `License :: OSI Approved` and `License :: OSI Approved :: MIT License` is still present. That classifier has no version and [PEP 639](https://peps.python.org/pep-0639/)-aware SBOM tooling like [cyclonedx-bom](https://pypi.org/project/cyclonedx-bom/) can't map it to an SPDX id, so it falls back to emitting the raw classifier text as a free-text license name. This free-text field is just noise and causes downstream tooling to flag this project as non-SPDX-compliant.\n\n## Suggested fix\n\nRemove the redundant `License :: OSI Approved :: Apache Software License` from `classifiers` in the packaging config. No change to the `license` field is needed.\n\n## How to reproduce\n\n```bash\nuv tool install cyclonedx-bom\nuv venv .venv-repro\nuv pip install --python .venv-repro/bin/python future\ncyclonedx-py environment .venv-repro -o sbom.cdx.json\n```\n\n... and then check the `.licenses` property of the component. There should only something like:\n\n```json\n// This is how it should look like\n...\n \"license\": {\n \"acknowledgement\": \"declared\",\n \"id\": \"\u003cVALID SPDX IDENTIFIER>\"\n }\n...\n```\n\nand _not_:\n\n```json\n// This is how it should not look like\n...\n \"license\": {\n \"acknowledgement\": \"declared\",\n \"name\": \"\u003cCLASSIFIER TAKEN FROM METADATA\"\n }\n...\n```\n\nI'm happy to provide a PR to resolve this timely after approval!","author":{"url":"https://github.com/btschwertfeger","@type":"Person","name":"btschwertfeger"},"datePublished":"2026-08-26T09:41:15Z","url":"https://github.com/PythonCharmers/python-future/issues/652"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:902cfd44-8b48-6abb-18a0-3b66140f2f2e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D1AC:1B23D4:CFA4A:125413:6B041526 |
| html-safe-nonce | d9d4c23c64a0e5a055307a305db8cace2b1062289b2b8a605d370c9a6c9f0426 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUFDOjFCMjNENDpDRkE0QToxMjU0MTM6NkIwNDE1MjYiLCJ2aXNpdG9yX2lkIjoiNzU5NDc1ODA5Mzk4NTI4OTUxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6292c6a6a4bd2a48ba936d30a48f2377f11cd363597c5436ae46474d32f802a4 |
| hovercard-subject-tag | issue:5255570969 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PythonCharmers/python-future/652/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1a47979f569e964588229270bac196e6e493cf5fb52d7a63dc4bc41b153facb2/PythonCharmers/python-future/issues/652 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1a47979f569e964588229270bac196e6e493cf5fb52d7a63dc4bc41b153facb2/PythonCharmers/python-future/issues/652 |
| og:image:alt | This issue is part of a larger batch of similar-scoped issues we distribute in the context of our internal vulnerability and dependency tracking activities. The batch covers multiple projects, this... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | btschwertfeger |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/PythonCharmers/python-future git https://github.com/PythonCharmers/python-future.git |
| octolytics-dimension-user_id | 3365815 |
| octolytics-dimension-user_login | PythonCharmers |
| octolytics-dimension-repository_id | 11403699 |
| octolytics-dimension-repository_nwo | PythonCharmers/python-future |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 11403699 |
| octolytics-dimension-repository_network_root_nwo | PythonCharmers/python-future |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width