Commit graph

4072 commits

Author SHA1 Message Date
Grey Li
da8865bd64 Bump pytest from 6.1.2 to 6.2.1 2021-01-03 14:10:26 +08:00
Grey Li
eb41e7e417 Silence pytest warnings for exception propagation test 2021-01-03 13:57:45 +08:00
dependabot-preview[bot]
a7cf23a234
Bump packaging from 20.4 to 20.8
Bumps [packaging](https://github.com/pypa/packaging) from 20.4 to 20.8.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/20.4...20.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-01 09:51:33 +00:00
dependabot-preview[bot]
959c64e8ce
Merge pull request #3857 from pallets/dependabot/pip/pip-tools-5.5.0 2021-01-01 09:49:25 +00:00
dependabot-preview[bot]
d1a21022e0
Bump pip-tools from 5.3.1 to 5.5.0
Bumps [pip-tools](https://github.com/jazzband/pip-tools) from 5.3.1 to 5.5.0.
- [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.1...5.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-01 09:46:36 +00:00
dependabot-preview[bot]
50eb6e579f
Merge pull request #3856 from pallets/dependabot/pip/pre-commit-2.9.3 2021-01-01 09:45:22 +00:00
dependabot-preview[bot]
27a36f1446
Merge pull request #3855 from pallets/dependabot/pip/sphinx-3.4.1 2021-01-01 09:44:48 +00:00
dependabot-preview[bot]
2622739771
Bump pre-commit from 2.8.2 to 2.9.3
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.8.2 to 2.9.3.
- [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.8.2...v2.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-01 09:42:25 +00:00
dependabot-preview[bot]
e4c70eff77
Bump sphinx from 3.2.1 to 3.4.1
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.2.1 to 3.4.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.1...v3.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-01 09:42:01 +00:00
Grey Li
de0af03862 Merge remote-tracking branch 'origin/1.1.x' 2020-12-30 21:00:49 +08:00
jordivandooren
7d3ae48d57
fix explanation of wheel name (#3848)
* fix explanation of wheel name

* Improve the description of wheel filename format

Co-authored-by: Grey Li <withlihui@gmail.com>
2020-12-30 18:57:37 +08:00
Grey Li
9b62405f34
Merge pull request #3854 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2020-12-22 13:51:15 +08:00
pre-commit-ci[bot]
cab8121d8f
[pre-commit.ci] pre-commit autoupdate 2020-12-21 16:44:52 +00:00
Grey Li
28a3eb106c
Merge pull request #3842 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2020-11-24 10:51:40 +08:00
pre-commit-ci[bot]
cd3a93a9c1
[pre-commit.ci] pre-commit autoupdate 2020-11-23 17:15:58 +00:00
Pedro Lourenço
0855252f8c
Fix ci environment command syntax (#3836) 2020-11-17 09:58:43 -08:00
Pedro Lourenço
d6b974f821
update deprecated set-env ci command (#3835) 2020-11-17 09:38:38 -08:00
pre-commit-ci[bot]
11798fd01b [pre-commit.ci] pre-commit autoupdate 2020-11-16 10:05:02 -08:00
David Lord
b2464883ce
reduce lock schedule to daily 2020-11-14 05:38:05 -08:00
David Lord
f325b8b5be
add lock threads workflow 2020-11-13 16:28:13 -08:00
David Lord
bbb273bb76
Merge pull request #3828 from pallets/move-send-file
move send_file and send_from_directory to Werkzeug
2020-11-05 09:33:13 -08:00
David Lord
dc11cdb4a4
move send_file and send_from_directory to Werkzeug
The implementations were moved to Werkzeug, Flask's functions become
wrappers around Werkzeug to pass some Flask-specific values.

cache_timeout is renamed to max_age. SEND_FILE_MAX_AGE_DEFAULT,
app.send_file_max_age_default, and app.get_send_file_max_age defaults
to None. This tells the browser to use conditional requests rather than
a 12 hour cache.

attachment_filename is renamed to download_name, and is always sent if
a name is known.

Deprecate helpers.safe_join in favor of werkzeug.utils.safe_join.

Removed most of the send_file tests, they're tested in Werkzeug.

In the file upload example, renamed the uploaded_file view to
download_file to avoid a common source of confusion.
2020-11-05 09:27:52 -08:00
David Lord
15a49e7297
Merge branch '1.1.x' 2020-11-04 18:25:37 -08:00
Sarthak Vineet Kumar
577eec198a
updated doc for mod_wsgi (#3751)
Co-authored-by: Sarthak <sarthak@MacBook.local>
2020-11-04 18:20:36 -08:00
Mathurshan Vimalesvaran
22987b6817
include samesite and secure when removing session cookie (#3726) 2020-11-04 18:16:05 -08:00
David Lord
7a444c5dab
update tests for new werkzeug client (#3827)
Flask's client.open mirrors Werkzeug's for processing an existing
environ.

Always test with latest code for other Pallets projects. This will
be changed back once the new versions are released.
2020-11-04 18:00:21 -08:00
David Lord
373f0dd82e
update requirements (#3823) 2020-11-01 05:30:02 -08:00
dependabot-preview[bot]
3b57c19e3b
Bump pytest from 6.1.1 to 6.1.2 (#3818)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.1.1 to 6.1.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.1.1...6.1.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:21:41 -08:00
dependabot-preview[bot]
aa0c9493c6
Bump tox from 3.20.0 to 3.20.1 (#3819)
Bumps [tox](https://github.com/tox-dev/tox) from 3.20.0 to 3.20.1.
- [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.20.0...3.20.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-11-01 05:21:27 -08:00
dependabot-preview[bot]
f7e33f240e
Bump sphinx-tabs from 1.1.13 to 1.3.0 (#3822)
Bumps [sphinx-tabs](https://github.com/executablebooks/sphinx-tabs) from 1.1.13 to 1.3.0.
- [Release notes](https://github.com/executablebooks/sphinx-tabs/releases)
- [Changelog](https://github.com/executablebooks/sphinx-tabs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/sphinx-tabs/compare/v1.1.13...v1.3.0)

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:21:10 -08:00
dependabot-preview[bot]
65de6ccc0f
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
8ad9b41850
Merge pull request #3814 from lielfr/jsonencoder_html_test 2020-10-31 20:20:16 -07:00
David Lord
6def8a4a48
test json.dumps for object with __html__ method 2020-10-31 20:18:25 -07:00
David Lord
a0e2aca770
move json tests to separate file 2020-10-31 20:16:24 -07:00
Viet Hung Nguyen
7c20611cdd
mkstemp returns a file descriptor (#3809) 2020-10-31 20:09:57 -07:00
David Lord
06495e791b
Merge pull request #3785 from tirkarthi/add-py39 2020-10-31 20:05:25 -07:00
David Lord
2676973cd7
remove pre-commit job, using pre-commit.ci now 2020-10-31 20:03:27 -07:00
David Lord
1c6dc15420
fix response bases order 2020-10-31 19:19:11 -07:00
Karthikeyan Singaravelan
76467527d6
test Python 3.9 2020-10-31 19:14:02 -07:00
Sebastian Höffner
5d60cce242
Updating external_url_handler example to Python 3 (#3816) 2020-10-29 09:33:20 -07:00
Bart Broere
070a0c1c75
removing outdated xhtml information (#3802) 2020-10-21 14:13:41 -07:00
Grey Li
1035efc7d6
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]
c5a5d9b30b
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
Jamiu Salimon
9d824db41c
Update the signature of the teardown function (#3730)
Co-authored-by: David Lord <davidism@gmail.com>
2020-10-15 14:02:54 -07:00
David Lord
967b235035
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
8c6baeedab
parametrize some tests (#3786) 2020-10-11 19:16:17 -07:00
Henry Kobin
fa5aebc842
updated Sentry link (#3788) 2020-10-11 19:15:19 -07:00
Matěj Volf
bdf7083cfd
refer to encoder instead of decoder 2020-10-07 08:06:29 -07:00
Bogdan Opanchuk
8efea0ccbb
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]
4e8b020494
Merge pull request #3773 from pallets/dependabot/pip/greenlet-0.4.17 2020-10-01 08:26:44 +00:00