David Lord
5bb30270d2
bump werkzeug 2.3.7
...
use importlib.metadata.version
2023-08-21 09:39:10 -07:00
David Lord
1d8b53f782
Split the App and Blueprint into Sansio and IO parts ( #5127 )
2023-08-20 09:32:09 -07:00
pgjones
bc5dd3894b
Add a changelog for the sans-io changes
2023-08-19 19:25:36 +01:00
pgjones
318592511c
Add a brief README to the sansio
...
This should hopefully explain what it is used for and why certain code
cannot be present in it.
2023-08-19 18:35:15 +01:00
pgjones
80cf589a26
Correct the error handler typing
...
It may also be awaitable, as invocations are wrapped in ensure_sync.
2023-08-19 18:35:15 +01:00
pgjones
cc80a47f5b
Widen the response typing
...
Whilst not strictly true for Flask, it is true for Flask and Quart and
hence makes it much easier for Quart to extend Flask classes. The
alternatives are generic usage in the sansio codebase or mixed usage
within Flask. I think this is a good compromise.
2023-08-19 18:35:15 +01:00
pgjones
3f6b243cec
Support async template context processors
...
This is useful as there is contextual information that could be loaded
via IO e.g. information from a database. This also matches Quart and
hence makes the shared signature easier to manage.
2023-08-19 18:35:15 +01:00
pgjones
72c85e80c8
Provide an extendable merge blueprint funcs method
...
This allows a Blueprint implementation that has additional funcs, such
as Quart with its before_websocket_funcs (as example), to extend the
merge method to also merge these functions.
2023-08-19 18:35:15 +01:00
pgjones
0ec7f713d6
Split the App and Blueprint into Sansio and IO parts
...
This follows a similar structure in Werkzeug and allows for async
based IO projects, specifically Quart, to base themselves on
Flask.
Note that the globals, and signals are specific to Flask and hence
specific to Flask's IO. This means they cannot be moved to the sansio
part of the codebase.
2023-08-19 18:35:14 +01:00
pgjones
a64588f87a
Move file to sansio
...
This is preperation for refactoring the files so that there are sansio
and flask specific versions. This structure follows the Werkzeug
structure/pattern.
2023-08-19 18:35:00 +01:00
David Lord
0e0e8ddcdc
remove deprecated code ( #5223 )
2023-08-16 15:08:52 -07:00
David Lord
04994df59f
remove deprecated code
2023-08-16 15:00:49 -07:00
David Lord
6a12b191f7
start version 3.0.0
2023-08-16 14:41:57 -07:00
David Lord
9e9acfb3fe
Merge branch '2.3.x'
2023-08-16 14:30:03 -07:00
David Lord
0273664009
Update dispatch by path example ( #5217 )
2023-08-16 14:29:39 -07:00
David Lord
a887e179b8
clean up
2023-08-16 14:25:53 -07:00
pavithra
aa6d4c3e92
update dispatch-by-path example
2023-08-16 14:25:36 -07:00
David Lord
6d49a1e4b7
Merge branch '2.3.x'
2023-08-16 13:38:05 -07:00
David Lord
826514b8eb
fix flake8 bugbear findings
2023-08-16 13:37:56 -07:00
David Lord
c49ce2e1eb
fix flake8 bugbear findings
2023-08-16 13:37:26 -07:00
David Lord
3237fff4b8
Merge branch '2.3.x'
2023-08-16 13:35:46 -07:00
David Lord
6d266f6363
Pass maxsplit via kwarg to re.split ( #5215 )
2023-08-16 13:35:13 -07:00
hauntsaninja
17e146ad94
Pass maxsplit via kwarg to re.split
2023-08-16 13:33:13 -07:00
David Lord
80ae10f402
update dev requirements
2023-08-16 13:30:18 -07:00
David Lord
7d399e80c3
Merge branch '2.3.x'
2023-08-16 13:29:25 -07:00
David Lord
b1385919be
Bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8 ( #5213 )
2023-08-01 09:59:06 -07:00
David Lord
6a5277d341
Bump actions/setup-python from 4.6.1 to 4.7.0 ( #5212 )
2023-08-01 09:58:55 -07:00
dependabot[bot]
dcc86ebfce
Bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8
...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish ) from 1.8.7 to 1.8.8.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases )
- [Commits](f5622bde02...f8c70e705f )
---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 16:56:22 +00:00
dependabot[bot]
180ff8853c
Bump actions/setup-python from 4.6.1 to 4.7.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](bd6b4b6205...61a6322f88 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 16:56:18 +00:00
David Lord
8a72b74161
[pre-commit.ci] pre-commit autoupdate ( #5211 )
2023-08-01 09:17:47 -07:00
pre-commit-ci[bot]
7255be9626
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v3.8.0 → v3.10.1](https://github.com/asottile/pyupgrade/compare/v3.8.0...v3.10.1 )
- [github.com/psf/black: 23.3.0 → 23.7.0](https://github.com/psf/black/compare/23.3.0...23.7.0 )
- [github.com/PyCQA/flake8: 6.0.0 → 6.1.0](https://github.com/PyCQA/flake8/compare/6.0.0...6.1.0 )
2023-08-01 08:45:55 +00:00
David Lord
f215de030e
[pre-commit.ci] pre-commit autoupdate ( #5187 )
2023-07-04 06:18:22 -07:00
pre-commit-ci[bot]
65bc763634
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v3.7.0 → v3.8.0](https://github.com/asottile/pyupgrade/compare/v3.7.0...v3.8.0 )
2023-07-04 06:36:29 +00:00
David Lord
a0db890853
Update install.rst with required description ( #5182 )
2023-07-03 05:58:14 -07:00
Pamela Fox
11da927fd9
Update install.rst with required description
2023-07-03 05:51:06 -07:00
David Lord
cb825687a5
Bump actions/checkout from 3.5.2 to 3.5.3 ( #5186 )
2023-07-01 09:24:20 -07:00
David Lord
51bf0fdd90
Bump slsa-framework/slsa-github-generator from 1.6.0 to 1.7.0 ( #5185 )
2023-07-01 09:24:11 -07:00
David Lord
0da5788efb
Bump dessant/lock-threads from 4.0.0 to 4.0.1 ( #5184 )
2023-07-01 09:23:57 -07:00
David Lord
326484a8d1
Bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.7 ( #5183 )
2023-07-01 09:23:35 -07:00
dependabot[bot]
1ce4d95de9
Bump actions/checkout from 3.5.2 to 3.5.3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](8e5e7e5ab8...c85c95e3d7 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-01 16:16:28 +00:00
dependabot[bot]
1fb188636e
Bump slsa-framework/slsa-github-generator from 1.6.0 to 1.7.0
...
Bumps [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases )
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v1.6.0...v1.7.0 )
---
updated-dependencies:
- dependency-name: slsa-framework/slsa-github-generator
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-01 16:16:25 +00:00
dependabot[bot]
f62580b947
Bump dessant/lock-threads from 4.0.0 to 4.0.1
...
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/dessant/lock-threads/releases )
- [Changelog](https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md )
- [Commits](c1b35aecc5...be8aa5be94 )
---
updated-dependencies:
- dependency-name: dessant/lock-threads
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-01 16:16:22 +00:00
dependabot[bot]
47a89da558
Bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.7
...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish ) from 1.8.6 to 1.8.7.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases )
- [Commits](a56da0b891...f5622bde02 )
---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-01 16:16:19 +00:00
David Lord
09789f2a34
fix typo in errorhandling doc ( #5180 )
2023-06-29 17:28:25 -07:00
ToolMoney
aea13d5a10
fix typo in errorhandling doc
2023-06-29 17:20:35 -07:00
David Lord
15a0d4afd4
Merge branch '2.3.x'
2023-06-27 14:18:56 -07:00
David Lord
f39c71609e
remove manifest.in
2023-06-27 14:18:18 -07:00
David Lord
3c85ec953f
use flit_core as build backend ( #5177 )
2023-06-27 14:17:46 -07:00
David Lord
6b9acd565c
switch docs to flit
2023-06-27 14:13:56 -07:00
David Lord
46b328854a
switch examples to flit
2023-06-27 14:13:56 -07:00