Skip to content

Commit d12fb71

Browse files
a-recknagelArne Caratti
authored andcommitted
Merge remote-tracking branch 'origin/main'
1 parent c9b48cf commit d12fb71

File tree

31 files changed

+283
-159
lines changed

31 files changed

+283
-159
lines changed

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
python-version: ${{ env[matrix.python-version] }}
2626
architecture: 'x64'
2727
- name: Install tox
28-
run: pip install tox==3.27.1 -U tox-factor
28+
run: pip install tox
2929
- name: Cache tox environment
3030
# Preserves .tox directory between runs for faster installs
3131
uses: actions/cache@v2

.github/workflows/public-api-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
python-version: '3.10'
3535

3636
- name: Install tox
37-
run: pip install tox==3.27.1 -U tox-factor
37+
run: pip install tox
3838

3939
- name: Public API Check
4040
run: tox -e public-symbols-check

.github/workflows/test.yml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
# Otherwise, set variable to the commit of your branch on
1111
# opentelemetry-python-contrib which is compatible with these Core repo
1212
# changes.
13-
CONTRIB_REPO_SHA: 2977f143df1d474735e8bdfecd91d92d534e80dc
13+
CONTRIB_REPO_SHA: 1a984d3ba18d4080c58485b7d807dba241179d41
1414
# This is needed because we do not clone the core repo in contrib builds anymore.
1515
# When running contrib builds as part of core builds, we use actions/checkout@v2 which
1616
# does not set an environment variable (simply just runs tox), which is different when
@@ -42,9 +42,6 @@ jobs:
4242
- "getting-started"
4343
- "opentracing-shim"
4444
- "opencensus-shim"
45-
- "exporter-jaeger-combined"
46-
- "exporter-jaeger-proto-grpc"
47-
- "exporter-jaeger-thrift"
4845
- "exporter-opencensus"
4946
- "exporter-otlp-proto-common"
5047
- "exporter-otlp-combined"
@@ -58,6 +55,16 @@ jobs:
5855
- "propagator-b3"
5956
- "propagator-jaeger"
6057
os: [ubuntu-20.04, windows-2019]
58+
exclude:
59+
- python-version: pypy3
60+
package: "opencensus-shim"
61+
- python-version: pypy3
62+
package: "exporter-opencensus"
63+
- python-version: pypy3
64+
package: "exporter-otlp-combined"
65+
- python-version: pypy3
66+
package: "exporter-otlp-proto-grpc"
67+
6168
steps:
6269
- name: Checkout Core Repo @ SHA - ${{ github.sha }}
6370
uses: actions/checkout@v2
@@ -67,15 +74,15 @@ jobs:
6774
python-version: ${{ env[matrix.python-version] }}
6875
architecture: 'x64'
6976
- name: Install tox
70-
run: pip install tox==3.27.1 -U tox-factor
77+
run: pip install tox
7178
- name: Cache tox environment
7279
# Preserves .tox directory between runs for faster installs
7380
uses: actions/cache@v2
7481
with:
7582
path: |
7683
.tox
7784
~/.cache/pip
78-
key: v3-tox-cache-${{ env.RUN_MATRIX_COMBINATION }}-${{ hashFiles('tox.ini',
85+
key: v4-tox-cache-${{ env.RUN_MATRIX_COMBINATION }}-${{ hashFiles('tox.ini',
7986
'dev-requirements.txt') }}-core
8087
- name: Windows does not let git check out files with long names
8188
if: ${{ matrix.os == 'windows-2019'}}
@@ -100,15 +107,15 @@ jobs:
100107
python-version: '3.10'
101108
architecture: 'x64'
102109
- name: Install tox
103-
run: pip install tox==3.27.1
110+
run: pip install tox
104111
- name: Cache tox environment
105112
# Preserves .tox directory between runs for faster installs
106113
uses: actions/cache@v2
107114
with:
108115
path: |
109116
.tox
110117
~/.cache/pip
111-
key: v3-tox-cache-${{ matrix.tox-environment }}-${{ hashFiles('tox.ini', 'dev-requirements.txt')
118+
key: v4-tox-cache-${{ matrix.tox-environment }}-${{ hashFiles('tox.ini', 'dev-requirements.txt')
112119
}}-core
113120
- name: run tox
114121
run: tox -e ${{ matrix.tox-environment }}
@@ -169,7 +176,7 @@ jobs:
169176
- "tornado"
170177
- "tortoiseorm"
171178
- "urllib"
172-
- "urllib3"
179+
- "urllib3v"
173180
- "wsgi"
174181
- "prometheus-remote-write"
175182
- "richconsole"
@@ -191,7 +198,7 @@ jobs:
191198
python-version: ${{ env[matrix.python-version] }}
192199
architecture: 'x64'
193200
- name: Install tox
194-
run: pip install tox==3.27.1 -U tox-factor
201+
run: pip install tox
195202
- name: Cache tox environment
196203
# Preserves .tox directory between runs for faster installs
197204
uses: actions/cache@v2

.pylintrc

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ disable=missing-docstring,
7676
unused-argument, # temp-pylint-upgrade
7777
redefined-builtin,
7878
cyclic-import,
79+
broad-exception-raised,
7980

8081
# Enable the message, report, category or checker with the given id(s). You can
8182
# either give multiple identifier separated by comma (,) or put this option
@@ -480,10 +481,3 @@ max-statements=50
480481

481482
# Minimum number of public methods for a class (see R0903).
482483
min-public-methods=2
483-
484-
485-
[EXCEPTIONS]
486-
487-
# Exceptions that will emit a warning when being caught. Defaults to
488-
# "Exception".
489-
overgeneral-exceptions=Exception

CHANGELOG.md

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

88
## Unreleased
99

10+
- Fix flush error when no LoggerProvider configured for LoggingHandler
11+
([#3608](https://github.com/open-telemetry/opentelemetry-python/pull/3608))
12+
- Fix `OTLPMetricExporter` ignores `preferred_aggregation` property
13+
([#3603](https://github.com/open-telemetry/opentelemetry-python/pull/3603))
14+
- Logs: set `observed_timestamp` field
15+
([#3565](https://github.com/open-telemetry/opentelemetry-python/pull/3565))
1016
- Add missing Resource SchemaURL in OTLP exporters
1117
([#3652](https://github.com/open-telemetry/opentelemetry-python/pull/3652))
1218
- Fix loglevel warning text
@@ -35,6 +41,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3541
([#3645](https://github.com/open-telemetry/opentelemetry-python/pull/3645))
3642
- Add Proxy classes for logging
3743
([#3575](https://github.com/open-telemetry/opentelemetry-python/pull/3575))
44+
- Remove dependency on 'backoff' library
45+
([#3679](https://github.com/open-telemetry/opentelemetry-python/pull/3679))
3846

3947
## Version 1.22.0/0.43b0 (2023-12-15)
4048

CONTRIBUTING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,12 @@ during their normal contribution hours.
3838

3939
This project uses [tox](https://tox.readthedocs.io) to automate
4040
some aspects of development, including testing against multiple Python versions.
41-
To install `tox`, run[^1]:
41+
To install `tox`, run:
4242

4343
```console
44-
$ pip install tox==3.27.1
44+
$ pip install tox
4545
```
4646

47-
[^1]: Right now we are experiencing issues with `tox==4.x.y`, so we recommend you use this version.
48-
4947
You can run `tox` with the following arguments:
5048

5149
- `tox` to run all existing tox commands, including unit tests for all packages

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ requests==2.31.0
1717
ruamel.yaml==0.17.21
1818
asgiref==3.7.2
1919
psutil==5.9.6
20-
GitPython==3.1.40
20+
GitPython==3.1.41
2121
flaky==3.7.0

docs/examples/fork-process-model/flask-gunicorn/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ opentelemetry-instrumentation==0.41b0
1212
opentelemetry-instrumentation-flask==0.41b0
1313
opentelemetry-instrumentation-wsgi==0.41b0
1414
opentelemetry-sdk==1.20.0
15-
protobuf==3.19.4
15+
protobuf==3.19.5
1616
six==1.15.0
1717
thrift==0.13.0
1818
uWSGI==2.0.22

docs/examples/fork-process-model/flask-uwsgi/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ opentelemetry-instrumentation==0.41b0
1212
opentelemetry-instrumentation-flask==0.41b0
1313
opentelemetry-instrumentation-wsgi==0.41b0
1414
opentelemetry-sdk==1.20.0
15-
protobuf==3.19.4
15+
protobuf==3.19.5
1616
six==1.15.0
1717
thrift==0.13.0
1818
uWSGI==2.0.22

docs/getting_started/tests/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ idna==3.4
1010
importlib-metadata==6.8.0
1111
iniconfig==2.0.0
1212
itsdangerous==2.1.2
13-
Jinja2==3.1.2
13+
Jinja2==3.1.3
1414
MarkupSafe==2.1.3
1515
packaging==23.2
1616
pluggy==1.3.0
1717
py==1.11.0
1818
py-cpuinfo==9.0.0
1919
pytest==7.1.3
2020
pytest-benchmark==4.0.0
21-
requests==2.26.0
21+
requests==2.31.0
2222
tomli==2.0.1
2323
typing_extensions==4.8.0
2424
urllib3==1.26.18

0 commit comments

Comments
 (0)