From 47a751a41f321ed01836a8e8374d520a1add7f91 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Mon, 21 Jun 2021 14:38:16 +0200 Subject: [PATCH] Add support for Python 3.9 --- .travis.yml | 1 + Makefile | 6 +++--- setup.py | 1 + tox.ini | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 80f3649..7ec3c19 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ python: - "3.6" - "3.7" - "3.8" + - "3.9" install: - pip install tox-travis - pip install coveralls diff --git a/Makefile b/Makefile index e4fd00f..3d3a8f6 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ test_install: install pip3 install -r requirements_test.txt test: test_install - python3.8 setup.py test + python3.9 setup.py test upload: create_dist pip3 install twine @@ -16,11 +16,11 @@ upload: create_dist create_dist: create_dist_no_commit update_pip rm -rf dist - python3.8 setup.py sdist + python3.9 setup.py sdist create_dist_no_commit: update_pip rm -rf dist - python3.8 setup.py sdist + python3.9 setup.py sdist create_dist_commit: git commit --all -m "Bump version ${ELASTICMOCK_VERSION}" diff --git a/setup.py b/setup.py index b792023..cd31093 100644 --- a/setup.py +++ b/setup.py @@ -34,6 +34,7 @@ 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', "License :: OSI Approved :: MIT License", 'Topic :: Software Development :: Libraries :: Python Modules' ] diff --git a/tox.ini b/tox.ini index 64a1368..6dcc43f 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = py36-elasticsearch{1,2,5,6,7} py37-elasticsearch{1,2,5,6,7} py38-elasticsearch{1,2,5,6,7} + py39-elasticsearch{1,2,5,6,7} [testenv] deps =