Hello community,

here is the log from the commit of package python-execnet for openSUSE:Factory 
checked in at 2018-08-08 14:45:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-execnet (Old)
 and      /work/SRC/openSUSE:Factory/.python-execnet.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-execnet"

Wed Aug  8 14:45:56 2018 rev:6 rq:628060 version:1.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-execnet/python-execnet.changes    
2018-07-17 09:38:10.454198929 +0200
+++ /work/SRC/openSUSE:Factory/.python-execnet.new/python-execnet.changes       
2018-08-08 14:45:59.680811432 +0200
@@ -1,0 +2,5 @@
+Wed Aug  8 11:32:26 UTC 2018 - mimi...@gmail.com
+
+- add fix_apipkg.patch -- fixes tests with apipkg > 1.4.0 
+
+-------------------------------------------------------------------

New:
----
  fix_apipkg.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-execnet.spec ++++++
--- /var/tmp/diff_new_pack.Y1nMEU/_old  2018-08-08 14:46:00.304812449 +0200
+++ /var/tmp/diff_new_pack.Y1nMEU/_new  2018-08-08 14:46:00.308812456 +0200
@@ -25,9 +25,10 @@
 Group:          Development/Libraries/Python
 URL:            http://codespeak.net/execnet/
 Source0:        
https://files.pythonhosted.org/packages/source/e/execnet/execnet-%{version}.tar.gz
+Patch0:         fix_apipkg.patch
 # test requirements
 BuildRequires:  %{python_module apipkg}
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module base}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
@@ -50,6 +51,7 @@
 
 %prep
 %setup -q -n execnet-%{version}
+%patch0 -p1
 sed -i "1d" execnet/script/shell.py execnet/script/socketserver.py
 
 %build

++++++ fix_apipkg.patch ++++++
>From a59f30af7cfbeed4666cc978913dfde66ca9f571 Mon Sep 17 00:00:00 2001
From: Anthony Sottile <asott...@umich.edu>
Date: Thu, 5 Jul 2018 15:14:35 -0700
Subject: [PATCH] Don't copy apipkg into the test dir -- it isn't a single file
 any more

---
 testing/test_termination.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/testing/test_termination.py b/testing/test_termination.py
index 7320cdf..ae905d4 100644
--- a/testing/test_termination.py
+++ b/testing/test_termination.py
@@ -1,6 +1,5 @@
 import pytest
 import execnet
-import apipkg
 import subprocess
 import py
 import sys
@@ -76,7 +75,6 @@ def test_close_initiating_remote_no_error(testdir, anypython):
         print ("termination")
         execnet.default_group.terminate()
     """)
-    testdir.makepyfile(apipkg=apipkg)
     popen = subprocess.Popen(
         [str(anypython), str(p), str(execnetdir)],
         stdout=None, stderr=subprocess.PIPE,)

Reply via email to