15
0

- Update to 0.12.0

* Forward task_status to hypercorn.
  * Support Python 3.13, and 3.12 drop Python 3.8 and 3.7.
- Switch package to modern Python Stack on SLE-15
  * Use Python 3.11 on SLE-15 by default
  * Drop support for older Python versions
- Update BuildRequires from pyproject.toml

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quart-trio?expand=0&rev=5
This commit is contained in:
2025-02-13 14:28:07 +00:00
committed by Git OBS Bridge
commit 8b6ebad7cd
6 changed files with 120 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

20
python-quart-trio.changes Normal file
View File

@@ -0,0 +1,20 @@
-------------------------------------------------------------------
Thu Feb 13 12:04:02 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.12.0
* Forward task_status to hypercorn.
* Support Python 3.13, and 3.12 drop Python 3.8 and 3.7.
- Switch package to modern Python Stack on SLE-15
* Use Python 3.11 on SLE-15 by default
* Drop support for older Python versions
- Update BuildRequires from pyproject.toml
-------------------------------------------------------------------
Fri Sep 20 04:21:43 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add missing Requires on python-exceptiongroup.
-------------------------------------------------------------------
Thu Sep 19 05:48:30 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Initial release of 0.11.1.

70
python-quart-trio.spec Normal file
View File

@@ -0,0 +1,70 @@
#
# spec file for package python-quart-trio
#
# 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-trio
Version: 0.12.0
Release: 0
Summary: A Quart extension to provide trio support
License: MIT
URL: https://github.com/pgjones/quart-trio/
Source: https://github.com/pgjones/quart-trio/archive/refs/tags/%{version}.tar.gz#/quart_trio-%{version}.tar.gz
BuildRequires: %{python_module Quart >= 0.19}
BuildRequires: %{python_module exceptiongroup}
BuildRequires: %{python_module pdm-backend}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-trio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module trio >= 0.19}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Quart >= 0.19
Requires: python-exceptiongroup
Requires: python-hypercorn >= 0.12
Requires: python-trio >= 0.19
Recommends: python-python-dotenv
BuildArch: noarch
%python_subpackages
%description
Quart-Trio is an extension for Quart to support the Trio event loop. This is
an alternative to using the asyncio event loop present in the Python standard
library and supported by default in Quart.
%prep
%autosetup -p1 -n quart-trio-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# Trio breakage with exceptiongroup handling
%pytest -k 'not (test_websocket_exception_group or test_websocket_abort)'
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/quart_trio
%{python_sitelib}/quart_trio-%{version}.dist-info
%changelog

BIN
quart_trio-0.11.1.tar.gz LFS Normal file

Binary file not shown.

BIN
quart_trio-0.12.0.tar.gz LFS Normal file

Binary file not shown.