Skip to content

Commit bea5551

Browse files
authored
Merge branch 'main' into rbtz/expHistToJson
2 parents cf8e61a + 190f3cc commit bea5551

File tree

9 files changed

+14
-5
lines changed

9 files changed

+14
-5
lines changed

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
key: v3-tox-cache-${{ env.RUN_MATRIX_COMBINATION }}-${{ hashFiles('tox.ini',
3737
'dev-requirements.txt') }}-core
3838
- name: Run tox
39-
run: tox -f ${{ matrix.python-version }}-sdk -- -k opentelemetry-sdk/tests/performance/benchmarks --benchmark-json=output.json
39+
run: tox -f ${{ matrix.python-version }}-sdk -- -k opentelemetry-sdk/tests/performance/benchmarks --benchmark-json=opentelemetry-sdk/tests/output.json
4040
- name: Report on SDK benchmark results
4141
uses: benchmark-action/github-action-benchmark@v1
4242
with:

CHANGELOG.md

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

1010
- Fix python 3.12 deprecation warning
1111
([#3751](https://github.com/open-telemetry/opentelemetry-python/pull/3751))
12+
- bump mypy to 0.982
13+
([#3776](https://github.com/open-telemetry/opentelemetry-python/pull/3776))
1214

1315
## Version 1.23.0/0.44b0 (2024-02-23)
1416

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ flake8==6.1.0
33
isort==5.12.0
44
black==22.3.0
55
httpretty==1.1.4
6-
mypy==0.931
6+
mypy==0.982
77
sphinx==7.1.2
88
sphinx-rtd-theme==2.0.0rc4
99
sphinx-autodoc-typehints==1.25.2

docs/examples/logs/otel-collector-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ processors:
1313
service:
1414
pipelines:
1515
logs:
16+
receivers: [otlp]
17+
processors: [batch]
18+
exporters: [logging]
19+
traces:
1620
receivers: [otlp]
1721
processors: [batch]
1822
exporters: [logging]

opentelemetry-api/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies = [
2727
"Deprecated >= 1.2.6",
2828
# FIXME This should be able to be removed after 3.12 is released if there is a reliable API
2929
# in importlib.metadata.
30-
"importlib-metadata >= 6.0, < 7.0",
30+
"importlib-metadata >= 6.0, <= 7.0",
3131
]
3232
dynamic = [
3333
"version",

opentelemetry-api/src/opentelemetry/context/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def _load_runtime_context(func: _F) -> _F:
3939
"""
4040

4141
@wraps(func) # type: ignore[misc]
42-
def wrapper( # type: ignore[misc]
42+
def wrapper(
4343
*args: typing.Tuple[typing.Any, typing.Any],
4444
**kwargs: typing.Dict[typing.Any, typing.Any],
4545
) -> typing.Optional[typing.Any]:

opentelemetry-api/src/opentelemetry/trace/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def start_span(self, *args, **kwargs) -> Span: # type: ignore
432432
return self._tracer.start_span(*args, **kwargs) # type: ignore
433433

434434
@contextmanager # type: ignore
435-
def start_as_current_span(self, *args, **kwargs) -> Iterator[Span]: # type: ignore
435+
def start_as_current_span(self, *args, **kwargs) -> Iterator[Span]:
436436
with self._tracer.start_as_current_span(*args, **kwargs) as span: # type: ignore
437437
yield span
438438

scripts/generate_website_docs.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2+
set -e
3+
24
# this script generates the documentation required for
35
# opentelemetry.io
46

scripts/semconv/generate.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
set -e
23

34
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
45
ROOT_DIR="${SCRIPT_DIR}/../../"

0 commit comments

Comments
 (0)