Skip to content

Commit 1689654

Browse files
methanexrmx
andauthored
Update license field in pyproject.toml to use latest format (#4625)
* Update license field in pyproject.toml to use latest format * add changelog entry --------- Co-authored-by: Riccardo Magliocchetti <[email protected]>
1 parent 9fffba4 commit 1689654

File tree

21 files changed

+22
-40
lines changed

21 files changed

+22
-40
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
([#4618](https://github.com/open-telemetry/opentelemetry-python/pull/4618))
1414
- Add `span_exporter` property back to `BatchSpanProcessor` class
1515
([#4621](https://github.com/open-telemetry/opentelemetry-python/pull/4621))
16+
- Fix license field in pyproject.toml files
17+
([#4625](https://github.com/open-telemetry/opentelemetry-python/pull/4625))
1618

1719
## Version 1.34.0/0.55b0 (2025-06-04)
1820

docs/examples/error_handler/error_handler_0/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ name = "error-handler-0"
77
dynamic = ["version"]
88
description = "This is just an error handler example package"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
1414
]
1515
classifiers = [
1616
"Development Status :: 4 - Beta",
1717
"Intended Audience :: Developers",
18-
"License :: OSI Approved :: Apache Software License",
1918
"Programming Language :: Python",
2019
"Programming Language :: Python :: 3",
2120
"Programming Language :: Python :: 3.9",

docs/examples/error_handler/error_handler_1/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ name = "error-handler-1"
77
dynamic = ["version"]
88
description = "This is just an error handler example package"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
1414
]
1515
classifiers = [
1616
"Development Status :: 4 - Beta",
1717
"Intended Audience :: Developers",
18-
"License :: OSI Approved :: Apache Software License",
1918
"Programming Language :: Python",
2019
"Programming Language :: Python :: 3",
2120
"Programming Language :: Python :: 3.9",

exporter/opentelemetry-exporter-opencensus/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-exporter-opencensus"
77
dynamic = ["version"]
88
description = "OpenCensus Exporter"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -17,7 +17,6 @@ classifiers = [
1717
"Framework :: OpenTelemetry",
1818
"Framework :: OpenTelemetry :: Exporters",
1919
"Intended Audience :: Developers",
20-
"License :: OSI Approved :: Apache Software License",
2120
"Programming Language :: Python",
2221
"Programming Language :: Python :: 3",
2322
"Programming Language :: Python :: 3.9",

exporter/opentelemetry-exporter-otlp-proto-common/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-exporter-otlp-proto-common"
77
dynamic = ["version"]
88
description = "OpenTelemetry Protobuf encoding"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -17,7 +17,6 @@ classifiers = [
1717
"Framework :: OpenTelemetry",
1818
"Framework :: OpenTelemetry :: Exporters",
1919
"Intended Audience :: Developers",
20-
"License :: OSI Approved :: Apache Software License",
2120
"Programming Language :: Python",
2221
"Programming Language :: Python :: 3",
2322
"Programming Language :: Python :: 3.9",

exporter/opentelemetry-exporter-otlp-proto-grpc/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-exporter-otlp-proto-grpc"
77
dynamic = ["version"]
88
description = "OpenTelemetry Collector Protobuf over gRPC Exporter"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -17,7 +17,6 @@ classifiers = [
1717
"Framework :: OpenTelemetry",
1818
"Framework :: OpenTelemetry :: Exporters",
1919
"Intended Audience :: Developers",
20-
"License :: OSI Approved :: Apache Software License",
2120
"Programming Language :: Python",
2221
"Programming Language :: Python :: 3",
2322
"Programming Language :: Python :: 3.9",

exporter/opentelemetry-exporter-otlp-proto-http/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-exporter-otlp-proto-http"
77
dynamic = ["version"]
88
description = "OpenTelemetry Collector Protobuf over HTTP Exporter"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -17,7 +17,6 @@ classifiers = [
1717
"Framework :: OpenTelemetry",
1818
"Framework :: OpenTelemetry :: Exporters",
1919
"Intended Audience :: Developers",
20-
"License :: OSI Approved :: Apache Software License",
2120
"Programming Language :: Python",
2221
"Programming Language :: Python :: 3",
2322
"Programming Language :: Python :: 3.9",

exporter/opentelemetry-exporter-otlp/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-exporter-otlp"
77
dynamic = ["version"]
88
description = "OpenTelemetry Collector Exporters"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -17,7 +17,6 @@ classifiers = [
1717
"Framework :: OpenTelemetry",
1818
"Framework :: OpenTelemetry :: Exporters",
1919
"Intended Audience :: Developers",
20-
"License :: OSI Approved :: Apache Software License",
2120
"Programming Language :: Python",
2221
"Programming Language :: Python :: 3",
2322
"Programming Language :: Python :: 3.9",

exporter/opentelemetry-exporter-prometheus/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-exporter-prometheus"
77
dynamic = ["version"]
88
description = "Prometheus Metric Exporter for OpenTelemetry"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -17,7 +17,6 @@ classifiers = [
1717
"Framework :: OpenTelemetry",
1818
"Framework :: OpenTelemetry :: Exporters",
1919
"Intended Audience :: Developers",
20-
"License :: OSI Approved :: Apache Software License",
2120
"Programming Language :: Python",
2221
"Programming Language :: Python :: 3",
2322
"Programming Language :: Python :: 3.9",

exporter/opentelemetry-exporter-zipkin-json/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-exporter-zipkin-json"
77
dynamic = ["version"]
88
description = "Zipkin Span JSON Exporter for OpenTelemetry"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -17,7 +17,6 @@ classifiers = [
1717
"Framework :: OpenTelemetry",
1818
"Framework :: OpenTelemetry :: Exporters",
1919
"Intended Audience :: Developers",
20-
"License :: OSI Approved :: Apache Software License",
2120
"Programming Language :: Python",
2221
"Programming Language :: Python :: 3",
2322
"Programming Language :: Python :: 3.9",

exporter/opentelemetry-exporter-zipkin-proto-http/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-exporter-zipkin-proto-http"
77
dynamic = ["version"]
88
description = "Zipkin Span Protobuf Exporter for OpenTelemetry"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -17,7 +17,6 @@ classifiers = [
1717
"Framework :: OpenTelemetry",
1818
"Framework :: OpenTelemetry :: Exporters",
1919
"Intended Audience :: Developers",
20-
"License :: OSI Approved :: Apache Software License",
2120
"Programming Language :: Python",
2221
"Programming Language :: Python :: 3",
2322
"Programming Language :: Python :: 3.9",

exporter/opentelemetry-exporter-zipkin/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-exporter-zipkin"
77
dynamic = ["version"]
88
description = "Zipkin Span Exporters for OpenTelemetry"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -17,7 +17,6 @@ classifiers = [
1717
"Framework :: OpenTelemetry",
1818
"Framework :: OpenTelemetry :: Exporters",
1919
"Intended Audience :: Developers",
20-
"License :: OSI Approved :: Apache Software License",
2120
"Programming Language :: Python",
2221
"Programming Language :: Python :: 3",
2322
"Programming Language :: Python :: 3.9",

opentelemetry-api/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66
name = "opentelemetry-api"
77
description = "OpenTelemetry Python API"
88
readme = "README.rst"
9-
license = {text = "Apache-2.0"}
9+
license = "Apache-2.0"
1010
requires-python = ">=3.9"
1111
authors = [
1212
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -15,7 +15,6 @@ classifiers = [
1515
"Development Status :: 5 - Production/Stable",
1616
"Framework :: OpenTelemetry",
1717
"Intended Audience :: Developers",
18-
"License :: OSI Approved :: Apache Software License",
1918
"Programming Language :: Python",
2019
"Programming Language :: Python :: 3",
2120
"Programming Language :: Python :: 3.9",

opentelemetry-proto/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-proto"
77
dynamic = ["version"]
88
description = "OpenTelemetry Python Proto"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -16,7 +16,6 @@ classifiers = [
1616
"Development Status :: 5 - Production/Stable",
1717
"Framework :: OpenTelemetry",
1818
"Intended Audience :: Developers",
19-
"License :: OSI Approved :: Apache Software License",
2019
"Programming Language :: Python",
2120
"Programming Language :: Python :: 3",
2221
"Programming Language :: Python :: 3.9",

opentelemetry-sdk/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-sdk"
77
dynamic = ["version"]
88
description = "OpenTelemetry Python SDK"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -16,7 +16,6 @@ classifiers = [
1616
"Development Status :: 5 - Production/Stable",
1717
"Framework :: OpenTelemetry",
1818
"Intended Audience :: Developers",
19-
"License :: OSI Approved :: Apache Software License",
2019
"Programming Language :: Python",
2120
"Programming Language :: Python :: 3",
2221
"Programming Language :: Python :: 3.9",

opentelemetry-semantic-conventions/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-semantic-conventions"
77
dynamic = ["version"]
88
description = "OpenTelemetry Semantic Conventions"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -16,7 +16,6 @@ classifiers = [
1616
"Development Status :: 5 - Production/Stable",
1717
"Framework :: OpenTelemetry",
1818
"Intended Audience :: Developers",
19-
"License :: OSI Approved :: Apache Software License",
2019
"Programming Language :: Python",
2120
"Programming Language :: Python :: 3",
2221
"Programming Language :: Python :: 3.9",

propagator/opentelemetry-propagator-b3/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-propagator-b3"
77
dynamic = ["version"]
88
description = "OpenTelemetry B3 Propagator"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -16,7 +16,6 @@ classifiers = [
1616
"Development Status :: 5 - Production/Stable",
1717
"Framework :: OpenTelemetry",
1818
"Intended Audience :: Developers",
19-
"License :: OSI Approved :: Apache Software License",
2019
"Programming Language :: Python",
2120
"Programming Language :: Python :: 3",
2221
"Programming Language :: Python :: 3.9",

propagator/opentelemetry-propagator-jaeger/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-propagator-jaeger"
77
dynamic = ["version"]
88
description = "OpenTelemetry Jaeger Propagator"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -16,7 +16,6 @@ classifiers = [
1616
"Development Status :: 5 - Production/Stable",
1717
"Framework :: OpenTelemetry",
1818
"Intended Audience :: Developers",
19-
"License :: OSI Approved :: Apache Software License",
2019
"Programming Language :: Python",
2120
"Programming Language :: Python :: 3",
2221
"Programming Language :: Python :: 3.9",

shim/opentelemetry-opencensus-shim/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-opencensus-shim"
77
dynamic = ["version"]
88
description = "OpenCensus Shim for OpenTelemetry"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -16,7 +16,6 @@ classifiers = [
1616
"Development Status :: 4 - Beta",
1717
"Framework :: OpenTelemetry",
1818
"Intended Audience :: Developers",
19-
"License :: OSI Approved :: Apache Software License",
2019
"Programming Language :: Python",
2120
"Programming Language :: Python :: 3",
2221
"Programming Language :: Python :: 3.9",

shim/opentelemetry-opentracing-shim/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-opentracing-shim"
77
dynamic = ["version"]
88
description = "OpenTracing Shim for OpenTelemetry"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -16,7 +16,6 @@ classifiers = [
1616
"Development Status :: 4 - Beta",
1717
"Framework :: OpenTelemetry",
1818
"Intended Audience :: Developers",
19-
"License :: OSI Approved :: Apache Software License",
2019
"Programming Language :: Python",
2120
"Programming Language :: Python :: 3",
2221
"Programming Language :: Python :: 3.9",

tests/opentelemetry-test-utils/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opentelemetry-test-utils"
77
dynamic = ["version"]
88
description = "Test utilities for OpenTelemetry unit tests"
99
readme = "README.rst"
10-
license = {text = "Apache-2.0"}
10+
license = "Apache-2.0"
1111
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "[email protected]" },
@@ -16,7 +16,6 @@ classifiers = [
1616
"Development Status :: 4 - Beta",
1717
"Framework :: OpenTelemetry",
1818
"Intended Audience :: Developers",
19-
"License :: OSI Approved :: Apache Software License",
2019
"Programming Language :: Python",
2120
"Programming Language :: Python :: 3",
2221
"Programming Language :: Python :: 3.9",

0 commit comments

Comments
 (0)