Add Python 3.9 support

This commit is contained in:
Brian May 2020-12-28 11:01:07 +11:00
parent 8f0d3b0f8e
commit b8cd2fae40
4 changed files with 6 additions and 2 deletions

View File

@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: [3.6, 3.7, 3.8] python-version: [3.6, 3.7, 3.8, 3.9]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View File

@ -17,7 +17,8 @@ Added
* IPv6 support in nft method. * IPv6 support in nft method.
* Intercept DNS requests sent by systemd-resolved. * Intercept DNS requests sent by systemd-resolved.
* Set default tmark. * Set default tmark.
* Fix python2 server compatibility * Fix python2 server compatibility.
* Python 3.9 support.
Fixed Fixed
~~~~~ ~~~~~

View File

@ -52,6 +52,7 @@ setup(
"Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: System :: Networking", "Topic :: System :: Networking",
], ],
scripts=['bin/sudoers-add'], scripts=['bin/sudoers-add'],

View File

@ -5,12 +5,14 @@ envlist =
py36, py36,
py37, py37,
py38, py38,
py39,
[testenv] [testenv]
basepython = basepython =
py36: python3.6 py36: python3.6
py37: python3.7 py37: python3.7
py38: python3.8 py38: python3.8
py39: python3.9
commands = commands =
pip install -e . pip install -e .
# actual flake8 test # actual flake8 test