Skip to content

Commit

Permalink
Add Python 3.9 to build
Browse files Browse the repository at this point in the history
  • Loading branch information
gliptak committed Dec 2, 2020
1 parent 50f5c6c commit 9363784
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
py36: 3.6
py37: 3.7
py38: 3.8
py39: 3.9
pypy3: pypy3
runs-on: ${{ matrix.os }}
strategy:
Expand Down
1 change: 1 addition & 0 deletions docs/examples/error_hander/error_handler_0/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

[options]
python_requires = >=3.5
Expand Down
1 change: 1 addition & 0 deletions docs/examples/error_hander/error_handler_1/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

[options]
python_requires = >=3.5
Expand Down
1 change: 1 addition & 0 deletions exporter/opentelemetry-exporter-opencensus/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

[options]
python_requires = >=3.5
Expand Down
1 change: 1 addition & 0 deletions exporter/opentelemetry-exporter-otlp/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

[options]
python_requires = >=3.5
Expand Down
1 change: 1 addition & 0 deletions exporter/opentelemetry-exporter-prometheus/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

[options]
python_requires = >=3.5
Expand Down
1 change: 1 addition & 0 deletions exporter/opentelemetry-exporter-zipkin/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

[options]
python_requires = >=3.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

[options]
python_requires = >=3.5
Expand Down
1 change: 1 addition & 0 deletions opentelemetry-api/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

[options]
python_requires = >=3.5
Expand Down
1 change: 1 addition & 0 deletions opentelemetry-instrumentation/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

[options]
python_requires = >=3.5
Expand Down
1 change: 1 addition & 0 deletions opentelemetry-proto/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

[options]
python_requires = >=3.5
Expand Down
1 change: 1 addition & 0 deletions opentelemetry-sdk/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

[options]
python_requires = >=3.5
Expand Down
1 change: 1 addition & 0 deletions tests/util/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

[options]
python_requires = >=3.5
Expand Down
24 changes: 12 additions & 12 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,47 +5,47 @@ envlist =
; Environments are organized by individual package, allowing
; for specifying supported Python versions per package.
; opentelemetry-api
py3{5,6,7,8}-test-core-api
py3{5,6,7,8,9}-test-core-api
pypy3-test-core-api

; opentelemetry-proto
py3{5,6,7,8}-test-core-proto
py3{5,6,7,8,9}-test-core-proto
pypy3-test-core-proto

; opentelemetry-sdk
py3{5,6,7,8}-test-core-sdk
py3{5,6,7,8,9}-test-core-sdk
pypy3-test-core-sdk

; opentelemetry-instrumentation
py3{5,6,7,8}-test-core-instrumentation
py3{5,6,7,8,9}-test-core-instrumentation
pypy3-test-core-instrumentation

; docs/getting-started
py3{5,6,7,8}-test-core-getting-started
py3{5,6,7,8,9}-test-core-getting-started
pypy3-test-core-getting-started

; opentelemetry-exporter-jaeger
py3{5,6,7,8}-test-exporter-jaeger
py3{5,6,7,8,9}-test-exporter-jaeger
pypy3-test-exporter-jaeger

; opentelemetry-exporter-opencensus
py3{5,6,7,8}-test-exporter-opencensus
py3{5,6,7,8,9}-test-exporter-opencensus
; exporter-opencensus intentionally excluded from pypy3

; opentelemetry-exporter-otlp
py3{5,6,7,8}-test-exporter-otlp
py3{5,6,7,8,9}-test-exporter-otlp
; exporter-otlp intentionally excluded from pypy3

; opentelemetry-exporter-prometheus
py3{5,6,7,8}-test-exporter-prometheus
py3{5,6,7,8,9}-test-exporter-prometheus
pypy3-test-exporter-prometheus

; opentelemetry-exporter-zipkin
py3{5,6,7,8}-test-exporter-zipkin
py3{5,6,7,8,9}-test-exporter-zipkin
pypy3-test-exporter-zipkin

; opentelemetry-opentracing-shim
py3{5,6,7,8}-test-core-opentracing-shim
py3{5,6,7,8,9}-test-core-opentracing-shim
pypy3-test-core-opentracing-shim

lint
Expand Down Expand Up @@ -80,7 +80,7 @@ changedir =

commands_pre =
; Install without -e to test the actual installation
py3{5,6,7,8}: python -m pip install -U pip setuptools wheel
py3{5,6,7,8,9}: python -m pip install -U pip setuptools wheel
; Install common packages for all the tests. These are not needed in all the
; cases but it saves a lot of boilerplate in this file.
test: pip install {toxinidir}/opentelemetry-api {toxinidir}/opentelemetry-sdk {toxinidir}/tests/util
Expand Down

0 comments on commit 9363784

Please sign in to comment.