From 1187cc5554d749b5887788cb1737be6199e9106bbebf8a6e4a0983b93770350d Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Tue, 11 Feb 2025 12:35:51 +0000 Subject: [PATCH] - Update to 0.20.0 * Drop support for Python 3.8. * Fix deprecated `asyncio.iscoroutinefunction` for Python 3.14. * Allow `AsyncIterable` to be passed to `Response`. * Support max_form_parts and max_form_memory_size. - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Rename HISTORY.rst to CHANGELOG.md in %files section - Rename LICENSE to LICENSE.txt in %files section - Rename README.rst to README.md in %files section - Update BuildRequires from pyproject.toml OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Quart?expand=0&rev=7 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + python-Quart.changes | 36 ++++++++++++++++ python-Quart.spec | 98 ++++++++++++++++++++++++++++++++++++++++++++ quart-0.19.6.tar.gz | 3 ++ quart-0.19.8.tar.gz | 3 ++ quart-0.19.9.tar.gz | 3 ++ quart-0.20.0.tar.gz | 3 ++ 8 files changed, 170 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-Quart.changes create mode 100644 python-Quart.spec create mode 100644 quart-0.19.6.tar.gz create mode 100644 quart-0.19.8.tar.gz create mode 100644 quart-0.19.9.tar.gz create mode 100644 quart-0.20.0.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-Quart.changes b/python-Quart.changes new file mode 100644 index 0000000..9531def --- /dev/null +++ b/python-Quart.changes @@ -0,0 +1,36 @@ +------------------------------------------------------------------- +Tue Feb 11 07:48:57 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.20.0 + * Drop support for Python 3.8. + * Fix deprecated `asyncio.iscoroutinefunction` for Python 3.14. + * Allow `AsyncIterable` to be passed to `Response`. + * Support max_form_parts and max_form_memory_size. +- Switch package to modern Python Stack on SLE-15 + * Use Python 3.11 on SLE-15 by default + * Drop support for older Python versions +- Rename HISTORY.rst to CHANGELOG.md in %files section +- Rename LICENSE to LICENSE.txt in %files section +- Rename README.rst to README.md in %files section +- Update BuildRequires from pyproject.toml + +------------------------------------------------------------------- +Wed Nov 20 17:19:41 UTC 2024 - Dirk Müller + +- update to 0.19.9: + * Fix missing PROVIDE_AUTOMATIC_OPTIONS config for + compatibility with Flask 3.1. + +------------------------------------------------------------------- +Wed Nov 6 12:52:26 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 0.19.8 + * Bugfix Fix missing check that caused the previous fix to raise an error. +- from version 0.19.7 + * Security Fix how ``max_form_memory_size`` is applied when parsing large + non-file fields. https://github.com/advisories/GHSA-q34m-jh98-gwm2 + +------------------------------------------------------------------- +Thu Sep 19 05:15:41 UTC 2024 - Steve Kowalik + +- Initial release of 0.19.6. diff --git a/python-Quart.spec b/python-Quart.spec new file mode 100644 index 0000000..1193a5c --- /dev/null +++ b/python-Quart.spec @@ -0,0 +1,98 @@ +# +# spec file for package python-Quart +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-Quart +Version: 0.20.0 +Release: 0 +Summary: A Python ASGI web microframework with the same API as Flask +License: MIT +URL: https://github.com/pallets/quart/ +Source: https://github.com/pallets/quart/archive/refs/tags/%{version}.tar.gz#/quart-%{version}.tar.gz +BuildRequires: %{python_module Flask >= 3.0} +BuildRequires: %{python_module Jinja2} +BuildRequires: %{python_module MarkupSafe} +BuildRequires: %{python_module Werkzeug >= 3.0} +BuildRequires: %{python_module aiofiles} +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module blinker >= 1.6} +BuildRequires: %{python_module click >= 8.0} +BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module hypercorn >= 0.11.2} +BuildRequires: %{python_module hypothesis} +BuildRequires: %{python_module itsdangerous} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core} +BuildRequires: %{python_module pytest-asyncio} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest-trio} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module python-dotenv} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Flask >= 3.0 +Requires: python-Jinja2 +Requires: python-MarkupSafe +Requires: python-Werkzeug >= 3.0 +Requires: python-aiofiles +Requires: python-blinker >= 1.6 +Requires: python-click >= 8.0 +Requires: python-hypercorn >= 0.11.2 +Requires: python-itsdangerous +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildArch: noarch +%python_subpackages + +%description +Quart is an async Python web microframework. Using Quart you can, + +* render and serve HTML templates, +* write (RESTful) JSON APIs, +* serve WebSockets, +* stream request and response data, +* do pretty much anything over the HTTP or WebSocket protocols. + +%prep +%autosetup -p1 -n quart-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_clone -a %{buildroot}%{_bindir}/quart +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%post +%python_install_alternative quart + +%postun +%python_uninstall_alternative quart + +%files %{python_files} +%doc README.md CHANGES.md +%license LICENSE.txt +%python_alternative %{_bindir}/quart +%{python_sitelib}/quart +%{python_sitelib}/quart-%{version}.dist-info + +%changelog diff --git a/quart-0.19.6.tar.gz b/quart-0.19.6.tar.gz new file mode 100644 index 0000000..ee5154e --- /dev/null +++ b/quart-0.19.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:286c098b1da58e88f15de4eb6e92166577c429fa13f20f940afbde54c2a2220f +size 747457 diff --git a/quart-0.19.8.tar.gz b/quart-0.19.8.tar.gz new file mode 100644 index 0000000..d95a2c1 --- /dev/null +++ b/quart-0.19.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c70af2522a66b1fb4e829df6caef01f3a07d8044f2987e291e3b4c335001395a +size 747979 diff --git a/quart-0.19.9.tar.gz b/quart-0.19.9.tar.gz new file mode 100644 index 0000000..c92a707 --- /dev/null +++ b/quart-0.19.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:309df8ce6aca080fbb3a03b973fac8a28e78e95dd7e0df7e87279b6ea4fc2545 +size 747986 diff --git a/quart-0.20.0.tar.gz b/quart-0.20.0.tar.gz new file mode 100644 index 0000000..36172e5 --- /dev/null +++ b/quart-0.20.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ef48fad64de2b6905139391b72c2b05b6b938335cf6c50556b13cd8defae253 +size 746472