Compare commits

1 Commits
main ... 1.1

4 changed files with 15 additions and 51 deletions

View File

@@ -1,36 +1,3 @@
-------------------------------------------------------------------
Tue Oct 29 11:20:43 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.21.0
* Add cleanup_socket param on create_unix_server()
* Use cythonized SO_REUSEPORT rather than the unwrapped native one (#609)
* UDP errors should result in protocol.error_received (#601)
* Updates for Cython3 (#587)
* Test with Python 3.13 (#610)
- Update BuildRequires from pyproject.toml
-------------------------------------------------------------------
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) 2024 SUSE LLC
# Copyright (c) 2023 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.21.0
Version: 0.17.0
Release: 0
Summary: An asyncio event loop on top of libuv
License: Apache-2.0 AND MIT
@@ -27,14 +27,12 @@ Group: Development/Languages/Python
URL: http://github.com/MagicStack/uvloop
Source: https://files.pythonhosted.org/packages/source/u/uvloop/uvloop-%{version}.tar.gz
Source1: python-uvloop.rpmlintrc
BuildRequires: %{python_module Cython >= 3.0}
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
@@ -56,10 +54,10 @@ sed -i -e "/self.use_system_libuv/s/False/True/" setup.py
rm -vrf vendor/
%build
%pyproject_wheel
%python_build
%install
%pyproject_install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
# https://github.com/MagicStack/uvloop/issues/70
%python_expand rm -vf %{buildroot}%{$python_sitearch}/%{modname}/_testbase.py
@@ -74,7 +72,6 @@ rm -vrf vendor/
%files %{python_files}
%license LICENSE-APACHE LICENSE-MIT
%doc README.rst
%{python_sitearch}/uvloop
%{python_sitearch}/uvloop-%{version}.dist-info
%{python_sitearch}/*
%changelog

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

Binary file not shown.

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

Binary file not shown.