Skip to content

Commit 3f25e53

Browse files
authored
Merge branch 'main' into update-span-format-docstrings
2 parents 51a87d0 + c9ad4bc commit 3f25e53

File tree

104 files changed

+893
-1353
lines changed

Some content is hidden

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

104 files changed

+893
-1353
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

.github/workflows/misc_0.yml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -66,44 +66,6 @@ jobs:
6666
- name: Run tests
6767
run: tox -e tracecontext
6868

69-
mypy:
70-
name: mypy
71-
runs-on: ubuntu-latest
72-
timeout-minutes: 30
73-
steps:
74-
- name: Checkout repo @ SHA - ${{ github.sha }}
75-
uses: actions/checkout@v4
76-
77-
- name: Set up Python 3.11
78-
uses: actions/setup-python@v5
79-
with:
80-
python-version: "3.11"
81-
82-
- name: Install tox
83-
run: pip install tox
84-
85-
- name: Run tests
86-
run: tox -e mypy
87-
88-
mypyinstalled:
89-
name: mypyinstalled
90-
runs-on: ubuntu-latest
91-
timeout-minutes: 30
92-
steps:
93-
- name: Checkout repo @ SHA - ${{ github.sha }}
94-
uses: actions/checkout@v4
95-
96-
- name: Set up Python 3.11
97-
uses: actions/setup-python@v5
98-
with:
99-
python-version: "3.11"
100-
101-
- name: Install tox
102-
run: pip install tox
103-
104-
- name: Run tests
105-
run: tox -e mypyinstalled
106-
10769
typecheck:
10870
name: typecheck
10971
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
- typecheck: add sdk/resources and drop mypy
11+
([#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)).
15+
- Use PEP702 for marking deprecations
16+
([#4522](https://github.com/open-telemetry/opentelemetry-python/pull/4522))
17+
- Refactor `BatchLogRecordProcessor` and `BatchSpanProcessor` to simplify code
18+
and make the control flow more clear ([#4562](https://github.com/open-telemetry/opentelemetry-python/pull/4562/)
19+
[#4535](https://github.com/open-telemetry/opentelemetry-python/pull/4535), and
20+
[#4580](https://github.com/open-telemetry/opentelemetry-python/pull/4580)).
21+
- Remove log messages from `BatchLogRecordProcessor.emit`, this caused the program
22+
to crash at shutdown with a max recursion error ([#4586](https://github.com/open-telemetry/opentelemetry-python/pull/4586)).
23+
- Configurable max retry timeout for grpc exporter
24+
([#4333](https://github.com/open-telemetry/opentelemetry-python/pull/4333))
25+
- opentelemetry-api: allow importlib-metadata 8.7.0
26+
([#4593](https://github.com/open-telemetry/opentelemetry-python/pull/4593))
27+
- opentelemetry-test-utils: assert explicit bucket boundaries in histogram metrics
28+
([#4595](https://github.com/open-telemetry/opentelemetry-python/pull/4595))
29+
30+
## Version 1.33.0/0.54b0 (2025-05-09)
31+
1032
- Fix intermittent `Connection aborted` error when using otlp/http exporters
1133
([#4477](https://github.com/open-telemetry/opentelemetry-python/pull/4477))
1234
- opentelemetry-sdk: use stable code attributes: `code.function` -> `code.function.name`, `code.lineno` -> `code.line.number`, `code.filepath` -> `code.file.path`

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ For additional exporter and instrumentation packages, see the
9191

9292
For information about contributing to OpenTelemetry Python, see [CONTRIBUTING.md](CONTRIBUTING.md).
9393

94-
We meet weekly on Thursdays at 9AM PST. The meeting is subject to change depending on contributors' availability. Check the [OpenTelemetry community calendar](https://calendar.google.com/calendar/embed?src=google.com_b79e3e90j7bbsa2n2p5an5lf60%40group.calendar.google.com) for specific dates and Zoom meeting links.
94+
We meet weekly on Thursdays at 9AM PST. The meeting is subject to change depending on contributors' availability. Check the [OpenTelemetry community calendar](https://calendar.google.com/calendar/embed?src=c_2bf73e3b6b530da4babd444e72b76a6ad893a5c3f43cf40467abc7a9a897f977%40group.calendar.google.com) for specific dates and Zoom meeting links.
9595

9696
Meeting notes are available as a public [Google doc](https://docs.google.com/document/d/1CIMGoIOZ-c3-igzbd6_Pnxx1SjAkjwqoYSUWxPY8XIs/edit).
9797

RELEASING.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
(otherwise the workflow will pick up the version from `main` and just remove the `.dev` suffix).
1010
* Review the two pull requests that it creates.
1111
(one is targeted to the release branch and one is targeted to `main`).
12-
* The builds will fail for both the `main` and release pr because of validation rules. Follow the [release workflow](https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/RELEASING.md) for the contrib repo up until this same point.
13-
* Change the CONTRIB_REPO_SHA of core PRs to point to their counterpart in contrib.
14-
* Change the CORE_REPO_SHA of contrib PRs to point to their counterpart in core.
12+
* The builds will fail for the release PR because of validation rules. Follow the [release workflow](https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/RELEASING.md) for the contrib repo up until this same point.
13+
* Close and reopen the PR so that the workflow will take into account the label automation we have in place
1514
* Release builds now should pass.
1615
* Merge the release PR.
1716
* Merge the PR to main (this can be done separately from [making the release](#making-the-release))
@@ -23,13 +22,16 @@
2322
* Press the "Run workflow" button, then select the release branch from the dropdown list,
2423
e.g. `release/v1.9.x`, then enter the pull request number that you want to backport,
2524
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.
2627
* Review and merge the backport pull request that it generates.
2728
* Merge a pull request to the release branch updating the `CHANGELOG.md`.
2829
* The heading for the unreleased entries should be `## Unreleased`.
2930
* Run the [Prepare patch release workflow](https://github.com/open-telemetry/opentelemetry-python/actions/workflows/prepare-patch-release.yml).
3031
* Press the "Run workflow" button, then select the release branch from the dropdown list,
3132
e.g. `release/v1.9.x`, and click the "Run workflow" button below that.
3233
* 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.
3335

3436
## Making the release
3537

dev-requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
pylint==3.3.4
22
httpretty==1.1.4
33
pyright==1.1.396
4-
mypy==1.9.0
54
sphinx==7.1.2
65
sphinx-rtd-theme==2.0.0rc4
76
sphinx-autodoc-typehints==1.25.2
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

eachdist.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sortfirst=
1111
exporter/*
1212

1313
[stable]
14-
version=1.33.0.dev
14+
version=1.34.0.dev
1515

1616
packages=
1717
opentelemetry-sdk
@@ -27,7 +27,7 @@ packages=
2727
opentelemetry-api
2828

2929
[prerelease]
30-
version=0.54b0.dev
30+
version=0.55b0.dev
3131

3232
packages=
3333
opentelemetry-opentracing-shim

0 commit comments

Comments
 (0)