summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael K <michael-k@users.noreply.github.com>2020-10-09 10:58:38 +0000
committerGitHub <noreply@github.com>2020-10-09 16:58:38 +0600
commit4ed3067297a0fbe5ed61f54aa9201a4ce82f18ff (patch)
tree928e024aa4816bd8ec1387aba6f98da73959dc48
parent201455e9210a6c0edb1c77c5a3dcffe22d952d9a (diff)
downloadpyjwt-4ed3067297a0fbe5ed61f54aa9201a4ce82f18ff.tar.gz
Run tests against Python 3.9 and add trove classifier (#522)
* Run tests against Python 3.9 and add trove classifier * Loosen pin on cryptography to allow 3.x
-rw-r--r--.github/workflows/main.yml2
-rw-r--r--setup.cfg5
-rw-r--r--tox.ini7
3 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 28b19a4..7883b2a 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
platform: ["ubuntu-latest", "windows-latest"]
- 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/setup.cfg b/setup.cfg
index 55e0edf..ca8322c 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -26,6 +26,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
+ Programming Language :: Python :: 3.9
Topic :: Utilities
[options]
@@ -38,7 +39,7 @@ docs =
sphinx-rtd-theme
zope.interface
crypto =
- cryptography>=2.6,<3.0.0
+ cryptography>=2.6,<4.0.0
tests =
pytest>=6.0.0,<7.0.0
coverage[toml]==5.0.4
@@ -47,7 +48,7 @@ dev =
sphinx
sphinx-rtd-theme
zope.interface
- cryptography>=2.6,<3.0.0
+ cryptography>=2.6,<4.0.0
pytest>=6.0.0,<7.0.0
coverage[toml]==5.0.4
requests
diff --git a/tox.ini b/tox.ini
index ee2c010..ed304f1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,6 +12,7 @@ python =
3.6: py36
3.7: py37, docs
3.8: py38, lint, manifest, typing
+ 3.9: py39
[gh-actions:env]
@@ -24,8 +25,8 @@ PLATFORM =
envlist =
lint
typing
- py{36,37,38}-crypto-{linux,windows}
- py{36,37,38}-nocrypto-{linux,windows}
+ py{36,37,38,39}-crypto-{linux,windows}
+ py{36,37,38,39}-nocrypto-{linux,windows}
manifest
docs
pypi-description
@@ -40,7 +41,7 @@ setenv =
VIRTUALENV_NO_DOWNLOAD=1
extras =
tests
- py{36,37,38}-crypto-{linux,windows}: crypto
+ py{36,37,38,39}-crypto-{linux,windows}: crypto
commands = coverage run -m pytest {posargs}