Skip to content

Add newer python 3 versions #1048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ jobs:
py35: 3.5
py36: 3.6
py37: 3.7
py38: 3.8
py39: 3.9
strategy:
# ensures the entire test matrix is run, even if one permutation fails
fail-fast: false
matrix:
python-version: [py27, py35, py36, py37]
python-version: [py27, py35, py36, py37, py38, py39]
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
2 changes: 2 additions & 0 deletions context/opencensus-context/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus Runtime Context',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-correlation/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='W3C Correlation Context',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-azure/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus Azure Monitor Exporter',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-datadog/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus Datadog exporter',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-dbapi/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus Database API Integration',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-django/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus Django Integration',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-flask/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus Flask Integration',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-gevent/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus gevent compatibility helper',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-google-cloud-clientlibs/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus Google Cloud Client Libraries Integration',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-grpc/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus gRPC Integration',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-httplib/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus httplib Integration',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-jaeger/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus Jaeger Trace Exporter',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-logging/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus logging Integration',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-mysql/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus MySQL Integration',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-ocagent/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus OC-Agent Trace Exporter',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-postgresql/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus PostgreSQL Integration',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-prometheus/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus Prometheus Exporter',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-pymongo/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus pymongo Integration',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-pymysql/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus PyMySQL Integration',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-pyramid/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus Pyramid Integration',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-requests/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus Requests Integration',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-sqlalchemy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus SQLAlchemy Integration',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-stackdriver/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus Stackdriver Trace Exporter',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-threading/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus Threading Integration',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions contrib/opencensus-ext-zipkin/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='OpenCensus Zipkin Trace Exporter',
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='A stats collection and distributed tracing framework',
include_package_data=True,
Expand Down
16 changes: 8 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[tox]
envlist =
py{27,35,36,37}-unit
py{35,36,37}-bandit
py37-lint
py37-setup
py37-docs
py{27,35,36,37,38,39}-unit
py39-bandit
py39-lint
py39-setup
py39-docs

[testenv]
install_command = python -m pip install {opts} {packages}
Expand All @@ -16,7 +16,7 @@ deps =
unit,lint: retrying
unit,lint: unittest2
bandit: bandit
unit,lint,py37-setup,docs,bandit: -e context/opencensus-context
unit,lint,setup,docs,bandit: -e context/opencensus-context
unit,lint,docs,bandit: -e contrib/opencensus-correlation
unit,lint,docs,bandit: -e .
unit,lint,bandit: -e contrib/opencensus-ext-azure
Expand Down Expand Up @@ -56,6 +56,6 @@ commands =
lint: flake8 context/ contrib/ opencensus/ tests/ examples/
; lint: - bash ./scripts/pylint.sh
bandit: bandit -r context/ contrib/ opencensus/ -lll -q
py37-setup: python setup.py check --restructuredtext --strict
py37-docs: bash ./scripts/update_docs.sh
py39-setup: python setup.py check --restructuredtext --strict
py39-docs: bash ./scripts/update_docs.sh
; TODO deployment