Commit Graph

121 Commits

Author SHA1 Message Date
David Lord de16718b39
require werkzeug >= 2.2.2 2022-08-08 16:14:00 -07:00
David Lord add53e190c
require Werkzeug 2.2 2022-07-24 18:42:11 -07:00
David Lord 89463cb77c
require Werkzeug 2.2 2022-07-08 11:13:09 -07:00
David Lord d023d94371
set importlib_metadata minimum version 2022-03-30 14:10:12 -07:00
K900 751d85f3de cli: use importlib.metadata instead of pkg_resources 2022-01-17 19:36:57 +03:00
David Lord 1ce0f774c9
Merge branch '2.0.x' 2021-05-13 16:36:10 -07:00
David Lord 5bd959fbec
Merge branch '1.1.x' into 2.0.x 2021-05-13 16:34:58 -07:00
David Lord 6d8b4ce9d0
set maximum versions of pallets dependencies 2021-05-13 16:16:45 -07:00
David Lord 80a4e62096
update click minimum version 2021-05-11 14:55:09 -07:00
David Lord 3a5532b4ed
update pallets projects minimum versions 2021-05-11 14:33:44 -07:00
Adrian Moennich 26a6cc0f94 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 07000942da
update minimum install requirements 2021-04-16 08:45:04 -07:00
pgjones 6979265fa6
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 0c7cbe2d11
move version to setup.cfg 2021-02-24 10:09:50 -08:00
David Lord eea31f29a5
use pip-compile to pin dev requirements 2020-05-23 14:03:11 -07:00
David Lord 024f0d384c
move package metadata to setup.cfg 2020-04-04 14:50:21 -07:00
David Lord 524fd0bc8c
apply pyupgrade 2020-04-04 12:10:00 -07:00
David Lord a0a61acdec
drop support for Python 2.7 and 3.5 2020-04-04 12:09:55 -07:00
Aliaksei Urbanski 33d9f9fa08
declare support for Python 3.8 2019-11-18 18:26:46 -08:00
David Lord ffc68840f8
release version 1.1.1 2019-07-08 10:58:12 -07:00
David Lord 1351d0a565
Merge branch '1.0.x' 2019-06-23 16:57:52 -07:00
David Lord 24498afed5
standardize project metadata 2019-06-22 13:10:50 -07:00
David Lord ca278a8694
move to src directory 2019-06-01 08:06:16 -07:00
jab 33379155f6 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 8590d65a57
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 025589ee76 Reformat with black
https://github.com/python/black
2019-05-06 16:28:58 -04:00
Max de01dfb702 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 2611632c69 add classifiers 2018-12-08 12:45:20 +08:00
David Lord 3fd7abec3c
fix project urls 2018-04-30 19:05:46 -07:00
David Lord 78b56dbf2c
Revert "Add `python_requires` metadata for PyPI"
This reverts commit a22d143f96.
2018-04-27 07:41:19 -07:00
wim glenn a22d143f96
Add `python_requires` metadata for PyPI 2018-04-27 07:39:42 -07:00
wim glenn fafb827a46
Exclude 3.3 aswell. 2018-04-26 15:50:48 -05:00
wim glenn 732c5b0509
Add `python_requires` metadata for PyPI 2018-04-26 15:47:42 -05:00
David Lord 9d0b163362
release 1.0 2018-04-26 12:28:26 -07:00
David Lord 5c8110de25
ensure order of project urls 2018-04-26 11:57:21 -07:00
Hsiaoming Yang 10a77a5430
Add project_urls so that PyPI will show GitHub stats. 2018-04-26 11:30:37 -07:00
David Lord 49a38ed999
use theme provided by pallets-sphinx-themes 2018-04-18 12:05:31 -07:00
David Lord 310fbfcf64
revert copyright year to project start
add copyright header to files
2018-02-08 12:43:30 -08:00
David Lord 9bf5c3b3a3
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 af32ea0b94
bump dependency versions 2018-02-06 08:03:09 -08:00
Hsiaoming Yang 60eecb547d Remove python 2.6 and 3.3 everywhere. (#2583) 2018-01-06 10:49:50 +01:00
hallazzang 392989aaa7 corrected indentations for pypa description 2017-08-06 09:06:19 +09:00
David Lord 491d331e6e
load env vars using python-dotenv 2017-07-16 13:37:51 -07:00
David Lord 715a9a3e7b
remove deprecated flask.ext 2017-06-26 08:47:28 -07:00
Grey Li 16396248b8 Include flask.json package in setup() 2017-06-05 16:11:16 +08:00
David Lord 399ac3c54f
update changelog
[ci skip]
2017-05-28 11:52:01 -07:00
David Lord 3c7625e8c0
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 65b22926f7
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 d05862574f Update click dependency info. 2017-05-23 15:29:37 -07:00
Jeff Widman bb0e755c80 Migrate various docs links to https (#2180)
Also fixed a few outdated links
2017-02-11 10:43:11 +01:00