14
0

- update to 0.24.1:

* greendns: don't contact nameservers if one entry is returned from hosts file; Thanks to Daniel Alvarez
  * greendns: Fix infinite loop when UDP source address mismatch; Thanks to Lon Hohberger
  * greendns: Fix bad ipv6 comparison; Thanks to Lon Hohberger
  * wsgi: Use byte strings on py2 and unicode strings on py3; Thanks to Tim Burke
  * pools: put to empty pool would block sometimes; Thanks to Sam Merritt
  * greendns: resolving over TCP produced ValueError; Thanks to Jaume Marhuenda
  * support.greendns: ImportError when dns.rdtypes was imported before eventlet; Thanks to Jaume Marhuenda
  * greendns: full comment lines were not skipped; Thanks to nat-goodspeed
  * Drop support for Python3.3; Python2.6 and python-epoll package
  * external dependencies for six, monotonic, dnspython; Thanks to nat-goodspeed
  * wsgi: Don't strip all Unicode whitespace from headers on py3; Thanks to Tim Burke
  * green.threading: current_thread() did not see new monkey-patched threads; Thanks to Jake Tesler
  * tpool: exception in tpool-ed call leaked memory via backtrace
  * wsgi: latin-1 encoding dance for environ[PATH_INFO]
  * Fixed issue installing excess enum34 on Python3.4+ (rebuild with updated setuptools)
  * event: Event.wait() timeout=None argument to be compatible with upstream CPython
  * greendns: Treat /etc/hosts entries case-insensitive; Thanks to Ralf Haferkamp
  * convenience: (SO_REUSEPORT) socket.error is not OSError on Python 2; Thanks to JacoFourie@github
  * convenience: SO_REUSEPORT is not available on WSL platform (Linux on Windows)
  * convenience: skip SO_REUSEPORT for bind on random port (0)
  * dns: reading /etc/hosts raised DeprecationWarning for universal lines on Python 3.4+; Thanks to Chris Kerr
  * green.openssl: Drop OpenSSL.rand support; Thanks to Haikel Guemar
  * green.subprocess: keep CalledProcessError identity; Thanks to Linbing@github
  * greendns: be explicit about expecting bytes from sock.recv; Thanks to Matt Bennett
  * greendns: early socket.timeout was breaking IO retry loops
  * GreenSocket.accept does not notify_open; Thanks to orishoshan
  * patcher: set locked RLocks' owner only when patching existing locks; Thanks to Quan Tian
  * patcher: workaround for monotonic "no suitable implementation"; Thanks to Geoffrey Thomas
  * queue: empty except was catching too much

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=53
This commit is contained in:
Thomas Bechtold
2018-12-06 15:44:37 +00:00
committed by Git OBS Bridge
parent 718fe09a9d
commit f7e5fd44cd
5 changed files with 71 additions and 27 deletions

View File

@@ -18,16 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-eventlet
Version: 0.20.0
Version: 0.24.1
Release: 0
Summary: Concurrent networking library for Python
License: MIT
Group: Development/Languages/Python
URL: http://eventlet.net
Source: https://files.pythonhosted.org/packages/source/e/eventlet/eventlet-%{version}.tar.gz
Patch0: 0001-Fix-SSL-connection-reset-errors.patch
# PATCH-FIX-UPSTREAM PR-459.patch -- https://github.com/eventlet/eventlet/pull/459
Patch1: PR-459.patch
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module greenlet}
BuildRequires: %{python_module setuptools}
@@ -35,7 +32,10 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
# eventlet parses /etc/protocols which is not available in normal build envs
Requires: netcfg
Requires: python-dnspython >= 1.15.0
Requires: python-greenlet >= 0.3
Requires: python-monotonic >= 1.4
Requires: python-six >= 1.10.0
BuildArch: noarch
%if %{python_version_nodots} < 34
Requires: python-enum34
@@ -63,8 +63,6 @@ for Python that allows changing how code is run.
%prep
%setup -q -n eventlet-%{version}
%patch0 -p1
%patch1 -p1
sed -i '/enum.compat/d' setup.py # crude way to drop the strange "enum-compat" requirement
sed -i "s|^#!.*||" eventlet/support/greendns.py # Fix non-executable script