Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ucsmsdk for openSUSE:Factory 
checked in at 2021-11-17 01:14:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ucsmsdk (Old)
 and      /work/SRC/openSUSE:Factory/.python-ucsmsdk.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ucsmsdk"

Wed Nov 17 01:14:04 2021 rev:8 rq:931646 version:0.9.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ucsmsdk/python-ucsmsdk.changes    
2021-05-17 18:45:29.532578420 +0200
+++ /work/SRC/openSUSE:Factory/.python-ucsmsdk.new.1890/python-ucsmsdk.changes  
2021-11-17 01:15:07.802190333 +0100
@@ -1,0 +2,11 @@
+Tue Nov 16 03:38:16 UTC 2021 - Steve Kowalik <[email protected]>
+
+- Update to 0.9.12:
+  * Fixes for python 3.9 compatibility
+  * Fixes issue in earlier release
+  * Support for UCSM release 4.2(1a)
+- Re-enable Python 3.9 build. 
+- Add patch remove-nose.patch:
+  * Switch to using unittest, dropping use of nose.
+
+-------------------------------------------------------------------

Old:
----
  ucsmsdk-0.9.10.tar.gz

New:
----
  remove-nose.patch
  ucsmsdk-0.9.12.tar.gz

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

Other differences:
------------------
++++++ python-ucsmsdk.spec ++++++
--- /var/tmp/diff_new_pack.YuH63N/_old  2021-11-17 01:15:08.658190374 +0100
+++ /var/tmp/diff_new_pack.YuH63N/_new  2021-11-17 01:15:08.662190374 +0100
@@ -17,18 +17,17 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-# https://github.com/CiscoUcs/ucsmsdk/issues/204
-%define skip_python39 1
 Name:           python-ucsmsdk
-Version:        0.9.10
+Version:        0.9.12
 Release:        0
 Summary:        Python SDK for Cisco UCS Manager
 License:        Apache-2.0
 URL:            https://github.com/CiscoUcs/ucsmsdk
 Source:         
https://github.com/CiscoUcs/ucsmsdk/archive/v%{version}.tar.gz#/ucsmsdk-%{version}.tar.gz
-BuildRequires:  %{python_module nose}
+Patch0:         remove-nose.patch
 BuildRequires:  %{python_module pyOpenSSL}
 BuildRequires:  %{python_module pyparsing}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
@@ -46,6 +45,7 @@
 %prep
 %setup -q -n ucsmsdk-%{version}
 chmod -x ucsmsdk/utils/*.py
+%autopatch -p1
 
 %build
 %python_build
@@ -56,7 +56,7 @@
 
 %check
 # skip tests that do string comparison on xml 
https://github.com/CiscoUcs/ucsmsdk/issues/188
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
nosetests-%{$python_bin_suffix} -v -e 
'(test_001_mo_to_xml|test_001_mo_heirarchy_to_xml|test_001_knownmo_unknownprop|test_002_create_gmo_using_param_dict|test_003_create_gmo_using_param_dict|test_004_create_gmo_using_parent_mo)'
+%pytest -k 'not (TestUCStoXML or TestUnknownProps or create_gmo_using)'
 
 %files %{python_files}
 %doc README.md

++++++ remove-nose.patch ++++++
++++ 3593 lines (skipped)

++++++ ucsmsdk-0.9.10.tar.gz -> ucsmsdk-0.9.12.tar.gz ++++++
++++ 20284 lines of diff (skipped)

Reply via email to