#2 python-uvloop 0.14.0
Merged 3 years ago by ignatenkobrain. Opened 3 years ago by itamarjp.
https://github.com/itamarjp/python-uvloop master  into  master

python-uvloop 0.14.0
Itamar Reis Peixoto • 3 years ago  
.gitignore
file modified
+1
@@ -6,3 +6,4 @@

  /uvloop-0.11.0.tar.gz

  /uvloop-0.11.2.tar.gz

  /uvloop-0.12.2.tar.gz

+ /uvloop-0.14.0.tar.gz

253.patch
file removed
-37
@@ -1,37 +0,0 @@

- From 7ab1ac59010b8907a72cd43b1c603fb87845d085 Mon Sep 17 00:00:00 2001

- From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>

- Date: Mon, 10 Jun 2019 14:02:52 +0200

- Subject: [PATCH] sys.set_coroutine_wrapper is removed in Python 3.8

- 

- The functions `sys.set_coroutine_wrapper` and `sys.get_coroutine_wrapper`,

- which were provisionally added to Python 3.5 and deprecated in Python 3.7,

- are removed in Python 3.8.

- 

- uvloop doesn't use them since Python 3.7, but they remained defined

- in stdlib.pxi, leading to AttributeErrors on Python 3.8+.

- 

- This makes the definition fallback to None if such functions don't exist.

- 

- Fixes https://github.com/MagicStack/uvloop/issues/251

- ---

-  uvloop/includes/stdlib.pxi | 4 ++--

-  1 file changed, 2 insertions(+), 2 deletions(-)

- 

- diff --git a/uvloop/includes/stdlib.pxi b/uvloop/includes/stdlib.pxi

- index 8c14ddd..6a08f31 100644

- --- a/uvloop/includes/stdlib.pxi

- +++ b/uvloop/includes/stdlib.pxi

- @@ -111,8 +111,8 @@ cdef stat_S_ISSOCK = stat.S_ISSOCK

-  

-  cdef sys_ignore_environment = sys.flags.ignore_environment

-  cdef sys_exc_info = sys.exc_info

- -cdef sys_set_coroutine_wrapper = sys.set_coroutine_wrapper

- -cdef sys_get_coroutine_wrapper = sys.get_coroutine_wrapper

- +cdef sys_set_coroutine_wrapper = getattr(sys, 'set_coroutine_wrapper', None)

- +cdef sys_get_coroutine_wrapper = getattr(sys, 'get_coroutine_wrapper', None)

-  cdef sys_getframe = sys._getframe

-  cdef sys_version_info = sys.version_info

-  

- -- 

- 2.21.0

- 

python-uvloop.spec
file modified
+5 -5
@@ -1,17 +1,14 @@

  %global modname uvloop

  

  Name:           python-%{modname}

- Version:        0.12.2

- Release:        6%{?dist}

+ Version:        0.14.0

+ 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

  

- # https://github.com/MagicStack/uvloop/pull/253 rebased

- Patch0:         253.patch

- 

  BuildRequires:  gcc

  BuildRequires:  libuv-devel

  
@@ -61,6 +58,9 @@

  %{python3_sitearch}/%{modname}/

  

  %changelog

+ * Thu Jun 18 2020 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.14.0-1

+ - Update to 0.14.0

+ 

  * Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.12.2-6

  - Rebuilt for Python 3.9

  

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

- SHA512 (uvloop-0.12.2.tar.gz) = e98728cc35f0708b115c60772d0abfc55b59071d15164a236e775e343b377a009d93e9398b5b7df7aca2de5e9a4b6e7ff302295952682aaccbe00fcdca5dfb5c

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

no initial comment

Pull-Request has been merged by ignatenkobrain

3 years ago