From f10ce1c7ddc288b0bb6a69ef4d3490224a474a42 Mon Sep 17 00:00:00 2001 From: David Lord Date: Thu, 14 Nov 2024 08:49:26 -0800 Subject: [PATCH 1/3] remove test pypi --- .github/workflows/publish.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 09b1196..c12a463 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -60,11 +60,6 @@ jobs: id-token: write steps: - uses: actions/download-artifact@v4 - # Try uploading to Test PyPI first, in case something fails. - - uses: pypa/gh-action-pypi-publish@release/v1 - with: - repository-url: https://test.pypi.org/legacy/ - packages-dir: artifact/ - uses: pypa/gh-action-pypi-publish@release/v1 with: packages-dir: artifact/ From 21e4e5274e33e496fe5354224869a4dc4eef5c60 Mon Sep 17 00:00:00 2001 From: pgjones Date: Thu, 14 Nov 2024 08:56:00 +0000 Subject: [PATCH 2/3] Add missing config key This sets the default so that automatic options are provided. (cherry picked from commit 2473a04d4cac8b73f9ace5f7e87692dc781a5ae5) --- src/quart/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/quart/app.py b/src/quart/app.py index da23382..db1ed1f 100644 --- a/src/quart/app.py +++ b/src/quart/app.py @@ -241,6 +241,7 @@ class Quart(App): "PREFER_SECURE_URLS": False, "PRESERVE_CONTEXT_ON_EXCEPTION": None, "PROPAGATE_EXCEPTIONS": None, + "PROVIDE_AUTOMATIC_OPTIONS": True, "RESPONSE_TIMEOUT": 60, # Second "SECRET_KEY": None, "SEND_FILE_MAX_AGE_DEFAULT": timedelta(hours=12), From f43abb0aaa1c239759a9233d0ed0640011de9cc8 Mon Sep 17 00:00:00 2001 From: David Lord Date: Thu, 14 Nov 2024 08:39:55 -0800 Subject: [PATCH 3/3] release version 0.19.9 --- CHANGES.rst | 6 ++++++ pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 3b98134..8c3313f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,9 @@ +0.19.9 2024-11-14 +----------------- + +- Fix missing ``PROVIDE_AUTOMATIC_OPTIONS`` config for compatibility + with Flask 3.1. + 0.19.8 2024-10-25 ----------------- diff --git a/pyproject.toml b/pyproject.toml index 0e06583..2cbe19c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "Quart" -version = "0.19.8" +version = "0.19.9" description = "A Python ASGI web microframework with the same API as Flask" authors = ["pgjones "] classifiers = [