Commit graph

112 commits

Author SHA1 Message Date
David Lord
73ee8512f1 update pallets projects minimum versions 2021-05-11 14:33:44 -07:00
Adrian Moennich
d235ab0faa Allow using Click 7 with a DeprecationWarning
As long as popular libraries (e.g. Celery) require click 7, depending
on Click 8 in Flask makes it hard to test the latest version (and its
other dependencies) in existing applications.
2021-04-27 16:45:06 +02:00
David Lord
34ad92a379 update minimum install requirements 2021-04-16 08:45:04 -07:00
pgjones
c9f774d650 Add async support
This allows for async functions to be passed to the Flask class
instance, for example as a view function,

    @app.route("/")
    async def index():
        return "Async hello"

this comes with a cost though of poorer performance than using the
sync equivalent.

asgiref is the standard way to run async code within a sync context,
and is used in Django making it a safe and sane choice for this.
2021-04-06 09:35:10 -07:00
David Lord
2aa174b62a move version to setup.cfg 2021-02-24 10:09:50 -08:00
David Lord
b1816e2747 use pip-compile to pin dev requirements 2020-05-23 14:03:11 -07:00
David Lord
9594326577 move package metadata to setup.cfg 2020-04-04 14:50:21 -07:00
David Lord
67bb43b738 apply pyupgrade 2020-04-04 12:10:00 -07:00
David Lord
8433de53c9 drop support for Python 2.7 and 3.5 2020-04-04 12:09:55 -07:00
Aliaksei Urbanski
36ce489ee3 declare support for Python 3.8 2019-11-18 18:26:46 -08:00
David Lord
4086e82b37 release version 1.1.1 2019-07-08 10:58:12 -07:00
David Lord
ff0c92a1c7 Merge branch '1.0.x' 2019-06-23 16:57:52 -07:00
David Lord
e861ae276b standardize project metadata 2019-06-22 13:10:50 -07:00
David Lord
ed989713f7 move to src directory 2019-06-01 08:06:16 -07:00
jab
3e557534ee Add pre-commit to dev dependencies, document it and pre-commit in CONTRIBUTING
Now that we have a Black pre-commit hook (#3138),
ensure pre-commit gets installed on ``pip install -e .[dev]``
and document use of Black (rather than "try to follow pep8")
in CONTRIBUTING.
2019-05-23 10:51:38 -04:00
EtiennePelletier
1a9616d581 Use Werkzeug's JSONMixin class and update tests
Flask's JSONMixin class was moved to Werkzeug>=0.15

Co-authored-by: Jeffrey Eliasen <jeff@jke.net>
2019-05-18 20:57:26 -07:00
David Baumgold
85ce588b3b Reformat with black
https://github.com/python/black
2019-05-06 16:28:58 -04:00
Max
59a2f1ec93 Bump Jinja2 requirements
The 2.10.1 version was released 2019-04-06 and contains important security fix.
This change allows flask users to avoid implicit insecure dependency.
2019-04-15 17:13:07 +02:00
CasterWx
05544feeb7 add classifiers 2018-12-08 12:45:20 +08:00
David Lord
3cb636fbe1 fix project urls 2018-04-30 19:05:46 -07:00
David Lord
eb28001b22 Revert "Add python_requires metadata for PyPI"
This reverts commit a22d143f96.
2018-04-27 07:41:19 -07:00
wim glenn
a61e1322f6 Add python_requires metadata for PyPI 2018-04-27 07:39:42 -07:00
wim glenn
b6f1806776 Exclude 3.3 aswell. 2018-04-26 15:50:48 -05:00
wim glenn
48481b2ab5 Add python_requires metadata for PyPI 2018-04-26 15:47:42 -05:00
David Lord
10fcabc43b release 1.0 2018-04-26 12:28:26 -07:00
David Lord
e48b5530ed ensure order of project urls 2018-04-26 11:57:21 -07:00
Hsiaoming Yang
35b90082fa Add project_urls so that PyPI will show GitHub stats. 2018-04-26 11:30:37 -07:00
David Lord
010156c80a use theme provided by pallets-sphinx-themes 2018-04-18 12:05:31 -07:00
David Lord
aa4db37a7f revert copyright year to project start
add copyright header to files
2018-02-08 12:43:30 -08:00
David Lord
ef3226e53b update project metadata
new readme
readme as setup.py long_description
links in changes
git in authors
add travis osx env
break out docs build in travis
remove python_requires for now
2018-02-08 12:43:22 -08:00
David Lord
54f57678ba bump dependency versions 2018-02-06 08:03:09 -08:00
Hsiaoming Yang
8cdcf398cf Remove python 2.6 and 3.3 everywhere. (#2583) 2018-01-06 10:49:50 +01:00
hallazzang
5c4840ba6d corrected indentations for pypa description 2017-08-06 09:06:19 +09:00
David Lord
f0101de17b load env vars using python-dotenv 2017-07-16 13:37:51 -07:00
David Lord
0207aad0ec remove deprecated flask.ext 2017-06-26 08:47:28 -07:00
Grey Li
f7eec31808 Include flask.json package in setup() 2017-06-05 16:11:16 +08:00
David Lord
e67b77b5e3 update changelog
[ci skip]
2017-05-28 11:52:01 -07:00
David Lord
7a517652e0 update development resources
fix tox to test examples again
add detox tox env for faster testing
clean up makefile, add tox target
add extra group for installing dev requirements
clean up contributing doc, build with docs
expand issue template
add pull request template
2017-05-28 10:26:07 -07:00
David Lord
50df5f8b91 reduce number of tox and travis envs
bump minimum werkzeug version to fix tests
cache pip pacakges on travis
collect branch coverage
collect coverage of test code
report coverage across envs
test building docs
enable codecov integration
2017-05-24 15:41:35 -07:00
Mark Shannon
50da045679 Update click dependency info. 2017-05-23 15:29:37 -07:00
Jeff Widman
2ad2aadb88 Migrate various docs links to https (#2180)
Also fixed a few outdated links
2017-02-11 10:43:11 +01:00
Emily Manders
86e32a2bb0 Added link to deploying documentation 2016-06-02 12:47:36 -07:00
José Carlos García
fcb3c0a4fe Change to Pallets project
* Update CHANGES

* Update CONTRIBUTING.rst

* Update setup.py

* Update tox.ini

* Update extensions.rst

* Update security.rst

* Update installation.rst

* Update testing.rst

* Update upgrading.rst

* Update sidebarintro.html

* Update jquery.rst

* Update dbcon.rst

* Update index.rst
2016-04-03 23:11:38 +02:00
lord63
6cd10de9ff Clarify the python versions that flask supports 2015-12-20 20:39:38 +08:00
Markus Unterwaditzer
08b6c72cd9 Avoid duplication of version info 2015-02-06 18:06:16 +01:00
Markus Unterwaditzer
f06dc142f1 Merge pull request #1341 from ThiefMaster/pep-440-dev-version
Use PEP440-compatible dev version
2015-02-06 18:03:41 +01:00
ThiefMaster
ddf0dfa895 Use PEP440-compatible dev version 2015-02-06 17:05:08 +01:00
Markus Unterwaditzer
8e2abe53d8 remove audit command 2014-09-11 22:09:52 +02:00
Markus Unterwaditzer
0da2e0c524 Remove testsuite package from setup.py 2014-09-11 22:09:50 +02:00
Markus Unterwaditzer
0c4f17008d Move tests 2014-09-11 22:09:50 +02:00