From 388d38f28c6d5b7e6a50135de6b8ea9c44ccd6a6 Mon Sep 17 00:00:00 2001 From: mikmatko Date: Sat, 31 Oct 2020 12:13:27 +0200 Subject: [PATCH] Add support for Python 3.9. Drop support for Python 3.5. Update CI. --- .travis.yml | 6 +++--- Dockerfile | 2 +- docs/changelog.rst | 2 ++ docs/introduction.rst | 2 +- setup.cfg | 2 +- setup.py | 2 +- tox.ini | 2 +- 7 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1069e7c..9d6e4ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ language: python -dist: bionic +dist: focal python: -- 3.5 - 3.6 -- 3.7-dev +- 3.7 - 3.8 +- 3.9 services: - rabbitmq env: diff --git a/Dockerfile b/Dockerfile index 7ec4545..1ea92f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.5 +FROM python:3.9 WORKDIR /usr/src/app diff --git a/docs/changelog.rst b/docs/changelog.rst index bd2822a..8ac4f7b 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,6 +4,8 @@ Changelog Next release ------------ + * Add support for Python 3.9. + * Drop support for Python 3.5. * Fix annoying auth method warning because of a wrong defined default argument (closes #214). Aioamqp 0.14.0 diff --git a/docs/introduction.rst b/docs/introduction.rst index ec86f61..d0e183a 100644 --- a/docs/introduction.rst +++ b/docs/introduction.rst @@ -7,7 +7,7 @@ Aioamqp library is a pure-Python implementation of the AMQP 0.9.1 protocol using Prerequisites ------------- -Aioamqp works only with python >= 3.5 using asyncio library. +Aioamqp works only with python >= 3.6 using asyncio library. Installation ------------ diff --git a/setup.cfg b/setup.cfg index 0ab7d0b..9a9f5ab 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [bdist_wheel] -python-tag = py35.py36.py37.py38 +python-tag = py36.py37.py38.py39 diff --git a/setup.py b/setup.py index a740243..ea0e79f 100644 --- a/setup.py +++ b/setup.py @@ -34,10 +34,10 @@ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "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", ], platforms='all', license='BSD' diff --git a/tox.ini b/tox.ini index 127cc7b..a1f5fcd 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py35, py36, py37, py38 +envlist = py36, py37, py38, py39 skipsdist = true skip_missing_interpreters = true