[packages/python-eventlet] - comment on broken green.ssl functionality with Python 3.7

qboosh qboosh at pld-linux.org
Wed Aug 1 18:50:20 CEST 2018


commit 4ac47e075505b699b8d240748adcf43109ec3965
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Aug 1 18:52:25 2018 +0200

    - comment on broken green.ssl functionality with Python 3.7

 python-eventlet.spec | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/python-eventlet.spec b/python-eventlet.spec
index 109c91b..c842789 100644
--- a/python-eventlet.spec
+++ b/python-eventlet.spec
@@ -1,8 +1,8 @@
-# TODO: fix tests
+# TODO: fix green.ssl on Python 3.7
 #
 # Conditional build:
 %bcond_without	doc		# Sphinx documentation
-%bcond_with	tests		# unit tests (some failures as of 0.23.0)
+%bcond_with	tests		# unit tests [failures with python3.7: green.ssl is broken there, as of 0.23.0]
 %bcond_without	python2		# CPython 2.x module
 %bcond_without	python3		# CPython 3.x module
 
@@ -41,6 +41,10 @@ BuildRequires:	python3-nose >= 1.3.1
 %endif
 %endif
 %{?with_doc:BuildRequires:	sphinx-pdg}
+%if %{with tests}
+# SO_REUSEPORT option for tests.convenience_test.test_socket_reuse
+BuildRequires:	uname(release) >= 3.9
+%endif
 Requires:	python-modules >= 1:2.6
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -118,7 +122,7 @@ Dokumentacja API modułu eventlet.
 %if %{with tests}
 PYTHONPATH=$(pwd) \
 nosetests-%{py_ver} tests
-%edif
+%endif
 %endif
 
 %if %{with python3}
@@ -127,7 +131,7 @@ nosetests-%{py_ver} tests
 %if %{with tests}
 PYTHONPATH=$(pwd) \
 nosetests-%{py3_ver} tests
-%edif
+%endif
 %endif
 
 %if %{with doc}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-eventlet.git/commitdiff/4ac47e075505b699b8d240748adcf43109ec3965



More information about the pld-cvs-commit mailing list