Skip to content

Commit

Permalink
Run Python 3.9 tests with updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthchirp committed Oct 29, 2020
2 parents 8db9ee4 + 9377ef3 commit 92f1f2c
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 23 deletions.
6 changes: 6 additions & 0 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
PYTHON_VERSION: 3.7
python38:
PYTHON_VERSION: 3.8
python39:
PYTHON_VERSION: 3.9

steps:
- template: .azure-pipelines/ci.yml
Expand All @@ -47,6 +49,8 @@ jobs:
PYTHON_VERSION: 3.7
python38:
PYTHON_VERSION: 3.8
python39:
PYTHON_VERSION: 3.9

steps:
- template: .azure-pipelines/ci.yml
Expand All @@ -62,6 +66,8 @@ jobs:
PYTHON_VERSION: 3.7
python38:
PYTHON_VERSION: 3.8
python39:
PYTHON_VERSION: 3.9

steps:
- template: .azure-pipelines/ci.yml
12 changes: 12 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[bumpversion]
current_version = 2.2.0
commit = True
tag = True

[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"

[bumpversion:file:procrunner/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ language: python

matrix:
include:
- python: 3.9-dev
dist: bionic
# - python: 3.9
# dist: bionic
# env: OPTIONAL=1
- python: 3.8
- python: 3.7
- python: 3.6
Expand Down
2 changes: 1 addition & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ History

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

2.2.0 (2020-09-07)
Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[pytest]
addopts = -ra
junit_family=xunit2
20 changes: 5 additions & 15 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
[bumpversion]
current_version = 2.2.0
commit = True
tag = True

[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"

[bumpversion:file:procrunner/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"

[bdist_wheel]
universal = 1
[metadata]
project-urls =
Documentation = https://procrunner.readthedocs.io/
GitHub = https://github.com/DiamondLightSource/python-procrunner
Bug-Tracker = https://github.com/DiamondLightSource/python-procrunner/issues

[flake8]
exclude = docs
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[tox]
envlist = py36, py37, py38, py39, flake8
envlist = py36, py37, py38, flake8

[travis]
python =
3.9: py39
3.8: py38
3.7: py37
3.6: py36
Expand Down

0 comments on commit 92f1f2c

Please sign in to comment.