Skip to content

Commit

Permalink
Merge branch 'main' into add-attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
lzchen committed Jul 5, 2024
2 parents 93811f7 + de8b9e0 commit 402448a
Show file tree
Hide file tree
Showing 26 changed files with 8 additions and 48 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,12 @@ jobs:
- name: Windows does not let git check out files with long names
if: ${{ matrix.os == 'windows-2019'}}
run: git config --system core.longpaths true
- name: run tox
- name: run pytest with --benchmark-skip
if: ${{ matrix.package == 'sdk' || matrix.package == 'exporter-otlp-proto-grpc' }}
run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- -ra --benchmark-skip
- name: run pytest without --benchmark-skip
if: ${{ !(matrix.package == 'sdk' || matrix.package == 'exporter-otlp-proto-grpc') }}
run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- -ra
misc:
strategy:
fail-fast: false
Expand Down
1 change: 0 additions & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ ruamel.yaml==0.17.21
asgiref==3.7.2
psutil==5.9.6
GitPython==3.1.41
flaky==3.7.0
pre-commit==3.7.0; python_version >= '3.9'
pre-commit==3.5.0; python_version < '3.9'
2 changes: 0 additions & 2 deletions docs/getting_started/tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ certifi==2023.7.22
charset-normalizer==2.0.12
click==8.1.7
Deprecated==1.2.14
flaky==3.7.0
Flask==2.3.3
idna==3.7
importlib-metadata==6.8.0
Expand All @@ -16,7 +15,6 @@ packaging==24.0
pluggy==1.3.0
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
requests==2.32.3
tomli==2.0.1
typing_extensions==4.8.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
grpcio==1.62.0
importlib-metadata==6.11.0
iniconfig==2.0.0
Expand All @@ -10,7 +9,6 @@ pluggy==1.5.0
protobuf==3.20.3
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
protobuf==3.20.3
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
protobuf==4.25.3
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
googleapis-common-protos==1.62.0
grpcio==1.62.0
importlib-metadata==6.11.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
googleapis-common-protos==1.62.0
grpcio==1.62.0
importlib-metadata==6.11.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ asgiref==3.7.2
certifi==2024.2.2
charset-normalizer==3.3.2
Deprecated==1.2.14
flaky==3.7.0
googleapis-common-protos==1.62.0
idna==3.7
importlib-metadata==6.11.0
Expand All @@ -12,7 +11,6 @@ pluggy==1.5.0
protobuf==3.20.3
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
PyYAML==6.0.1
requests==2.32.3
responses==0.24.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ asgiref==3.7.2
certifi==2024.2.2
charset-normalizer==3.3.2
Deprecated==1.2.14
flaky==3.7.0
googleapis-common-protos==1.62.0
idna==3.7
importlib-metadata==6.11.0
Expand All @@ -12,7 +11,6 @@ pluggy==1.5.0
protobuf==4.25.3
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
PyYAML==6.0.1
requests==2.32.3
responses==0.24.1
Expand Down
2 changes: 0 additions & 2 deletions exporter/opentelemetry-exporter-otlp/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
prometheus_client==0.20.0
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ asgiref==3.7.2
certifi==2024.2.2
charset-normalizer==3.3.2
Deprecated==1.2.14
flaky==3.7.0
idna==3.7
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
requests==2.32.3
tomli==2.0.1
typing_extensions==4.10.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ asgiref==3.7.2
certifi==2024.2.2
charset-normalizer==3.3.2
Deprecated==1.2.14
flaky==3.7.0
idna==3.7
importlib-metadata==6.11.0
iniconfig==2.0.0
Expand All @@ -11,7 +10,6 @@ pluggy==1.5.0
protobuf==3.20.3
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
requests==2.32.3
tomli==2.0.1
typing_extensions==4.10.0
Expand Down
2 changes: 0 additions & 2 deletions exporter/opentelemetry-exporter-zipkin/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
Expand Down
1 change: 1 addition & 0 deletions mypy-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mypy==1.9.0
2 changes: 0 additions & 2 deletions opentelemetry-api/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
Expand Down
2 changes: 0 additions & 2 deletions opentelemetry-proto/test-requirements-0.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
protobuf==3.20.3
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
Expand Down
2 changes: 0 additions & 2 deletions opentelemetry-proto/test-requirements-1.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
protobuf==4.25.3
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
Expand Down
2 changes: 0 additions & 2 deletions opentelemetry-semantic-conventions/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
Expand Down
2 changes: 0 additions & 2 deletions shim/opentelemetry-opencensus-shim/test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ cachetools==5.3.3
certifi==2024.2.2
charset-normalizer==3.3.2
Deprecated==1.2.14
flaky==3.7.0
google-api-core==2.17.1
google-auth==2.28.1
googleapis-common-protos==1.62.0
Expand All @@ -21,7 +20,6 @@ py-cpuinfo==9.0.0
pyasn1==0.5.1
pyasn1-modules==0.3.0
pytest==7.4.4
pytest-benchmark==4.0.0
requests==2.32.3
rsa==4.9
six==1.16.0
Expand Down
2 changes: 0 additions & 2 deletions shim/opentelemetry-opentracing-shim/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
importlib-metadata==6.11.0
iniconfig==2.0.0
opentracing==2.4.0
packaging==24.0
pluggy==1.5.0
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
Expand Down
2 changes: 0 additions & 2 deletions tests/opentelemetry-test-utils/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
asgiref==3.7.2
Deprecated==1.2.14
flaky==3.7.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
py-cpuinfo==9.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
wrapt==1.16.0
Expand Down
7 changes: 2 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,8 @@ envlist =

[testenv]
deps =
-c dev-requirements.txt
opentelemetry: pytest
opentelemetry: pytest-benchmark
opentelemetry: flaky
coverage: pytest
coverage: pytest-cov
mypy,mypyinstalled: mypy

; proto 3 and 4 tests install the respective version of protobuf
proto3: protobuf~=3.19.0
Expand All @@ -113,6 +108,8 @@ setenv =

commands_pre =

mypy,mypyinstalled: pip install -r {toxinidir}/mypy-requirements.txt

api: pip install -r {toxinidir}/opentelemetry-api/test-requirements.txt

sdk: pip install -r {toxinidir}/opentelemetry-sdk/test-requirements.txt
Expand Down

0 comments on commit 402448a

Please sign in to comment.