Hello community,

here is the log from the commit of package python-pypipegraph for 
openSUSE:Factory checked in at 2019-12-24 14:29:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pypipegraph (Old)
 and      /work/SRC/openSUSE:Factory/.python-pypipegraph.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pypipegraph"

Tue Dec 24 14:29:49 2019 rev:1 rq:758727 version:0.189

Changes:
--------
New Changes file:

--- /dev/null   2019-12-19 10:12:34.003146842 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pypipegraph.new.6675/python-pypipegraph.changes
  2019-12-24 14:29:49.842571902 +0100
@@ -0,0 +1,6 @@
+-------------------------------------------------------------------
+Mon Dec  2 17:06:21 UTC 2019 - Todd R <toddrme2...@gmail.com>
+
+- initial version
+- Add use_current_exe.patch
+  From: https://github.com/TyberiusPrime/pypipegraph/pull/3

New:
----
  pypipegraph-0.189.tar.gz
  python-pypipegraph.changes
  python-pypipegraph.spec
  use_current_exe.patch

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

Other differences:
------------------
++++++ python-pypipegraph.spec ++++++
#
# spec file for package python-pypipegraph
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define         skip_python2 1
Name:           python-pypipegraph
Version:        0.189
Release:        0
Summary:        A workflow (job) engine/pipeline
License:        MIT
URL:            https://github.com/TyberiusPrime/pypipegraph
Source:         
https://files.pythonhosted.org/packages/source/p/pypipegraph/pypipegraph-%{version}.tar.gz
# PATCH-FIX-UPSTREAM use_current_exe.patch -- 
https://github.com/TyberiusPrime/pypipegraph/pull/3
Patch0:         use_current_exe.patch
BuildRequires:  %{python_module setuptools >= 38.3}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Requires:       python-numpy
BuildArch:      noarch
# SECTION test requirements
BuildRequires:  %{python_module flake8}
BuildRequires:  %{python_module ipython}
BuildRequires:  %{python_module numpy}
BuildRequires:  %{python_module notebook}
BuildRequires:  %{python_module pytest}
BuildRequires:  %{python_module pytest-cov}
# /SECTION
%python_subpackages

%description
A workflow (job) engine/pipeline for bioinformatics and scientific computing.

%prep
%setup -q -n pypipegraph-%{version}
%autopatch -p1

%build
%python_build

%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%check
# We don't care about these tests
%pytest -k 'not test_flake8 and not test_notebook'

%files %{python_files}
%doc README.md
%license COPYING
%python3_only %{_bindir}/ppg_invariant_diff
%{python_sitelib}/*

%changelog
++++++ use_current_exe.patch ++++++
>From bc5adee4c17eafaca1c8ce1a6bd89143b8c3d44f Mon Sep 17 00:00:00 2001
From: Todd <toddrme2...@gmail.com>
Date: Mon, 2 Dec 2019 12:05:32 -0500
Subject: [PATCH] Use current python executable

Currently the system default is used, which may not be the version running the 
test and may not have pypipegraph installed.
---
 tests/test_other.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/test_other.py b/tests/test_other.py
index 2ab70df..b6ea8d5 100644
--- a/tests/test_other.py
+++ b/tests/test_other.py
@@ -24,6 +24,7 @@
 
 import os
 import subprocess
+import sys
 import pytest
 import pypipegraph as ppg
 from .shared import write, read, append, Dummy, assertRaises
@@ -189,7 +190,7 @@ def testing_import_does_not_hang(self):  # see python 
issue22853
         old_dir = os.getcwd()
         os.chdir(os.path.dirname(__file__))
         p = subprocess.Popen(
-            ["python", "_import_does_not_hang.py"],
+            [sys.executable, "_import_does_not_hang.py"],
             stdout=subprocess.PIPE,
             stderr=subprocess.PIPE,
         )

Reply via email to