Add support for Python 3.9.
This commit is contained in:
parent
f29519a5cd
commit
631da1465e
3 changed files with 4 additions and 3 deletions
1
NEWS
1
NEWS
|
@ -3,6 +3,7 @@
|
||||||
* Update systemd service example to return a permission error when a system call isn't permitted
|
* Update systemd service example to return a permission error when a system call isn't permitted
|
||||||
(instead of terminating borgmatic outright).
|
(instead of terminating borgmatic outright).
|
||||||
* Drop support for Python 3.5, which has been end-of-lifed.
|
* Drop support for Python 3.5, which has been end-of-lifed.
|
||||||
|
* Add support for Python 3.9.
|
||||||
* Update versions of test dependencies (test_requirements.txt and test containers).
|
* Update versions of test dependencies (test_requirements.txt and test containers).
|
||||||
* Only support black code formatter on Python 3.8+. New black dependencies make installation
|
* Only support black code formatter on Python 3.8+. New black dependencies make installation
|
||||||
difficult on older versions of Python.
|
difficult on older versions of Python.
|
||||||
|
|
|
@ -25,4 +25,4 @@ regex; python_version >= '3.8'
|
||||||
requests==2.25.0
|
requests==2.25.0
|
||||||
ruamel.yaml>0.15.0,<0.17.0
|
ruamel.yaml>0.15.0,<0.17.0
|
||||||
toml==0.10.2; python_version >= '3.8'
|
toml==0.10.2; python_version >= '3.8'
|
||||||
typed-ast==1.4.1; python_version >= '3.8'
|
typed-ast==1.4.2; python_version >= '3.8'
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py36,py37,py38
|
envlist = py36,py37,py38,py39
|
||||||
skip_missing_interpreters = True
|
skip_missing_interpreters = True
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
minversion = 3.14.1
|
minversion = 3.14.1
|
||||||
|
@ -13,7 +13,7 @@ whitelist_externals =
|
||||||
passenv = COVERAGE_FILE
|
passenv = COVERAGE_FILE
|
||||||
commands =
|
commands =
|
||||||
pytest {posargs}
|
pytest {posargs}
|
||||||
py38: black --check .
|
py38,py39: black --check .
|
||||||
isort --check-only --settings-path setup.cfg .
|
isort --check-only --settings-path setup.cfg .
|
||||||
flake8 borgmatic tests
|
flake8 borgmatic tests
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue