Skip to content

Commit a265c46

Browse files
authored
drop py36; add py39 (#495)
Fixes #494
1 parent ca22545 commit a265c46

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

.taskcluster.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tasks:
2828
}
2929
in:
3030
# map tox command -> docker image
31-
$map: [['py36', 'python:3.6', {NO_TESTS_OVER_WIRE: '1'}, []],
31+
$map: [
3232
['py37', 'python:3.7', {
3333
NO_TESTS_OVER_WIRE: '1',
3434
TRAVIS_JOB_ID: '${as_slugid("py37")}',
@@ -37,12 +37,16 @@ tasks:
3737
# Disabled due to legitimate failures.
3838
# See https://github.com/mozilla-releng/scriptworker/issues/415
3939
['py38', 'python:3.8', {NO_TESTS_OVER_WIRE: '1'}, []],
40+
['py39', 'python:3.9', {NO_TESTS_OVER_WIRE: '1'}, []],
4041
['py37-cot', 'python:3.7', {
4142
NO_CREDENTIALS_TESTS: '1'
4243
}, ['secrets:get:repo:github.com/mozilla-releng/scriptworker:github']],
4344
['py38-cot', 'python:3.8', {
4445
NO_CREDENTIALS_TESTS: '1',
4546
}, ['secrets:get:repo:github.com/mozilla-releng/scriptworker:github']],
47+
['py39-cot', 'python:3.9', {
48+
NO_CREDENTIALS_TESTS: '1',
49+
}, ['secrets:get:repo:github.com/mozilla-releng/scriptworker:github']],
4650
['lint', 'python:3.7', {}, []],
4751
['mypy', 'python:3.7', {}, []]]
4852
each(py):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.black]
22
line-length = 160
3-
target-version = ["py36", "py37", "py38"]
3+
target-version = ["py37", "py38"]
44
include = '\.(wsgi|pyi?)$'
55
exclude = '''
66
/(

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,13 @@ def run_tests(self):
9393
license="MPL 2.0",
9494
install_requires=install_requires,
9595
tests_require=tests_require,
96-
python_requires=">=3.6",
96+
python_requires=">=3.7",
9797
cmdclass={"test": Tox},
9898
classifiers=(
9999
"Intended Audience :: Developers",
100100
"Natural Language :: English",
101-
"Programming Language :: Python :: 3.6",
102101
"Programming Language :: Python :: 3.7",
103102
"Programming Language :: Python :: 3.8",
103+
"Programming Language :: Python :: 3.9",
104104
),
105105
)

tox.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = lint,mypy,py36,py37,py37-cot,py38,py38-cot
2+
envlist = lint,mypy,py37,py37-cot,py38,py38-cot,py39,py39-cot
33

44
[testenv]
55
depends = clean
@@ -72,6 +72,11 @@ commands=
7272
python setup.py develop
7373
py.test -k test_verify_production_cot --random-order-bucket=none
7474

75+
[testenv:py39-cot]
76+
commands=
77+
python setup.py develop
78+
py.test -k test_verify_production_cot --random-order-bucket=none
79+
7580
[testenv:lint]
7681
skip_install = true
7782
deps =

0 commit comments

Comments
 (0)