From e4affea19ee3ea1ba705e31213cbb57ff71bda5b Mon Sep 17 00:00:00 2001 From: Hubert Kario Date: Thu, 26 Nov 2020 18:16:41 +0100 Subject: [PATCH] add python 3.9 to CI --- .travis.yml | 24 ++++++++++++++++++++++-- setup.py | 3 +++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3ddec02b..ecca8a5d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,6 +45,10 @@ jobs: dist: xenial sudo: true env: TACKPY=false + - python: 3.9 + dist: xenial + sudo: true + env: TACKPY=false - python: 2.7 env: TACKPY=true - python: 3.4 @@ -63,6 +67,10 @@ jobs: dist: xenial sudo: true env: M2CRYPTO=true + - python: 3.9 + dist: xenial + sudo: true + env: M2CRYPTO=true - python: 2.7 env: PYCRYPTO=true - python: 3.5 @@ -73,13 +81,13 @@ jobs: dist: xenial sudo: true env: PYCRYPTO=true - # pycrypto doesn't work on Python 3.8 as time module doesn't have clock() + # pycrypto doesn't work on Python 3.8 or 3.9 as time module doesn't have clock() # any more #- python: 3.8 # dist: xenial # sudo: true # env: PYCRYPTO=true - - python: 3.7 + - python: 3.9 dist: xenial sudo: true env: PYCRYPTODOME=true @@ -97,6 +105,10 @@ jobs: dist: xenial sudo: true env: GMPY=true + - python: 3.9 + dist: xenial + sudo: true + env: GMPY=true - python: 2.7 env: GMPY2=true - python: 3.5 @@ -111,6 +123,10 @@ jobs: dist: xenial sudo: true env: GMPY2=true + - python: 3.9 + dist: xenial + sudo: true + env: GMPY2=true - python: 2.7 env: M2CRYPTO=true PYCRYPTO=true GMPY=true GMPY2=true - python: 3.5 @@ -125,6 +141,10 @@ jobs: dist: xenial sudo: true env: M2CRYPTO=true GMPY=true GMPY2=true + - python: 3.9 + dist: xenial + sudo: true + env: M2CRYPTO=true GMPY=true GMPY2=true before_install: - | diff --git a/setup.py b/setup.py index 420241be..caf2ac1a 100755 --- a/setup.py +++ b/setup.py @@ -24,6 +24,7 @@ 'package1': ['LICENSE', 'README.md']}, install_requires=['ecdsa'], obsoletes=["tlslite"], + python_requires=">=2.6, !=3.0.*, !=3.1.*, !=3.2.*", classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', @@ -39,6 +40,8 @@ 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'Topic :: Security :: Cryptography', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Networking'