From f67135a131303aad3caa831250975eba35339131d6f1e7f2788e17dc064bf0e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 13 Dec 2024 12:35:33 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main python-uvloop revision 828811fb46f2a3f786ff0be4ca7a40ff --- python-uvloop.changes | 34 ++++++++++++++++++++++++++++------ python-uvloop.spec | 13 ++++++++----- uvloop-0.17.0.tar.gz | 3 --- uvloop-0.20.0.tar.gz | 3 +++ 4 files changed, 39 insertions(+), 14 deletions(-) delete mode 100644 uvloop-0.17.0.tar.gz create mode 100644 uvloop-0.20.0.tar.gz diff --git a/python-uvloop.changes b/python-uvloop.changes index 7404c2d..68575ee 100644 --- a/python-uvloop.changes +++ b/python-uvloop.changes @@ -1,7 +1,29 @@ +------------------------------------------------------------------- +Mon Oct 7 20:54:26 UTC 2024 - Dirk Müller + +- 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 + +- 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 -- limit to Cython < 3 +- limit to Cython < 3 ------------------------------------------------------------------- Tue Jul 4 13:13:21 UTC 2023 - ecsos @@ -11,10 +33,10 @@ Tue Jul 4 13:13:21 UTC 2023 - ecsos ------------------------------------------------------------------- Wed Oct 12 18:17:57 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 0.17.0 +- Update to version 0.17.0 * This release adds Python 3.11 support, updates bundled libuv to 1.43.0 and fixes a handful of issues. - * visit https://github.com/MagicStack/uvloop/releases/tag/v0.17.0 for more changelog for 0.17.0 + * visit https://github.com/MagicStack/uvloop/releases/tag/v0.17.0 for more changelog for 0.17.0 ------------------------------------------------------------------- @@ -86,7 +108,7 @@ Tue Sep 10 09:29:15 UTC 2019 - Tomáš Chvátal Tue May 14 20:31:01 UTC 2019 - Drew Balliet - Commented out testing since it is timing out at 5400 seconds in build service - + ------------------------------------------------------------------- Thu Mar 21 11:05:07 UTC 2019 - Ondřej Súkup @@ -98,7 +120,7 @@ Thu Mar 21 11:05:07 UTC 2019 - Ondřej Súkup ------------------------------------------------------------------- Thu Feb 28 15:00:03 UTC 2019 - Ondřej Súkup -- update to 0.12.1 +- update to 0.12.1 * Fix a circular references case in SSL implementation. * Cleanup references to callbacks in canceled callback handles. * New SSL implementation. The new implementation is faster and @@ -106,7 +128,7 @@ Thu Feb 28 15:00:03 UTC 2019 - Ondřej Súkup in asyncio 3.8. This is a significant change that warrants a release candidate to make sure it is tested properly. * New uvloop.install() helper function. - * ssl.CertificateError is no longer logged as it's delivered to + * ssl.CertificateError is no longer logged as it's delivered to the Protocol.connection_lost() anyways. * Improve UDPTransport.sendto() performance. diff --git a/python-uvloop.spec b/python-uvloop.spec index abe17f4..dd920fe 100644 --- a/python-uvloop.spec +++ b/python-uvloop.spec @@ -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 diff --git a/uvloop-0.17.0.tar.gz b/uvloop-0.17.0.tar.gz deleted file mode 100644 index 0403aa6..0000000 --- a/uvloop-0.17.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0ddf6baf9cf11a1a22c71487f39f15b2cf78eb5bde7e5b45fbb99e8a9d91b9e1 -size 2279973 diff --git a/uvloop-0.20.0.tar.gz b/uvloop-0.20.0.tar.gz new file mode 100644 index 0000000..7ea221f --- /dev/null +++ b/uvloop-0.20.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4603ca714a754fc8d9b197e325db25b2ea045385e8a3ad05d3463de725fdf469 +size 2329938