Skip to content

oss_30_strip_osi_classifier_and_lint_convergence#3

Open
ocelotl wants to merge 2 commits into
mainfrom
oss_30_strip_osi_classifier_and_lint_convergence
Open

oss_30_strip_osi_classifier_and_lint_convergence#3
ocelotl wants to merge 2 commits into
mainfrom
oss_30_strip_osi_classifier_and_lint_convergence

Conversation

@ocelotl

@ocelotl ocelotl commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Closes #2

Strip the deprecated License :: OSI Approved :: Apache Software License trove classifier from all 77 contrib pyproject.toml files (incl. _template) — the SPDX license = "Apache-2.0" field is retained, so no metadata is lost. Brings contrib into parity with core (Linear OSS-30, Q1). Q6/Q7 required no change / deferred (see comments); Q3/Q4 noted as follow-up.

Validation: scope contained to pyproject.toml files + changelog; grep for the classifier returns 0; all changed TOML parse-validated; all retain the SPDX license field.

Linear issue: https://linear.app/dash0/issue/OSS-30/q1-q4-q6-q7-converge-lint-config-and-tool-versions-across-core-and

Strip the deprecated `License :: OSI Approved :: Apache Software License`
trove classifier from every package pyproject.toml. The SPDX
`license = "Apache-2.0"` field already declares the license, making the
classifier redundant. This aligns the contrib repo with core, which has
already removed the classifier everywhere.
@ocelotl

ocelotl commented Jul 22, 2026

Copy link
Copy Markdown
Owner Author

🔒 Internal (dash0) — not for upstream.

@ocelotl

ocelotl commented Jul 22, 2026

Copy link
Copy Markdown
Owner Author

📣 Public-facing draft — to be used for the upstream PR in open-telemetry/opentelemetry-python-contrib. No internal references; copy verbatim.

Title: Remove deprecated OSI Approved license trove classifier

What

Removes the deprecated License :: OSI Approved :: Apache Software License trove classifier from all 77 package pyproject.toml files that declared it, including the package _template and the workflow-generator lib.

Why

Every affected file already declares license = "Apache-2.0" (SPDX), so the trove classifier is redundant. Per PEP 639 the license trove classifiers are deprecated in favor of the SPDX license expression, and packaging tooling warns when both are present. Core opentelemetry-python has already dropped the classifier everywhere; this brings contrib into alignment.

Scope

Only the single classifier line is removed from each file; no other metadata is touched. _template/pyproject.toml is included so new packages generated from the template don't reintroduce the classifier. No behavioral or dependency changes.

Verification

  • grep -rl "License :: OSI Approved" --include=pyproject.toml . returns no results.
  • All modified pyproject.toml files parse successfully with tomllib.
  • All modified files retain license = "Apache-2.0".

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

oss_30_strip_osi_classifier_and_lint_convergence

1 participant