Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit 98567b3

Browse files
authored
drop python < 3.6 for opencensus-ext-stackdriver (#1056)
* drop python < 3.6 for opencensus-ext-stackdriver * Update contrib/opencensus-ext-stackdriver/CHANGELOG.md
1 parent eaf9f2d commit 98567b3

File tree

3 files changed

+20
-15
lines changed

3 files changed

+20
-15
lines changed

contrib/opencensus-ext-stackdriver/CHANGELOG.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,33 @@
22

33
## Unreleased
44

5+
- Drop python <3.6 in opencensus-ext-stackdriver
6+
[#1056](https://github.com/census-instrumentation/opencensus-python/pull/1056)
7+
58
## 0.7.4
69
Released 2020-10-14
710

8-
- Change default transporter in stackdriver exporter
9-
([#929](https://github.com/census-instrumentation/opencensus-python/pull/929))
11+
- Change default transporter in stackdriver exporter
12+
([#929](https://github.com/census-instrumentation/opencensus-python/pull/929))
1013

1114
## 0.7.3
1215
Released 2020-06-29
1316

14-
- Add mean property for distribution values
15-
([#919](https://github.com/census-instrumentation/opencensus-python/pull/919))
17+
- Add mean property for distribution values
18+
([#919](https://github.com/census-instrumentation/opencensus-python/pull/919))
1619

1720
## 0.7.2
1821
Released 2019-08-26
1922

20-
- Delete SD integ test metric descriptors
21-
([#770](https://github.com/census-instrumentation/opencensus-python/pull/770))
22-
- Updated `http.status_code` attribute to be an int.
23-
([#755](https://github.com/census-instrumentation/opencensus-python/pull/755))
23+
- Delete SD integ test metric descriptors
24+
([#770](https://github.com/census-instrumentation/opencensus-python/pull/770))
25+
- Updated `http.status_code` attribute to be an int.
26+
([#755](https://github.com/census-instrumentation/opencensus-python/pull/755))
2427

2528
## 0.7.1
2629
Released 2019-08-05
2730

28-
- Support exporter changes in `opencensus>=0.7.0`
31+
- Support exporter changes in `opencensus>=0.7.0`
2932

3033
## 0.4.0
3134
Released 2019-05-31

contrib/opencensus-ext-stackdriver/setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@
2727
'Intended Audience :: Developers',
2828
'License :: OSI Approved :: Apache Software License',
2929
'Programming Language :: Python',
30-
'Programming Language :: Python :: 2',
31-
'Programming Language :: Python :: 2.7',
3230
'Programming Language :: Python :: 3',
33-
'Programming Language :: Python :: 3.4',
34-
'Programming Language :: Python :: 3.5',
3531
'Programming Language :: Python :: 3.6',
3632
'Programming Language :: Python :: 3.7',
3733
'Programming Language :: Python :: 3.8',
@@ -46,6 +42,7 @@
4642
'rsa <= 4.0; python_version<="3.4"',
4743
'opencensus >= 0.8.dev0, < 1.0.0',
4844
],
45+
python_requires=">=3.6",
4946
extras_require={},
5047
license='Apache-2.0',
5148
packages=find_packages(exclude=('examples', 'tests',)),

tox.ini

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ envlist =
66
py39-setup
77
py39-docs
88

9+
[constants]
10+
unit-base-command = py.test --quiet --cov={envdir}/opencensus --cov=context --cov=contrib --cov-report term-missing --cov-config=.coveragerc --cov-fail-under=96.5 --ignore=contrib/opencensus-ext-datadog tests/unit/ context/ contrib/
11+
912
[testenv]
1013
install_command = python -m pip install {opts} {packages}
1114

@@ -38,7 +41,7 @@ deps =
3841
unit,lint,bandit: -e contrib/opencensus-ext-pyramid
3942
unit,lint,bandit: -e contrib/opencensus-ext-requests
4043
unit,lint,bandit: -e contrib/opencensus-ext-sqlalchemy
41-
unit,lint,bandit: -e contrib/opencensus-ext-stackdriver
44+
py3{6,7,8,9}-unit,lint,bandit: -e contrib/opencensus-ext-stackdriver
4245
unit,lint,bandit: -e contrib/opencensus-ext-threading
4346
unit,lint,bandit: -e contrib/opencensus-ext-zipkin
4447
unit,lint,bandit: -e contrib/opencensus-ext-google-cloud-clientlibs
@@ -50,7 +53,9 @@ deps =
5053
docs: sphinx >= 1.6.3
5154

5255
commands =
53-
unit: py.test --quiet --cov={envdir}/opencensus --cov=context --cov=contrib --cov-report term-missing --cov-config=.coveragerc --cov-fail-under=97 --ignore=contrib/opencensus-ext-datadog tests/unit/ context/ contrib/
56+
py3{6,7,8,9}-unit: {[constants]unit-base-command}
57+
py{27,34,35}-unit: {[constants]unit-base-command} --ignore=contrib/opencensus-ext-stackdriver
58+
5459
; TODO system tests
5560
lint: isort --check-only --diff --recursive .
5661
lint: flake8 context/ contrib/ opencensus/ tests/ examples/

0 commit comments

Comments
 (0)