From 5755792959e3108f77c943d99942d9122999d5d5 Mon Sep 17 00:00:00 2001 From: Dave Shawley Date: Mon, 14 Sep 2020 07:53:58 -0400 Subject: [PATCH] 3.0.3: Preparing for Python 3.9. --- LICENSE | 2 +- docs/history.rst | 7 ++++++- setup.py | 2 ++ sprockets/mixins/mediatype/__init__.py | 2 +- tox.ini | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index 4fa05e6..c896130 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2015-2018 AWeber Communications +Copyright (c) 2015-2020 AWeber Communications All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/docs/history.rst b/docs/history.rst index 2901607..aa87628 100644 --- a/docs/history.rst +++ b/docs/history.rst @@ -1,6 +1,10 @@ Version History =============== +`3.0.3`_ (14 Sep 2020) +---------------------- +- Import from collections.abc instead of collections (thanks @nullsvm) + `3.0.2`_ (4 May 2020) --------------------- - Do not log tracebacks when decoding the request body fails @@ -75,7 +79,8 @@ Version History --------------------- - Initial Release -.. _Next Release: https://github.com/sprockets/sprockets.mixins.mediatype/compare/3.0.2...HEAD +.. _Next Release: https://github.com/sprockets/sprockets.mixins.mediatype/compare/3.0.3...HEAD +.. _3.0.3: https://github.com/sprockets/sprockets.mixins.mediatype/compare/3.0.2...3.0.3 .. _3.0.2: https://github.com/sprockets/sprockets.mixins.mediatype/compare/3.0.1...3.0.2 .. _3.0.1: https://github.com/sprockets/sprockets.mixins.mediatype/compare/3.0.0...3.0.1 .. _3.0.0: https://github.com/sprockets/sprockets.mixins.mediatype/compare/2.2.2...3.0.0 diff --git a/setup.py b/setup.py index 63814cd..f6b5b87 100755 --- a/setup.py +++ b/setup.py @@ -38,6 +38,8 @@ setuptools.setup( 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: Implementation :: CPython', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules' diff --git a/sprockets/mixins/mediatype/__init__.py b/sprockets/mixins/mediatype/__init__.py index 3ace109..565a088 100644 --- a/sprockets/mixins/mediatype/__init__.py +++ b/sprockets/mixins/mediatype/__init__.py @@ -21,7 +21,7 @@ except ImportError as error: # noqa: F841 # pragma no cover set_default_content_type = _error_closure -version_info = (3, 0, 2) +version_info = (3, 0, 3) __version__ = '.'.join(str(x) for x in version_info) __all__ = ['ContentMixin', 'ContentSettings', 'add_binary_content_type', diff --git a/tox.ini b/tox.ini index 70c3709..dafb2e1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py37 +envlist = py37,py38,py39 indexserver = default = https://pypi.python.org/simple toxworkdir = build/tox