Skip to content

Commit 8673b45

Browse files
committed
Merge remote-tracking branch 'origin/main' into retry2
2 parents 096b9f8 + c9ad4bc commit 8673b45

File tree

70 files changed

+286
-879
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+286
-879
lines changed

.github/workflows/fossa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616

17-
- uses: fossas/fossa-action@c0a7d013f84c8ee5e910593186598625513cc1e4 # v1.6.0
17+
- uses: fossas/fossa-action@3ebcea1862c6ffbd5cf1b4d0bd6b3fe7bd6f2cac # v1.7.0
1818
with:
1919
api-key: ${{secrets.FOSSA_API_KEY}}
2020
team: OpenTelemetry

CHANGELOG.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
- typecheck: add sdk/resources and drop mypy
1111
([#4578](https://github.com/open-telemetry/opentelemetry-python/pull/4578))
12-
- Refactor `BatchLogRecordProcessor` to simplify code and make the control flow more
13-
clear ([#4562](https://github.com/open-telemetry/opentelemetry-python/pull/4562/)
14-
and [#4535](https://github.com/open-telemetry/opentelemetry-python/pull/4535)).
1512
- Update OTLP gRPC/HTTP exporters: the export timeout is now inclusive of all retries and backoffs,
1613
and an unnecessary 32 second sleep that occurred after all retries had completed/failed was removed.
1714
Update gRPC OTLP Exporters to use official gRPC retry policy config. The `RetryInfo` proto in the error
1815
response will now be ignored, and server's should now use the gRPC supported header `grpc-retry-pushback-ms`.
1916
([#4564](https://github.com/open-telemetry/opentelemetry-python/pull/4564)).
17+
- Use PEP702 for marking deprecations
18+
([#4522](https://github.com/open-telemetry/opentelemetry-python/pull/4522))
19+
- Refactor `BatchLogRecordProcessor` and `BatchSpanProcessor` to simplify code
20+
and make the control flow more clear ([#4562](https://github.com/open-telemetry/opentelemetry-python/pull/4562/)
21+
[#4535](https://github.com/open-telemetry/opentelemetry-python/pull/4535), and
22+
[#4580](https://github.com/open-telemetry/opentelemetry-python/pull/4580)).
2023
- Remove log messages from `BatchLogRecordProcessor.emit`, this caused the program
2124
to crash at shutdown with a max recursion error ([#4586](https://github.com/open-telemetry/opentelemetry-python/pull/4586)).
2225
- Configurable max retry timeout for grpc exporter
2326
([#4333](https://github.com/open-telemetry/opentelemetry-python/pull/4333))
2427
- opentelemetry-api: allow importlib-metadata 8.7.0
2528
([#4593](https://github.com/open-telemetry/opentelemetry-python/pull/4593))
29+
- opentelemetry-test-utils: assert explicit bucket boundaries in histogram metrics
30+
([#4595](https://github.com/open-telemetry/opentelemetry-python/pull/4595))
2631

2732
## Version 1.33.0/0.54b0 (2025-05-09)
2833

RELEASING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@
2222
* Press the "Run workflow" button, then select the release branch from the dropdown list,
2323
e.g. `release/v1.9.x`, then enter the pull request number that you want to backport,
2424
then click the "Run workflow" button below that.
25+
* Add the label `backport` to the generated pull request.
26+
* In case label automation doesn't work, just close and reopen the PR so that the workflow will take into account the label automation we have in place.
2527
* Review and merge the backport pull request that it generates.
2628
* Merge a pull request to the release branch updating the `CHANGELOG.md`.
2729
* The heading for the unreleased entries should be `## Unreleased`.
2830
* Run the [Prepare patch release workflow](https://github.com/open-telemetry/opentelemetry-python/actions/workflows/prepare-patch-release.yml).
2931
* Press the "Run workflow" button, then select the release branch from the dropdown list,
3032
e.g. `release/v1.9.x`, and click the "Run workflow" button below that.
3133
* Review and merge the pull request that it creates for updating the version.
34+
* Note: If you are doing a patch release in `-core` repo, you should also do an equivalent patch release in `-contrib` repo (even if there's no fix to release), otherwise tests in CI will fail.
3235

3336
## Making the release
3437

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
Deprecated==1.2.13
21
opentelemetry-api==1.15.0
32
opentelemetry-sdk==1.15.0
43
opentelemetry-semantic-conventions==0.36b0
5-
typing_extensions==4.3.0
4+
typing_extensions==4.5.0
65
wrapt==1.14.1
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
Deprecated==1.2.13
21
opentelemetry-api==1.12.0
32
opentelemetry-sdk==1.12.0
43
opentelemetry-semantic-conventions==0.33b0
5-
typing_extensions==4.3.0
4+
typing_extensions==4.5.0
65
wrapt==1.14.1

docs/getting_started/tests/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ attrs==23.1.0
33
certifi==2024.7.4
44
charset-normalizer==2.0.12
55
click==8.1.7
6-
Deprecated==1.2.14
76
Flask==2.3.3
87
idna==3.7
98
importlib-metadata==6.8.0

exporter/opentelemetry-exporter-opencensus/test-requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
asgiref==3.7.2
2-
Deprecated==1.2.14
32
grpcio==1.66.2
43
importlib-metadata==6.11.0
54
iniconfig==2.0.0

exporter/opentelemetry-exporter-otlp-proto-common/test-requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
asgiref==3.7.2
2-
Deprecated==1.2.14
32
importlib-metadata==6.11.0
43
iniconfig==2.0.0
54
requests == 2.7.0

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ classifiers = [
2828
"Programming Language :: Python :: 3.13",
2929
]
3030
dependencies = [
31-
"Deprecated >= 1.2.6",
3231
"googleapis-common-protos ~= 1.52",
3332
"grpcio >= 1.63.2, < 2.0.0; python_version < '3.13'",
3433
"grpcio >= 1.66.2, < 2.0.0; python_version >= '3.13'",
3534
"opentelemetry-api ~= 1.15",
3635
"opentelemetry-proto == 1.34.0.dev",
3736
"opentelemetry-sdk ~= 1.34.0.dev",
3837
"opentelemetry-exporter-otlp-proto-common == 1.34.0.dev",
38+
"typing-extensions >= 4.5.0",
3939
]
4040

4141
[project.entry-points.opentelemetry_logs_exporter]

exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/exporter.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from typing import Sequence as TypingSequence
3535
from urllib.parse import urlparse
3636

37-
from deprecated import deprecated
37+
from typing_extensions import deprecated
3838

3939
from grpc import (
4040
ChannelCredentials,
@@ -135,8 +135,7 @@ def environ_to_compression(environ_key: str) -> Optional[Compression]:
135135

136136

137137
@deprecated(
138-
version="1.18.0",
139-
reason="Use one of the encoders from opentelemetry-exporter-otlp-proto-common instead",
138+
"Use one of the encoders from opentelemetry-exporter-otlp-proto-common instead. Deprecated since version 1.18.0.",
140139
)
141140
def get_resource_data(
142141
sdk_resource_scope_data: Dict[SDKResource, ResourceDataT],

0 commit comments

Comments
 (0)