Skip to content

Commit

Permalink
require python 3.8+
Browse files Browse the repository at this point in the history
  • Loading branch information
briancappello committed Apr 3, 2022
1 parent 0812b12 commit a1f1323
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ build:
image: latest

python:
version: 3.7
version: 3.8
setup_py_install: true

requirements_file: requirements-dev.txt
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ env:

language: python
python:
- 3.7
- 3.8
- 3.9
- 3.10

services:
- postgresql
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Flask Unchained aims to improve your development experience by using simple, con
Install Flask Unchained
-----------------------

Requires **Python 3.7+**
Requires **Python 3.8+**

.. code:: shell
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This tutorial will walk you from Hello World through building a fully-featured q
It is assumed you're already familiar with:

- Python 3.7+. The `official tutorial <https://docs.python.org/3/tutorial/>`_ is a great way to learn or review.
- Python 3.8+. The `official tutorial <https://docs.python.org/3/tutorial/>`_ is a great way to learn or review.
- The Jinja2 templating engine. See the `official docs <https://jinja.palletsprojects.com/en/2.10.x/templates/>`_ for more info.

**Table of Contents**
Expand Down
2 changes: 1 addition & 1 deletion flask_unchained/bundles/controller/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def to_url(self, value):


def controller_name(
cls: Union[Type[object], str], # FIXME Union[Type[Controller], str] on 3.7+
cls: Union[Type[object], str], # FIXME Union[Type[Controller], str]
_remove_suffixes: Optional[Union[List[str], Tuple[str, ...]]] = None,
) -> str:
"""
Expand Down
2 changes: 1 addition & 1 deletion flask_unchained/unchained.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def __init__(self, env: Optional[Union[DEV, PROD, STAGING, TEST]] = None):

def init_app(self,
app: Flask,
bundles: Optional[List] = None, # FIXME Optional[List[Bundle]] on 3.7+
bundles: Optional[List[object]] = None, # FIXME Optional[List[Bundle]]
unchained_config: Optional[Dict[str, Any]] = None,
) -> None:
# deferred import to prevent circular dependency
Expand Down
22 changes: 11 additions & 11 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
alembic==1.7.5
apispec==4.7.1
apispec==5.1.1
apispec_webframeworks==0.5.2
bcrypt==3.2.0
beautifulsoup4==4.10.0
blinker==1.4
celery==5.2.1
click==8.0.3
click==8.1.2
dill==0.3.4
email-validator==1.1.3
flask==2.0.2
flask-admin==1.5.8
flask==2.1.1
flask-admin==1.6.0
flask_babelex==0.9.4
flask-graphql==2.0.1
flask-login==0.5.0
Expand All @@ -20,29 +20,29 @@ flask-principal==0.4.0
flask-session==0.4.0
flask-sqlalchemy==2.5.1
flask-sqlalchemy-unchained==0.7.6
flask-wtf==1.0.0
graphene==2.1.8
flask-wtf==1.0.1
graphene==2.1.9
graphene-sqlalchemy==2.3.0
graphql-core>=2.3.2,<3
graphql-relay>=2.0.1,<3
graphql-server-core>=1.2.0,<2
IPython==7.30.0
itsdangerous==2.0.1
jedi==0.18.1
jinja2==3.0.3
jinja2==3.1.1
kombu==5.2.2
lxml==4.6.4
lxml==4.8.0
markupsafe==2.0.1
marshmallow==3.14.1
marshmallow-sqlalchemy==0.26.1
networkx==2.5.1
networkx==2.7.1
passlib==1.7.4
py-meta-utils==0.7.8
py-yaml-fixtures==0.6.1
pyterminalsize
speaklater==1.3
sqlalchemy==1.3.24
sqlalchemy-unchained==0.12.2
werkzeug==2.0.2
wtforms==3.0.0
werkzeug==2.1.1
wtforms==3.0.1
wtforms_sqlalchemy==0.3
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
py_modules=['flask_mail'],
include_package_data=True,
zip_safe=False,
python_requires='>=3.7',
python_requires='>=3.8',
install_requires=[
'blinker>=1.4',
'click>=8.0.1',
Expand All @@ -28,7 +28,7 @@
'flask-wtf>=1.0.0',
'py-meta-utils>=0.7.8',
'pyterminalsize>=0.1.0',
'networkx>=2.5',
'networkx>=2.7.1',
'werkzeug>=2.0.1',
'wtforms>=3.0.0',
'email-validator>=1.1.3',
Expand All @@ -38,7 +38,7 @@
'flask-admin>=1.5.8',
],
'api': [
'apispec>=4.5.0,<5',
'apispec>=5.1.1',
'apispec-webframeworks>=0.5.2',
'flask-marshmallow>=0.14.0',
'marshmallow>=3.14.1',
Expand Down Expand Up @@ -68,7 +68,7 @@
'graphql-relay>=2.0.1,<3',
'graphql-server-core>=1.2.0,<2',
'flask-graphql>=2.0',
'graphene>=2.1.8,<3',
'graphene>=2.1.9,<3',
'graphene-sqlalchemy>=2.2.2,<3',
],
'mail': [
Expand Down Expand Up @@ -106,9 +106,9 @@
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
entry_points='''
[console_scripts]
Expand Down

0 comments on commit a1f1323

Please sign in to comment.