#4 Latest upstream 0.15.2
Merged 2 years ago by carlwgeorge. Opened 2 years ago by carlwgeorge.
rpms/ carlwgeorge/python-uvloop upstream-0.15.2  into  rawhide

file modified
+1
@@ -7,3 +7,4 @@ 

  /uvloop-0.11.2.tar.gz

  /uvloop-0.12.2.tar.gz

  /uvloop-0.14.0.tar.gz

+ /uvloop-0.15.2.tar.gz

file removed
-56
@@ -1,56 +0,0 @@ 

- From 2870219558eba983813aeab249e08371266ab524 Mon Sep 17 00:00:00 2001

- From: jack1142 <6032823+jack1142@users.noreply.github.com>

- Date: Tue, 31 Mar 2020 02:37:38 +0200

- Subject: [PATCH] Stop using `loop` kwarg in `asyncio.wait()` call

-  (DeprecationWarning) (#327)

- 

- ---

-  uvloop/handles/process.pyx | 2 +-

-  uvloop/loop.pyx            | 7 +++----

-  2 files changed, 4 insertions(+), 5 deletions(-)

- 

- diff --git a/uvloop/handles/process.pyx b/uvloop/handles/process.pyx

- index 13360d5..f2e0f58 100644

- --- a/uvloop/handles/process.pyx

- +++ b/uvloop/handles/process.pyx

- @@ -604,7 +604,7 @@ cdef class UVProcessTransport(UVProcess):

-  

-          if handle._init_futs:

-              handle._stdio_ready = 0

- -            init_fut = aio_gather(*handle._init_futs, loop=loop)

- +            init_fut = aio_gather(*handle._init_futs)

-              init_fut.add_done_callback(

-                  ft_partial(handle.__stdio_inited, waiter))

-          else:

- diff --git a/uvloop/loop.pyx b/uvloop/loop.pyx

- index c865fed..a368c52 100644

- --- a/uvloop/loop.pyx

- +++ b/uvloop/loop.pyx

- @@ -1682,7 +1682,7 @@ cdef class Loop:

-                                      uv.SOCK_STREAM, 0, flags,

-                                      0) for host in hosts]

-  

- -            infos = await aio_gather(*fs, loop=self)

- +            infos = await aio_gather(*fs)

-  

-              completed = False

-              sock = None

- @@ -1908,7 +1908,7 @@ cdef class Loop:

-                      lai = &lai_static

-  

-              if len(fs):

- -                await aio_wait(fs, loop=self)

- +                await aio_wait(fs)

-  

-              if rai is NULL:

-                  ai_remote = f1.result()

- @@ -3095,8 +3095,7 @@ cdef class Loop:

-  

-          shutdown_coro = aio_gather(

-              *[ag.aclose() for ag in closing_agens],

- -            return_exceptions=True,

- -            loop=self)

- +            return_exceptions=True)

-  

-          results = await shutdown_coro

-          for result, agen in zip(results, closing_agens):

file modified
+6 -5
@@ -1,17 +1,14 @@ 

  %global modname uvloop

  

  Name:           python-%{modname}

- Version:        0.14.0

- Release:        5%{?dist}

+ Version:        0.15.2

+ Release:        1%{?dist}

  Summary:        Ultra fast implementation of asyncio event loop on top of libuv

  

  License:        MIT or ASL 2.0

  URL:            https://github.com/MagicStack/uvloop

  Source0:        %{url}/archive/v%{version}/%{modname}-%{version}.tar.gz

  

- # Stop using `loop` kwarg in `asyncio.wait()` call (Python 3.10+)

- Patch1:         %{url}/commit/2870219558.patch

- 

  BuildRequires:  gcc

  BuildRequires:  libuv-devel

  
@@ -61,6 +58,10 @@ 

  %{python3_sitearch}/%{modname}/

  

  %changelog

+ * Wed Jun 09 2021 Carl George <carl@george.computer> - 0.15.2-1

+ - Latest upstream

+ - Fixes: rhbz#1927116

+ 

  * Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.14.0-5

  - Rebuilt for Python 3.10

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (uvloop-0.14.0.tar.gz) = 709207480d724a59223eb60f71e893d70117fa463f40d44295ded23c953900e36d6f8277443838390f4e2d4f2da3fea18397c6576b01921aae590caedd522b1d

+ SHA512 (uvloop-0.15.2.tar.gz) = c7e1a1c0fd52047dc3c353628e1c103e44f96c00ac52d17de27dd469f0936603f631a8f32bfe42b83c4f5becf4fb05cab54667874fdfa15d4c4c7e4c925c9797

Pull-Request has been merged by carlwgeorge

2 years ago