Skip to content

Conversation

@kouk
Copy link
Contributor

@kouk kouk commented Aug 29, 2025

Resolve #91 by following guidance from Flask docs.
This was initially done inside a bigger PR by @MarekPikula here however that branch is very much out of date with HEAD.

@kouk kouk mentioned this pull request Aug 29, 2025
pyproject.toml Outdated
requires-python = ">=3.7"
dependencies = [
"Flask",
"Flask[async]",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't make the async extra a requirement. ensure_sync will fail with an error message explaining the extra once a project actually uses async views.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure. but for the tests to pass I had to add it to requirements/test.txt

Copy link
Contributor

@stv8 stv8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kouk this looks good to me! Please implement the feedback from David and we'll get this shipped asap! 😄

@stv8 stv8 merged commit fc587ed into pallets-eco:master Sep 1, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

async function support

3 participants