dependabot-preview[bot]
1b17fb51c3
Bump pre-commit from 2.7.1 to 2.8.2 ( #3821 )
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 2.7.1 to 2.8.2.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.7.1...v2.8.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-01 05:20:48 -08:00
David Lord
bb70339820
Merge pull request #3814 from lielfr/jsonencoder_html_test
2020-10-31 20:20:16 -07:00
David Lord
ea4b52e85f
test json.dumps for object with __html__ method
2020-10-31 20:18:25 -07:00
David Lord
91e1437ba6
move json tests to separate file
2020-10-31 20:16:24 -07:00
Viet Hung Nguyen
d37a8a0851
mkstemp returns a file descriptor ( #3809 )
2020-10-31 20:09:57 -07:00
David Lord
de16539453
Merge pull request #3785 from tirkarthi/add-py39
2020-10-31 20:05:25 -07:00
David Lord
cb42bd468f
remove pre-commit job, using pre-commit.ci now
2020-10-31 20:03:27 -07:00
David Lord
f868dcc118
fix response bases order
2020-10-31 19:19:11 -07:00
Karthikeyan Singaravelan
1b5c7e4e12
test Python 3.9
2020-10-31 19:14:02 -07:00
Sebastian Höffner
951b4c6d02
Updating external_url_handler example to Python 3 ( #3816 )
2020-10-29 09:33:20 -07:00
Bart Broere
28467dbcef
removing outdated xhtml information ( #3802 )
2020-10-21 14:13:41 -07:00
Grey Li
6219702269
Add command switch tabs for Bash, CMD and Powershell with sphinx-tabs ( #3714 )
...
* Enable Sphinx extension sphinx-tabs
* Add command tabs for all export commands
* Add command tabs for all venv commands
Fix trim spaces
2020-10-15 14:08:37 -07:00
dependabot-preview[bot]
0ec369b896
Bump pytest from 6.0.2 to 6.1.1 ( #3790 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 6.0.2 to 6.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/6.0.2...6.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-15 14:03:39 -07:00
David Lord
9897035b45
Merge pull request #3728 from nphilipp/master--discover-app-factory-deterministically
...
Discover app factory deterministically
2020-10-15 14:01:14 -07:00
Paul Sanders
106f6ba7e5
parametrize some tests ( #3786 )
2020-10-11 19:16:17 -07:00
Matěj Volf
ce77d5a4e9
refer to encoder instead of decoder
2020-10-07 08:06:29 -07:00
Bogdan Opanchuk
849cf2c2a9
Break reference cycle created by default in Flask instances.
...
Flask instances with static folders were creating a reference cycle
via their "static" view function (which held a strong reference back
to the Flask instance to call its `send_static_file` method). This
prevented CPython from freeing the memory for a Flask instance
when all external references to it were released.
Now use a weakref for the back reference to avoid this.
Co-authored-by: Joshua Bronson <jab@users.noreply.github.com>
2020-10-03 10:05:05 -04:00
dependabot-preview[bot]
6449c51db8
Merge pull request #3773 from pallets/dependabot/pip/greenlet-0.4.17
2020-10-01 08:26:44 +00:00
dependabot-preview[bot]
93ebcb19df
Bump greenlet from 0.4.16 to 0.4.17
...
Bumps [greenlet](https://github.com/python-greenlet/greenlet ) from 0.4.16 to 0.4.17.
- [Release notes](https://github.com/python-greenlet/greenlet/releases )
- [Changelog](https://github.com/python-greenlet/greenlet/blob/master/NEWS )
- [Commits](https://github.com/python-greenlet/greenlet/compare/0.4.16...0.4.17 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-01 08:24:03 +00:00
sblondon
b5859ea9eb
aesthetic: add a space after a comma ( #3771 )
2020-09-28 07:21:13 -07:00
miquelvir
cd5be90d5b
fix grammar ( #3769 )
2020-09-28 06:21:59 -07:00
girst
511649e747
Correct Sentry advertisement (not Free Software) ( #3758 )
2020-09-15 09:20:10 -07:00
dependabot-preview[bot]
df9fd42391
Merge pull request #3756 from pallets/dependabot/pip/pytest-6.0.2
2020-09-14 08:21:19 +00:00
dependabot-preview[bot]
24ca4c7c18
Bump pytest from 6.0.1 to 6.0.2
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/6.0.1...6.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 08:18:57 +00:00
dependabot-preview[bot]
03b940dd11
Merge pull request #3754 from pallets/dependabot/pip/tox-3.20.0
2020-09-07 08:20:06 +00:00
dependabot-preview[bot]
f38fab5751
Bump tox from 3.19.0 to 3.20.0
...
Bumps [tox](https://github.com/tox-dev/tox ) from 3.19.0 to 3.20.0.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/3.19.0...3.20.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 08:17:58 +00:00
Ryuichi Watanabe
2ef99498be
update cache action to v2 ( #3749 )
2020-08-30 18:53:09 -07:00
ongopongo
ef43c92c39
fix typo in flask shell help ( #3744 )
2020-08-26 09:20:21 -07:00
dependabot-preview[bot]
ec485e48ee
Merge pull request #3742 from pallets/dependabot/pip/pre-commit-2.7.1
2020-08-24 08:19:34 +00:00
dependabot-preview[bot]
a20bed1815
Bump pre-commit from 2.6.0 to 2.7.1
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 2.6.0 to 2.7.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.6.0...v2.7.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 08:17:04 +00:00
Joshua Bronson
34704b7729
Fix pre-commit cache key in GitHub Actions. ( #3740 )
...
Fix pre-commit cache key to include full Python version as per
https://github.com/pre-commit/pre-commit/issues/1575#issuecomment-678792700
and https://pre-commit.com/#github-actions-example
2020-08-23 21:52:28 -04:00
Joshua Bronson
cf74f60f3e
Merge pull request #3739 from WolframAlph/typo-fix
...
fixed #3738 typo in src/flask/blueprints.py
2020-08-23 08:18:26 -04:00
WolframAlph
2f1e1c4686
fixed #3738 typo in src/flask/blueprints.py
2020-08-23 08:56:24 +02:00
dependabot-preview[bot]
4a84740655
Merge pull request #3734 from pallets/dependabot/pip/sphinx-3.2.1
2020-08-17 08:37:21 +00:00
dependabot-preview[bot]
5fa0eddef8
Bump sphinx from 3.2.0 to 3.2.1
...
Bumps [sphinx](https://github.com/sphinx-doc/sphinx ) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases )
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES )
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v3.2.0...v3.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 08:34:56 +00:00
Nils Philippsen
1d83912813
Discover app factory deterministically
...
Commit 2ae740dd49 probably inadvertently
changed to iterate over a set of "create_app", "make_app" to discover
application factory functions. As sets don't guarantee order,
differences in the implementation of the type can make it
non-deterministic which factory function is used if a project implements
both. Revert to using a tuple.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-08-13 10:44:43 +02:00
dependabot-preview[bot]
52b1f231b4
Merge pull request #3725 from pallets/dependabot/pip/sphinx-3.2.0
2020-08-10 08:12:04 +00:00
dependabot-preview[bot]
1cb3356e71
Bump sphinx from 3.1.2 to 3.2.0
...
Bumps [sphinx](https://github.com/sphinx-doc/sphinx ) from 3.1.2 to 3.2.0.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases )
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES )
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v3.1.2...v3.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 08:09:48 +00:00
Grey Li
c50cc7bc18
Merge pull request #3722 from pallets/dependabot/pip/tox-3.19.0
...
Bump tox from 3.18.1 to 3.19.0
2020-08-07 19:49:33 +08:00
dependabot-preview[bot]
783b188cf5
Bump tox from 3.18.1 to 3.19.0
...
Bumps [tox](https://github.com/tox-dev/tox ) from 3.18.1 to 3.19.0.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/3.18.1...3.19.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-07 11:47:17 +00:00
Grey Li
b97c439556
Merge pull request #3723 from greyli/fix-intersphinx-link
...
Fix bad intersphinx link
2020-08-07 19:19:53 +08:00
Grey Li
f4861793fd
Fix bad intersphinx link
2020-08-07 19:01:42 +08:00
dependabot-preview[bot]
8ec25db0cc
Merge pull request #3716 from pallets/dependabot/pip/pip-tools-5.3.1
2020-08-03 09:03:22 +00:00
dependabot-preview[bot]
73fa742272
Bump pip-tools from 5.3.0 to 5.3.1
...
Bumps [pip-tools](https://github.com/jazzband/pip-tools ) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/jazzband/pip-tools/releases )
- [Changelog](https://github.com/jazzband/pip-tools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jazzband/pip-tools/compare/5.3.0...5.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 09:00:22 +00:00
David Lord
3b264521b5
Merge pull request #3709 from MLH-Fellowship/3215-flask-blueprint
...
Common API Between Flask + Blueprint
2020-08-01 07:48:57 -07:00
yk396
a37cbe4fbb
extract common Flask/Blueprint API to Scaffold base class
...
Co-authored-by: Chris Nguyen <chrisngyn99@gmail.com>
2020-08-01 07:45:58 -07:00
dependabot-preview[bot]
1479fa1f56
Merge pull request #3713 from pallets/dependabot/pip/pytest-6.0.1
2020-07-31 08:45:49 +00:00
dependabot-preview[bot]
db39512493
Bump pytest from 6.0.0 to 6.0.1
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/6.0.0...6.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-31 08:43:34 +00:00
David Lord
d8a24a2adb
Merge pull request #3711 from pallets/cli-loading-error
...
cleaner message when CLI can't load app
2020-07-30 18:48:45 -07:00
David Lord
8b9128ee06
cleaner message when CLI can't load app
...
When loading the app fails for the --help command, only the error
message is shown, then the help text. The full traceback is shown for
other exceptions. Also show the message when loading fails while
getting a command, instead of only "command not found". The error
message goes to stderr to match other error behavior, and is in red
with an extra newline to make it more obvious next to the help text.
Also fixes an issue with the test_apps fixture that caused an imported
app to still be importable after the test was over and the path was
reset. Now the module cache is reset as well.
2020-07-30 18:36:55 -07:00