Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-nodeenv for openSUSE:Factory 
checked in at 2022-03-24 22:58:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nodeenv (Old)
 and      /work/SRC/openSUSE:Factory/.python-nodeenv.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nodeenv"

Thu Mar 24 22:58:30 2022 rev:7 rq:964659 version:1.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nodeenv/python-nodeenv.changes    
2021-06-19 23:03:37.431725302 +0200
+++ /work/SRC/openSUSE:Factory/.python-nodeenv.new.1900/python-nodeenv.changes  
2022-03-24 23:00:42.304407190 +0100
@@ -1,0 +2,8 @@
+Thu Mar 24 11:47:05 UTC 2022 - [email protected]
+
+- do not require pytest-mock for build
+- added patches
+  fix https://github.com/ekalinin/nodeenv/issues/302
+  + python-nodeenv-no-mock.patch
+
+-------------------------------------------------------------------

New:
----
  python-nodeenv-no-mock.patch

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

Other differences:
------------------
++++++ python-nodeenv.spec ++++++
--- /var/tmp/diff_new_pack.34OnzT/_old  2022-03-24 23:00:42.764407634 +0100
+++ /var/tmp/diff_new_pack.34OnzT/_new  2022-03-24 23:00:42.784407654 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-nodeenv
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,8 @@
 License:        BSD-2-Clause
 URL:            https://github.com/ekalinin/nodeenv
 Source:         
https://github.com/ekalinin/nodeenv/archive/%{version}.tar.gz#/nodeenv-%{version}.tar.gz
-BuildRequires:  %{python_module mock}
+# https://github.com/ekalinin/nodeenv/issues/302
+Patch0:         python-nodeenv-no-mock.patch
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -40,6 +41,7 @@
 
 %prep
 %setup -q -n nodeenv-%{version}
+%patch0 -p1
 
 %build
 %python_build

++++++ python-nodeenv-no-mock.patch ++++++
Index: nodeenv-1.6.0/tests/nodeenv_test.py
===================================================================
--- nodeenv-1.6.0.orig/tests/nodeenv_test.py    2021-04-09 10:10:31.000000000 
+0200
+++ nodeenv-1.6.0/tests/nodeenv_test.py 2022-03-24 12:24:46.558624770 +0100
@@ -7,7 +7,7 @@ import subprocess
 import sys
 import sysconfig
 
-import mock
+import unittest.mock as mock
 import pytest
 
 import nodeenv
Index: nodeenv-1.6.0/tests/test_install_activate.py
===================================================================
--- nodeenv-1.6.0.orig/tests/test_install_activate.py   2021-04-09 
10:10:31.000000000 +0200
+++ nodeenv-1.6.0/tests/test_install_activate.py        2022-03-24 
12:26:03.387083907 +0100
@@ -1,7 +1,7 @@
 import sys
 import os
 
-import mock
+import unittest.mock as mock
 import pytest
 
 import nodeenv

Reply via email to