Compare commits

1 Commits
main ... 1.1

4 changed files with 14 additions and 39 deletions

View File

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

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

Binary file not shown.

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

Binary file not shown.