Hello community,

here is the log from the commit of package python-pysmb for openSUSE:Factory 
checked in at 2020-11-02 09:43:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pysmb (Old)
 and      /work/SRC/openSUSE:Factory/.python-pysmb.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pysmb"

Mon Nov  2 09:43:10 2020 rev:6 rq:845166 version:1.2.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pysmb/python-pysmb.changes        
2020-10-20 16:22:49.098362329 +0200
+++ /work/SRC/openSUSE:Factory/.python-pysmb.new.3463/python-pysmb.changes      
2020-11-02 09:43:46.801804906 +0100
@@ -1,0 +2,14 @@
+Sun Oct 25 07:57:42 UTC 2020 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 1.2.5:
+  * Fix bug in filename encoding which leads to failure for file
+    retrieval and upload operations (gh#miketeo/pysmb#170,
+    gh#miketeo/pysmb#171).
+  * Improve resetFileAttributes() method in SMBConnection class to
+    allow the new attribute to be specified in the reset operation
+    (gh#miketeo/pysmb#172).
+- Use pytest to run tests (only those that don't require a network
+  connection); BuildRequires:
+  python-pytest, python-nose, and for python2 only python-twisted.
+
+-------------------------------------------------------------------

Old:
----
  pysmb-1.2.4.zip

New:
----
  pysmb-1.2.5.zip

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

Other differences:
------------------
++++++ python-pysmb.spec ++++++
--- /var/tmp/diff_new_pack.YQd13L/_old  2020-11-02 09:43:48.037806092 +0100
+++ /var/tmp/diff_new_pack.YQd13L/_new  2020-11-02 09:43:48.037806092 +0100
@@ -16,9 +16,8 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pysmb
-Version:        1.2.4
+Version:        1.2.5
 Release:        0
 Summary:        SMB/CIFS library to support file sharing between Windows and 
Linux machines
 License:        Zlib
@@ -32,7 +31,12 @@
 Requires:       python-pyasn1
 BuildArch:      noarch
 # SECTION test requirements
+BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module pyasn1}
+BuildRequires:  %{python_module pytest}
+%if 0%{?suse_version} < 1550
+BuildRequires:  python-twisted
+%endif
 # /SECTION
 %python_subpackages
 
@@ -55,7 +59,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+# Run only the tests that can work without network (and only from the right 
pythoni2/3 dir)
+%python_expand %pytest $python -k 'not SMB and not test_broadcast'
 
 %files %{python_files}
 %doc CHANGELOG README.txt


Reply via email to