Commit Graph

4465 Commits

Author SHA1 Message Date
David Lord e609dddd60
drop Python 3.6 2021-11-11 16:11:43 -08:00
David Lord 3c36d043e5
Merge branch '2.0.x' 2021-11-05 09:18:57 -07:00
David Lord 7a5aa570c0
Merge pull request #4331 from pallets/test-python-versions
test Python 3.10 and 3.11
2021-11-05 09:18:35 -07:00
David Lord 1f40c77f1d
test Python 3.10 and 3.11 2021-11-05 09:13:55 -07:00
David Lord 0ae0f5957f
Merge branch '2.0.x' 2021-11-01 12:41:10 -07:00
David Lord 303a1e6c41
Merge pull request #4326 from pallets/update-requirements
update requirements
2021-11-01 12:40:52 -07:00
David Lord 860431f7e0
update requirements 2021-11-01 12:38:38 -07:00
Ryan Nevius 225ff3ea6c Fix example `SECRET_KEY` generation code
Removes the extra `)` in: `print(secrets.token_hex())`
2021-10-18 10:41:39 +02:00
David Lord ded812b0cd
Merge pull request #4302 from karintou8710/old-print
Fixes old print statement in signal and SQLite pages
2021-10-16 11:52:50 -07:00
karintou8710 21def4e05c Fixes old print statement in some documentation pages 2021-10-16 02:04:07 +09:00
David Lord c5ed6c5e77
Merge pull request #4301 from kkirsche/secret_key_via_secrets
use secrets module for SECRET_KEY generation in docs
2021-10-13 08:39:29 -07:00
Kevin Kirsche 58a08a1d73
use secrets instead of os.urandom 2021-10-13 08:12:51 -07:00
David Lord 44bc286c03
Merge branch '2.0.x' 2021-10-05 09:15:54 -07:00
David Lord 8ddf80c3ea
Merge pull request #4294 from pallets/flaky-lazy-test
allow lazy loading test to fail on pypy
2021-10-05 09:15:30 -07:00
David Lord b2b60450f7
allow lazy loading test to fail on pypy 2021-10-05 09:11:00 -07:00
David Lord fb82e3cba6
Merge branch '2.0.x' 2021-10-05 08:07:04 -07:00
David Lord 5a1c5eb5c0
Merge pull request #4293 from pallets/flaky-lazy-test
try to address flakiness of lazy loading test
2021-10-05 08:06:49 -07:00
David Lord 6d65595a3c
try to address flakiness of lazy loading test 2021-10-05 08:03:30 -07:00
David Lord 1cf43e08e3
Merge branch '2.0.x' 2021-10-04 07:36:44 -07:00
David Lord 6f7762538b
Merge pull request #4287 from pallets/release-2.0.2
release version 2.0.2
2021-10-04 07:31:29 -07:00
David Lord 174fe4453a
release version 2.0.2 2021-10-04 07:26:47 -07:00
David Lord 5684f48f70
Merge branch '2.0.x' 2021-10-03 20:39:19 -07:00
David Lord 6d637f0fdb
Merge pull request #4230 from matipau/blueprint-fix
Fix callback order for nested blueprints
2021-10-03 20:38:28 -07:00
David Lord 3f6cdbd8b3
use similar code for all callback-applying methods
avoid building nested chain iterables
avoid triggering defaultdict when looking up registries
apply functions as they are looked up
2021-10-03 20:36:21 -07:00
Matthias Paulsen 166a2a6207
Fix callback order for nested blueprints
Handlers registered via url_value_preprocessor, before_request,
context_processor, and url_defaults are called in downward order: First
on the app and last on the current blueprint.

Handlers registered via after_request and teardown_request are called
in upward order: First on the current blueprint and last on the app.
2021-10-03 20:27:24 -07:00
David Lord 4346498c85
Merge pull request #4285 from Makonede/patch-1
fix list numbering
2021-10-01 19:52:05 -07:00
Makonede 7685851594
fix list numbering 2021-10-01 19:46:54 -07:00
David Lord f8c881b887
Merge pull request #4267 from sprutner/patch-1
Update reqcontext.rst
2021-10-01 10:18:07 -07:00
Seth Rutner 1a40d9b976
fix grammar in links to app and request context 2021-10-01 10:16:20 -07:00
David Lord b4094b35ef
Merge pull request #4269 from Jalkhov/patch-1
Fix grammatical error
2021-10-01 10:07:27 -07:00
Pedro Torcatt 22933a8cb4
fix docs for Flask.test_client_class 2021-10-01 10:01:54 -07:00
David Lord 56c8bddf6b
Merge pull request #4271 from KPLauritzen/b/broken-link-flaskwtf
Fix broken link to Flask-WTF
2021-10-01 09:59:34 -07:00
Kasper Primdal Lauritzen 3a78f501e9
Fix broken link to Flask-WTF 2021-10-01 09:57:25 -07:00
David Lord f4a2c35691
Merge branch '2.0.x' 2021-10-01 09:51:09 -07:00
David Lord 3b83d0c75b
Merge pull request #4284 from pallets/update-requirements
Update requirements
2021-10-01 09:50:53 -07:00
David Lord 42a6da2da3
update requirements 2021-10-01 09:46:38 -07:00
David Lord 34ff7d73a7
Merge pull request #4283 from pallets/except-chain
use exception chaining
2021-10-01 09:42:17 -07:00
David Lord 6a4bf9eec1
use exception chaining
fixes flake8-bugbear B904
2021-10-01 09:39:10 -07:00
Pedro Torcatt aa1d34dc51
Fix grammatical error (#4268)
* Fix grammatical error

* Update scaffold.py

* Update scaffold.py
2021-09-22 10:12:36 -07:00
Grey Li ca0033c11a
Merge pull request #4266 from kkirsche/patch-1
fix: typo docs/debugging.rst:72
2021-09-15 08:50:07 +08:00
Kevin Kirsche 9d9108fe25
fix: typo docs/debugging.rst:72
docs/debugging.rst:72: controled ==> controlled
2021-09-14 12:29:42 -04:00
David Lord 24aab7a08d
Merge branch '2.0.x' 2021-09-08 16:05:33 -07:00
David Lord 313a70da6e
update requirements 2021-09-08 16:04:26 -07:00
David Lord 7c7b583603
update pre-commit hooks 2021-09-08 16:03:56 -07:00
Mindiell e1dce5c39a
Fix typo in docs (#4261) 2021-09-08 10:00:36 +02:00
Grey Li 6f852d0d22
Merge pull request #4257 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-09-07 08:31:30 +08:00
pre-commit-ci[bot] 4a37b627ae
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.23.3 → v2.25.0](https://github.com/asottile/pyupgrade/compare/v2.23.3...v2.25.0)
- [github.com/psf/black: 21.7b0 → 21.8b0](https://github.com/psf/black/compare/21.7b0...21.8b0)
2021-09-06 19:06:50 +00:00
Grey Li d01d26e521
Merge pull request #4255 from pallets/dependabot/pip/pytest-6.2.5
Bump pytest from 6.2.4 to 6.2.5
2021-09-01 16:59:56 +08:00
dependabot[bot] c58ff55e19
Bump pytest from 6.2.4 to 6.2.5
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.4 to 6.2.5.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.4...6.2.5)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 08:41:42 +00:00
Grey Li 048709c8e7
Merge pull request #4254 from pallets/dependabot/pip/tox-3.24.3
Bump tox from 3.24.1 to 3.24.3
2021-09-01 16:40:46 +08:00