Sync from SUSE:SLFO:Main python-uvloop revision 828811fb46f2a3f786ff0be4ca7a40ff

This commit is contained in:
Adrian Schröter 2024-12-13 12:35:33 +01:00
parent 81c3322d1e
commit f67135a131
4 changed files with 39 additions and 14 deletions

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Mon Oct 7 20:54:26 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.20.0:
* Upgrade libuv to v1.48.0
* Fix test_create_server_4 with Python 3.12.5
* Use len(os.sched_getaffinity(0)) instead of os.cpu_count()
* Inline _Py_RestoreSignals() from CPython
-------------------------------------------------------------------
Fri Dec 29 09:59:34 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.19.0:
* Drop support of Python 3.7 and update CI (#578)
* Restore uvloop.new_event_loop and other missing uvloop
members to typing (#573)
* Fix docstring of loop.shutdown_default_executor (#535)
- update to 0.18.0:
* CI fixes (#520, #553)
* Make extract_stack resilient to lacking frames. (#563)
* Port uvloop to Python 3.12 (#570)
-------------------------------------------------------------------
Mon Aug 14 06:55:19 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-uvloop
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%define modname uvloop
%{?sle15_python_module_pythons}
Name: python-uvloop
Version: 0.17.0
Version: 0.20.0
Release: 0
Summary: An asyncio event loop on top of libuv
License: Apache-2.0 AND MIT
@ -30,9 +30,11 @@ Source1: python-uvloop.rpmlintrc
BuildRequires: %{python_module Cython >= 0.28 with %python-Cython < 3}
BuildRequires: %{python_module aiohttp}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pyOpenSSL}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
@ -54,10 +56,10 @@ sed -i -e "/self.use_system_libuv/s/False/True/" setup.py
rm -vrf vendor/
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
# https://github.com/MagicStack/uvloop/issues/70
%python_expand rm -vf %{buildroot}%{$python_sitearch}/%{modname}/_testbase.py
@ -72,6 +74,7 @@ rm -vrf vendor/
%files %{python_files}
%license LICENSE-APACHE LICENSE-MIT
%doc README.rst
%{python_sitearch}/*
%{python_sitearch}/uvloop
%{python_sitearch}/uvloop-%{version}.dist-info
%changelog

BIN
uvloop-0.17.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
uvloop-0.20.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.