Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix quart signals upgrade #22

Merged
merged 5 commits into from
Oct 22, 2023
Merged

Fix quart signals upgrade #22

merged 5 commits into from
Oct 22, 2023

Conversation

sponsfreixes
Copy link
Owner

Quart changed how it is initializing signals, removing the AsyncNamespace class jinja2-fragments was relying on. Hence, the jinja2-fragments was not compatible with Quart>=0.19.0, which is when this change became effective.

This commit adds support for both Quart<=19.0.0 and Quart>=19.0.0.

It also changes the Quart tests to not run on Python<3.8, as Quart requires 3.8 or higher.

Ref: #19

Quart changed how it is initializing signals, removing the AsyncNamespace class
jinja2-fragments was relying on. Hence, the library was not usable with
Quart>=0.19.0, which is when this change became effective.

This commit adds support for both Quart<=19.0.0 and Quart>=19.0.0.

Ref: #19
@sponsfreixes sponsfreixes merged commit ed9f7d4 into main Oct 22, 2023
6 checks passed
@sponsfreixes sponsfreixes deleted the fix_quart_signals_upgrade branch October 22, 2023 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant