From 236d229bafdbc99f72399e91e93940db231f0edd86df50c3bddd387828b9f8d0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 5 Feb 2024 12:43:31 +0000 Subject: [PATCH] Accepting request 1144006 from home:bnavigator:branches:devel:languages:python - Update to 3.1.3 * This is a minor bugfix release that only pins the pytest-asyncio test dependency in order to prevent an incompatible version from interfering with the build workflow. * This release is otherwise identical to Falcon 3.1.2. - Update to 3.1.2 ## Summary * This is a minor point release fixing a couple of high impact bugs, as well as publishing binary wheels for the recently released CPython 3.12. ## Changes to Supported Platforms * Falcon is now supported (including binary wheels) on CPython 3.12. A couple of remaining stdlib deprecations from 3.11 and 3.12 will be addressed in Falcon 4.0. * As with the previous release, Python 3.5 & 3.6 remain deprecated and will no longer be supported in Falcon 4.0. * EOL Python 3.7 will no longer be actively supported in 4.0, but the framework should still continue to install from source. We may remove the support for 3.7 altogether later in the 4.x series if we are faced with incompatible ecosystem changes in typing, Cython, etc. ## Fixed * Some essential files were unintentionally omitted from the source distribution archive, rendering it unsuitable to run the test suite off. This has been fixed, and the sdist tarball should now be usable as a base for packaging Falcon in OS distributions. (#2051) * WebSocket implementation has been fixed to properly handle HTTPError and HTTPStatus exceptions raised by custom error handlers. The WebSocket connection is now correctly closed with OBS-URL: https://build.opensuse.org/request/show/1144006 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=50 --- falcon-3.1.1.tar.gz | 3 -- falcon-3.1.3.tar.gz | 3 ++ python-falcon-sphinx-pygments-style.patch | 8 ++--- python-falcon.changes | 43 +++++++++++++++++++++++ python-falcon.spec | 6 ++-- 5 files changed, 52 insertions(+), 11 deletions(-) delete mode 100644 falcon-3.1.1.tar.gz create mode 100644 falcon-3.1.3.tar.gz diff --git a/falcon-3.1.1.tar.gz b/falcon-3.1.1.tar.gz deleted file mode 100644 index e14b7ea..0000000 --- a/falcon-3.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eebf5717c5cea69cb75d23f560816236bcdcf7339e887f7465ea166b5d6f7a43 -size 1320543 diff --git a/falcon-3.1.3.tar.gz b/falcon-3.1.3.tar.gz new file mode 100644 index 0000000..e6e2ec8 --- /dev/null +++ b/falcon-3.1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0b46f9104790f8581963bc9fdbfd46eb080ac0882a6a61c05a6a9f602943dba +size 1218058 diff --git a/python-falcon-sphinx-pygments-style.patch b/python-falcon-sphinx-pygments-style.patch index 4144e18..f074978 100644 --- a/python-falcon-sphinx-pygments-style.patch +++ b/python-falcon-sphinx-pygments-style.patch @@ -1,8 +1,8 @@ -Index: falcon-3.1.1/docs/conf.py +Index: falcon-3.1.3/docs/conf.py =================================================================== ---- falcon-3.1.1.orig/docs/conf.py -+++ falcon-3.1.1/docs/conf.py -@@ -134,7 +134,7 @@ exclude_patterns = ['_build', '_newsfrag +--- falcon-3.1.3.orig/docs/conf.py ++++ falcon-3.1.3/docs/conf.py +@@ -132,7 +132,7 @@ exclude_patterns = ['_build', '_newsfrag # show_authors = False # The name of the Pygments (syntax highlighting) style to use. diff --git a/python-falcon.changes b/python-falcon.changes index d62ca48..7eee13d 100644 --- a/python-falcon.changes +++ b/python-falcon.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Sun Feb 4 14:45:28 UTC 2024 - Ben Greiner + +- Update to 3.1.3 + * This is a minor bugfix release that only pins the + pytest-asyncio test dependency in order to prevent an + incompatible version from interfering with the build workflow. + * This release is otherwise identical to Falcon 3.1.2. +- Update to 3.1.2 + ## Summary + * This is a minor point release fixing a couple of high impact + bugs, as well as publishing binary wheels for the recently + released CPython 3.12. + ## Changes to Supported Platforms + * Falcon is now supported (including binary wheels) on CPython + 3.12. A couple of remaining stdlib deprecations from 3.11 and + 3.12 will be addressed in Falcon 4.0. + * As with the previous release, Python 3.5 & 3.6 remain + deprecated and will no longer be supported in Falcon 4.0. + * EOL Python 3.7 will no longer be actively supported in 4.0, but + the framework should still continue to install from source. We + may remove the support for 3.7 altogether later in the 4.x + series if we are faced with incompatible ecosystem changes in + typing, Cython, etc. + ## Fixed + * Some essential files were unintentionally omitted from the + source distribution archive, rendering it unsuitable to run the + test suite off. This has been fixed, and the sdist tarball + should now be usable as a base for packaging Falcon in OS + distributions. (#2051) + * WebSocket implementation has been fixed to properly handle + HTTPError and HTTPStatus exceptions raised by custom error + handlers. The WebSocket connection is now correctly closed with + an appropriate code instead of bubbling up an unhandled error + to the application server. (#2146) + * Falcon’s TestClient mimics the behavior of real WSGI servers + (and the WSGI spec) by presenting the PATH_INFO CGI variable + already in the percent-decoded form. However, the client also + used to indiscriminately set the non-standard RAW_URI CGI + variable to /, which made writing tests for apps decoding raw + URL path cumbersome. This has been fixed, and the raw path of a + simulated request is now preserved in RAW_URI. (#2157) + ------------------------------------------------------------------- Thu Jan 18 09:33:52 UTC 2024 - Markéta Machová diff --git a/python-falcon.spec b/python-falcon.spec index dc785b9..59ac6e5 100644 --- a/python-falcon.spec +++ b/python-falcon.spec @@ -18,15 +18,13 @@ %{?sle15_python_module_pythons} Name: python-falcon -Version: 3.1.1 +Version: 3.1.3 Release: 0 Summary: A web framework for building APIs and app backends License: Apache-2.0 Group: Development/Languages/Python URL: http://falconframework.org -Source: https://github.com/falconry/falcon/archive/%{version}.tar.gz#./falcon-%{version}.tar.gz -# The file on pypi misses docs/ext, should be fixed in next version -# Source: https://files.pythonhosted.org/packages/source/f/falcon/falcon-%%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/f/falcon/falcon-%{version}.tar.gz # github pygments style is not available Patch0: python-falcon-sphinx-pygments-style.patch BuildRequires: %{python_module PyYAML}