summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian May <brian@linuxpenguins.xyz>2020-12-28 11:01:07 +1100
committerBrian May <brian@linuxpenguins.xyz>2020-12-28 11:01:07 +1100
commitb8cd2fae40a7326d08b4d0dd7ac4f1fe73e3e2d3 (patch)
tree56bae071870b61ce2c3f98168ddc08cef19ca318
parent8f0d3b0f8eb9de3639b8c48f5b537497fef219ea (diff)
Add Python 3.9 support
-rw-r--r--.github/workflows/pythonpackage.yml2
-rw-r--r--CHANGES.rst3
-rwxr-xr-xsetup.py1
-rw-r--r--tox.ini2
4 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml
index f0286bd..3335508 100644
--- a/.github/workflows/pythonpackage.yml
+++ b/.github/workflows/pythonpackage.yml
@@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: [3.6, 3.7, 3.8]
+ python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
diff --git a/CHANGES.rst b/CHANGES.rst
index c8dd467..fc032d6 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -17,7 +17,8 @@ Added
* IPv6 support in nft method.
* Intercept DNS requests sent by systemd-resolved.
* Set default tmark.
-* Fix python2 server compatibility
+* Fix python2 server compatibility.
+* Python 3.9 support.
Fixed
~~~~~
diff --git a/setup.py b/setup.py
index 2ea100d..8c2122b 100755
--- a/setup.py
+++ b/setup.py
@@ -52,6 +52,7 @@ setup(
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
+ "Programming Language :: Python :: 3.9",
"Topic :: System :: Networking",
],
scripts=['bin/sudoers-add'],
diff --git a/tox.ini b/tox.ini
index 0400131..1c032a9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,12 +5,14 @@ envlist =
py36,
py37,
py38,
+ py39,
[testenv]
basepython =
py36: python3.6
py37: python3.7
py38: python3.8
+ py39: python3.9
commands =
pip install -e .
# actual flake8 test