Skip to content

Commit 1124845

Browse files
authored
Merge branch 'main' into up-ruff-rule
2 parents 9d7d628 + 0844b5e commit 1124845

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3838
([#5120](https://github.com/open-telemetry/opentelemetry-python/pull/5120))
3939
- Add WeaverLiveCheck test util
4040
([#5088](https://github.com/open-telemetry/opentelemetry-python/pull/5088))
41+
- Fix incorrect type annotation on `detectors` parameter of `get_aggregated_resources`
42+
([#5135](https://github.com/open-telemetry/opentelemetry-python/pull/5135))
4143
- ci: wait for tracecontext server readiness instead of a fixed sleep in `scripts/tracecontext-integration-test.sh`
4244
([#5149](https://github.com/open-telemetry/opentelemetry-python/pull/5149))
4345

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ requests==2.32.3
1414
ruamel.yaml==0.17.21
1515
asgiref==3.7.2
1616
psutil==7.2.2
17-
GitPython==3.1.41
17+
GitPython==3.1.47
1818
pre-commit==3.7.0
1919
ruff==0.14.1

opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
import socket
6868
import sys
6969
import typing
70+
from collections.abc import Sequence
7071
from json import dumps
7172
from os import environ
7273
from types import ModuleType
@@ -515,7 +516,7 @@ def detect(self) -> "Resource":
515516

516517

517518
def get_aggregated_resources(
518-
detectors: list["ResourceDetector"],
519+
detectors: Sequence["ResourceDetector"],
519520
initial_resource: Resource | None = None,
520521
timeout: int = 5,
521522
) -> "Resource":

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ commands_post =
344344
[testenv:public-symbols-check]
345345
recreate = True
346346
deps =
347-
GitPython==3.1.40
347+
GitPython==3.1.47
348348
griffe==1.7.3
349349
toml
350350
commands =

0 commit comments

Comments
 (0)