Hello community,

here is the log from the commit of package python-botocore for openSUSE:Factory 
checked in at 2020-10-02 17:15:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-botocore (Old)
 and      /work/SRC/openSUSE:Factory/.python-botocore.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-botocore"

Fri Oct  2 17:15:35 2020 rev:62 rq:838830 version:1.17.56

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-botocore/python-botocore.changes  
2020-09-14 12:01:09.155491702 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-botocore.new.4249/python-botocore.changes    
    2020-10-02 17:15:37.798079382 +0200
@@ -1,0 +2,5 @@
+Thu Sep 24 17:50:34 UTC 2020 - Hans-Peter Jansen <h...@urpla.net>
+
+- Adjust remove_nose.patch to apply again
+
+-------------------------------------------------------------------
@@ -93,0 +99,7 @@
+
+-------------------------------------------------------------------
+Wed Aug 26 16:54:07 UTC 2020 - Matej Cepl <mc...@suse.com>
+
+- Add remove_nose.patch which ports test suite from nose to
+  pytest (mostly just plain unittest, I just don't know how to
+  mark tests as slow). Filed upstream as gh#boto/botocore#2134.

New:
----
  remove_nose.patch

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

Other differences:
------------------
++++++ python-botocore.spec ++++++
--- /var/tmp/diff_new_pack.kRL72Q/_old  2020-10-02 17:15:38.534079802 +0200
+++ /var/tmp/diff_new_pack.kRL72Q/_new  2020-10-02 17:15:38.538079804 +0200
@@ -25,6 +25,9 @@
 URL:            https://github.com/boto/botocore
 Source:         
https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz
 Patch0:         hide_py_pckgmgmt.patch
+# PATCH-FEATURE-UPSTREAM remove_nose.patch gh#boto/botocore#2134 mc...@suse.com
+# Port test suite from nose to pytest (mostly just plain unittest)
+Patch1:         remove_nose.patch
 BuildRequires:  %{python_module docutils >= 0.10}
 BuildRequires:  %{python_module jmespath < 1.0.0}
 BuildRequires:  %{python_module jmespath >= 0.7.1}
@@ -50,8 +53,9 @@
 BuildRequires:  python
 %endif
 # SECTION Testing requirements
-BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pluggy >= 0.7}
+BuildRequires:  %{python_module py >= 1.5.0}
+BuildRequires:  %{python_module pytest >= 4.6}
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module six}
 # /SECTION
@@ -62,7 +66,8 @@
 
 %prep
 %setup -q -n botocore-%{version}
-%patch0 -p1
+%autopatch -p1
+
 # remove bundled cacert.pem
 rm botocore/cacert.pem
 # remove bundled 3rd party Python modules
@@ -80,7 +85,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand nosetests-%{$python_bin_suffix} -v tests/unit
+%pytest tests/unit
 
 %files %{python_files}
 %doc README.rst

++++++ remove_nose.patch ++++++
++++ 3996 lines (skipped)


Reply via email to