Skip to content

Commit 7da9e67

Browse files
author
Matthew Topol
committed
No longer supporting python 3.6, bumping versions
1 parent d22fa84 commit 7da9e67

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.travis.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
dist: xenial
1+
dist: bionic
22
language: python
33
python:
4-
- "3.6"
5-
- "3.7.1"
4+
- "3.7"
65

76
install: python3 setup.py install
87
script: python3 setup.py test

README.rst

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ Compatibility
1818

1919
Quart-OpenAPI requires Python 3.6+ because Quart_ requires it.
2020

21+
Starting from version 1.6.0, Quart-OpenAPI requires python 3.7+ in order to avoid having to maintain multiple versions
22+
of function definitions for compatibility with the older versions of Quart_ that supported Python 3.6.
23+
2124
Installation
2225
============
2326

quart_openapi/__about__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# pylint: disable=missing-module-docstring
22
# -*- coding: utf-8 -*-
3-
__short_version__ = '1.5'
4-
__release__ = '1.5.3'
3+
__short_version__ = '1.6'
4+
__release__ = '1.6.0'
55
__description__ = 'Framework for Quart to add swagger generation to routes and restful resources'

quart_openapi/pint.py

-1
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,6 @@ def __init__(self, *args, **kwargs) -> None:
496496
"""Will forward all arguments and keyword arguments to Blueprints"""
497497
super().__init__(*args, **kwargs)
498498

499-
# pylint: disable=arguments-differ
500499
def register(self, app: Pint, options: dict, first_registration: bool = False) -> None:
501500
"""override the base :meth:`~quart.Blueprint.register` method to add the resources to the app registering
502501
this blueprint, then call the parent register method

requirements/install.pip

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
jsonschema >= 3.0.0
2-
quart >= 0.6.0, < 0.7.0;python_version<"3.7"
3-
quart >= 0.7.0;python_version>="3.7"
2+
quart >= 0.12.0;python_version>="3.7"
43
werkzeug >= 1.0.0

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def pip(filename):
7777
install_requires=install_requires,
7878
setup_requires=setup_requires,
7979
tests_require=tests_require,
80-
python_requires='>=3.6',
80+
python_requires='>=3.7',
8181
license='Apache 2.0',
8282
keywords='quart swagger api rest openapi flask',
8383
extras_require={

0 commit comments

Comments
 (0)