Skip to content

Commit 40b9351

Browse files
committed
Add newer python 3 versions
pr-branch=new-py3
1 parent 6a0ae18 commit 40b9351

File tree

28 files changed

+63
-9
lines changed

28 files changed

+63
-9
lines changed

.github/workflows/build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ jobs:
1818
py35: 3.5
1919
py36: 3.6
2020
py37: 3.7
21+
py38: 3.8
22+
py39: 3.9
2123
strategy:
2224
# ensures the entire test matrix is run, even if one permutation fails
2325
fail-fast: false
2426
matrix:
25-
python-version: [py27, py35, py36, py37]
27+
python-version: [py27, py35, py36, py37, py38, py39]
2628
steps:
2729
- name: Checkout code
2830
uses: actions/checkout@v2

context/opencensus-context/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus Runtime Context',
3941
include_package_data=True,

contrib/opencensus-correlation/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='W3C Correlation Context',
3941
include_package_data=True,

contrib/opencensus-ext-azure/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus Azure Monitor Exporter',
3941
include_package_data=True,

contrib/opencensus-ext-datadog/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus Datadog exporter',
3941
include_package_data=True,

contrib/opencensus-ext-dbapi/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus Database API Integration',
3941
include_package_data=True,

contrib/opencensus-ext-django/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
'Programming Language :: Python :: 3.5',
3939
'Programming Language :: Python :: 3.6',
4040
'Programming Language :: Python :: 3.7',
41+
'Programming Language :: Python :: 3.8',
42+
'Programming Language :: Python :: 3.9',
4143
],
4244
description='OpenCensus Django Integration',
4345
include_package_data=True,

contrib/opencensus-ext-flask/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus Flask Integration',
3941
include_package_data=True,

contrib/opencensus-ext-gevent/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus gevent compatibility helper',
3941
include_package_data=True,

contrib/opencensus-ext-google-cloud-clientlibs/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus Google Cloud Client Libraries Integration',
3941
include_package_data=True,

contrib/opencensus-ext-grpc/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus gRPC Integration',
3941
include_package_data=True,

contrib/opencensus-ext-httplib/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus httplib Integration',
3941
include_package_data=True,

contrib/opencensus-ext-jaeger/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus Jaeger Trace Exporter',
3941
include_package_data=True,

contrib/opencensus-ext-logging/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus logging Integration',
3941
include_package_data=True,

contrib/opencensus-ext-mysql/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus MySQL Integration',
3941
include_package_data=True,

contrib/opencensus-ext-ocagent/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus OC-Agent Trace Exporter',
3941
include_package_data=True,

contrib/opencensus-ext-postgresql/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus PostgreSQL Integration',
3941
include_package_data=True,

contrib/opencensus-ext-prometheus/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus Prometheus Exporter',
3941
include_package_data=True,

contrib/opencensus-ext-pymongo/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus pymongo Integration',
3941
include_package_data=True,

contrib/opencensus-ext-pymysql/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus PyMySQL Integration',
3941
include_package_data=True,

contrib/opencensus-ext-pyramid/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus Pyramid Integration',
3941
include_package_data=True,

contrib/opencensus-ext-requests/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus Requests Integration',
3941
include_package_data=True,

contrib/opencensus-ext-sqlalchemy/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus SQLAlchemy Integration',
3941
include_package_data=True,

contrib/opencensus-ext-stackdriver/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus Stackdriver Trace Exporter',
3941
include_package_data=True,

contrib/opencensus-ext-threading/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus Threading Integration',
3941
include_package_data=True,

contrib/opencensus-ext-zipkin/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
],
3840
description='OpenCensus Zipkin Trace Exporter',
3941
include_package_data=True,

setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
'Programming Language :: Python :: 3.5',
3636
'Programming Language :: Python :: 3.6',
3737
'Programming Language :: Python :: 3.7',
38+
'Programming Language :: Python :: 3.8',
39+
'Programming Language :: Python :: 3.9',
3840
],
3941
description='A stats collection and distributed tracing framework',
4042
include_package_data=True,

tox.ini

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[tox]
22
envlist =
3-
py{27,35,36,37}-unit
4-
py{35,36,37}-bandit
5-
py37-lint
6-
py37-setup
7-
py37-docs
3+
py{27,35,36,37,38,39}-unit
4+
py39-bandit
5+
py39-lint
6+
py39-setup
7+
py39-docs
88

99
[testenv]
1010
install_command = python -m pip install {opts} {packages}
@@ -16,7 +16,7 @@ deps =
1616
unit,lint: retrying
1717
unit,lint: unittest2
1818
bandit: bandit
19-
unit,lint,py37-setup,docs,bandit: -e context/opencensus-context
19+
unit,lint,setup,docs,bandit: -e context/opencensus-context
2020
unit,lint,docs,bandit: -e contrib/opencensus-correlation
2121
unit,lint,docs,bandit: -e .
2222
unit,lint,bandit: -e contrib/opencensus-ext-azure
@@ -56,6 +56,6 @@ commands =
5656
lint: flake8 context/ contrib/ opencensus/ tests/ examples/
5757
; lint: - bash ./scripts/pylint.sh
5858
bandit: bandit -r context/ contrib/ opencensus/ -lll -q
59-
py37-setup: python setup.py check --restructuredtext --strict
60-
py37-docs: bash ./scripts/update_docs.sh
59+
py39-setup: python setup.py check --restructuredtext --strict
60+
py39-docs: bash ./scripts/update_docs.sh
6161
; TODO deployment

0 commit comments

Comments
 (0)