Skip to content

Commit 92f1f2c

Browse files
committed
Run Python 3.9 tests with updated dependencies
2 parents 8db9ee4 + 9377ef3 commit 92f1f2c

File tree

7 files changed

+26
-23
lines changed

7 files changed

+26
-23
lines changed

.azure-pipelines.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
PYTHON_VERSION: 3.7
3333
python38:
3434
PYTHON_VERSION: 3.8
35+
python39:
36+
PYTHON_VERSION: 3.9
3537

3638
steps:
3739
- template: .azure-pipelines/ci.yml
@@ -47,6 +49,8 @@ jobs:
4749
PYTHON_VERSION: 3.7
4850
python38:
4951
PYTHON_VERSION: 3.8
52+
python39:
53+
PYTHON_VERSION: 3.9
5054

5155
steps:
5256
- template: .azure-pipelines/ci.yml
@@ -62,6 +66,8 @@ jobs:
6266
PYTHON_VERSION: 3.7
6367
python38:
6468
PYTHON_VERSION: 3.8
69+
python39:
70+
PYTHON_VERSION: 3.9
6571

6672
steps:
6773
- template: .azure-pipelines/ci.yml

.bumpversion.cfg

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[bumpversion]
2+
current_version = 2.2.0
3+
commit = True
4+
tag = True
5+
6+
[bumpversion:file:setup.py]
7+
search = version="{current_version}"
8+
replace = version="{new_version}"
9+
10+
[bumpversion:file:procrunner/__init__.py]
11+
search = __version__ = "{current_version}"
12+
replace = __version__ = "{new_version}"

.travis.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ language: python
44

55
matrix:
66
include:
7-
- python: 3.9-dev
8-
dist: bionic
9-
# - python: 3.9
10-
# dist: bionic
11-
# env: OPTIONAL=1
127
- python: 3.8
138
- python: 3.7
149
- python: 3.6

HISTORY.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ History
44

55
2.3.0 (????-??-??)
66
------------------
7-
* Python 3.6+ only, support for Python 3.5 has been dropped
7+
* Add Python 3.9 support, drop Python 3.5 support
88
* Fix a file descriptor leak on subprocess execution
99

1010
2.2.0 (2020-09-07)

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[pytest]
2+
addopts = -ra
23
junit_family=xunit2

setup.cfg

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
1-
[bumpversion]
2-
current_version = 2.2.0
3-
commit = True
4-
tag = True
5-
6-
[bumpversion:file:setup.py]
7-
search = version="{current_version}"
8-
replace = version="{new_version}"
9-
10-
[bumpversion:file:procrunner/__init__.py]
11-
search = __version__ = "{current_version}"
12-
replace = __version__ = "{new_version}"
13-
14-
[bdist_wheel]
15-
universal = 1
1+
[metadata]
2+
project-urls =
3+
Documentation = https://procrunner.readthedocs.io/
4+
GitHub = https://github.com/DiamondLightSource/python-procrunner
5+
Bug-Tracker = https://github.com/DiamondLightSource/python-procrunner/issues
166

177
[flake8]
188
exclude = docs

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
[tox]
2-
envlist = py36, py37, py38, py39, flake8
2+
envlist = py36, py37, py38, flake8
33

44
[travis]
55
python =
6-
3.9: py39
76
3.8: py38
87
3.7: py37
98
3.6: py36

0 commit comments

Comments
 (0)