Skip to content

Commit 3bbc547

Browse files
authored
Add Python 3.9 to build (open-telemetry#1441)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
1 parent 5450e6d commit 3bbc547

File tree

16 files changed

+42
-25
lines changed

16 files changed

+42
-25
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,23 @@ jobs:
2020
py36: 3.6
2121
py37: 3.7
2222
py38: 3.8
23+
py39: 3.9
2324
pypy3: pypy3
2425
runs-on: ${{ matrix.os }}
2526
strategy:
2627
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
2728
matrix:
28-
python-version: [ py35, py36, py37, py38, pypy3 ]
29+
python-version: [ py35, py36, py37, py38, py39, pypy3 ]
2930
package: ["instrumentation", "core", "exporter"]
3031
os: [ ubuntu-latest ]
3132
include:
32-
- python-version: py38
33+
- python-version: py39
3334
package: "tracecontext"
3435
os: ubuntu-latest
35-
- python-version: py38
36+
- python-version: py39
3637
package: "mypy"
3738
os: ubuntu-latest
38-
- python-version: py38
39+
- python-version: py39
3940
package: "mypyinstalled"
4041
os: ubuntu-latest
4142
# py35-instrumentation segfaults on 18.04 so we instead run on 20.04
@@ -85,7 +86,7 @@ jobs:
8586
repository: open-telemetry/opentelemetry-python-contrib
8687
ref: ${{ env.CONTRIB_REPO_SHA }}
8788
path: opentelemetry-python-contrib
88-
- name: Set up Python 3.8
89+
- name: Set up Python
8990
uses: actions/setup-python@v2
9091
with:
9192
python-version: 3.8
@@ -106,12 +107,13 @@ jobs:
106107
py36: 3.6
107108
py37: 3.7
108109
py38: 3.8
110+
py39: 3.9
109111
pypy3: pypy3
110112
runs-on: ${{ matrix.os }}
111113
strategy:
112114
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
113115
matrix:
114-
python-version: [ py35, py36, py37, py38, pypy3 ]
116+
python-version: [ py35, py36, py37, py38, py39, pypy3 ]
115117
package: ["instrumentation", "exporter"]
116118
os: [ ubuntu-latest ]
117119
include:
@@ -166,10 +168,10 @@ jobs:
166168
with:
167169
repository: open-telemetry/opentelemetry-python
168170
path: opentelemetry-python-core
169-
- name: Set up Python 3.8
171+
- name: Set up Python
170172
uses: actions/setup-python@v2
171173
with:
172-
python-version: 3.8
174+
python-version: 3.9
173175
- name: Install tox
174176
run: pip install -U tox
175177
- name: Cache tox environment

CHANGELOG.md

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

77
## [Unreleased](https://github.com/open-telemetry/opentelemetry-python/compare/v0.16b1...HEAD)
88

9+
- Add support for Python 3.9
10+
([#1441](https://github.com/open-telemetry/opentelemetry-python/pull/1441))
11+
912
### Added
1013
- Add `fields` to propagators
1114
([#1374](https://github.com/open-telemetry/opentelemetry-python/pull/1374))

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ pylint==2.4.4
22
flake8~=3.7
33
isort~=4.3
44
black>=19.3b0,==19.*
5-
mypy==0.770
5+
mypy==0.790
66
sphinx~=2.1
77
sphinx-rtd-theme~=0.4
88
sphinx-autodoc-typehints~=1.10.2

docs/examples/error_hander/error_handler_0/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ classifiers =
2929
Programming Language :: Python :: 3.6
3030
Programming Language :: Python :: 3.7
3131
Programming Language :: Python :: 3.8
32+
Programming Language :: Python :: 3.9
3233

3334
[options]
3435
python_requires = >=3.5

docs/examples/error_hander/error_handler_1/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ classifiers =
2929
Programming Language :: Python :: 3.6
3030
Programming Language :: Python :: 3.7
3131
Programming Language :: Python :: 3.8
32+
Programming Language :: Python :: 3.9
3233

3334
[options]
3435
python_requires = >=3.5

exporter/opentelemetry-exporter-opencensus/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ classifiers =
3232
Programming Language :: Python :: 3.6
3333
Programming Language :: Python :: 3.7
3434
Programming Language :: Python :: 3.8
35+
Programming Language :: Python :: 3.9
3536

3637
[options]
3738
python_requires = >=3.5

exporter/opentelemetry-exporter-otlp/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ classifiers =
3232
Programming Language :: Python :: 3.6
3333
Programming Language :: Python :: 3.7
3434
Programming Language :: Python :: 3.8
35+
Programming Language :: Python :: 3.9
3536

3637
[options]
3738
python_requires = >=3.5

exporter/opentelemetry-exporter-prometheus/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ classifiers =
3232
Programming Language :: Python :: 3.6
3333
Programming Language :: Python :: 3.7
3434
Programming Language :: Python :: 3.8
35+
Programming Language :: Python :: 3.9
3536

3637
[options]
3738
python_requires = >=3.5

exporter/opentelemetry-exporter-zipkin/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ classifiers =
3232
Programming Language :: Python :: 3.6
3333
Programming Language :: Python :: 3.7
3434
Programming Language :: Python :: 3.8
35+
Programming Language :: Python :: 3.9
3536

3637
[options]
3738
python_requires = >=3.5

instrumentation/opentelemetry-instrumentation-opentracing-shim/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ classifiers =
3232
Programming Language :: Python :: 3.6
3333
Programming Language :: Python :: 3.7
3434
Programming Language :: Python :: 3.8
35+
Programming Language :: Python :: 3.9
3536

3637
[options]
3738
python_requires = >=3.5

0 commit comments

Comments
 (0)