Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-scp for openSUSE:Factory 
checked in at 2022-07-21 11:33:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-scp (Old)
 and      /work/SRC/openSUSE:Factory/.python-scp.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-scp"

Thu Jul 21 11:33:10 2022 rev:12 rq:990229 version:0.14.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-scp/python-scp.changes    2022-02-22 
21:18:51.594293603 +0100
+++ /work/SRC/openSUSE:Factory/.python-scp.new.1523/python-scp.changes  
2022-07-21 11:33:39.190963117 +0200
@@ -1,0 +2,6 @@
+Tue Jul 19 11:58:04 UTC 2022 - Dirk M??ller <[email protected]>
+
+- update to 0.14.4:
+  * Update type hints for pyright
+
+-------------------------------------------------------------------

Old:
----
  scp-0.14.3.tar.gz

New:
----
  scp-0.14.4.tar.gz

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

Other differences:
------------------
++++++ python-scp.spec ++++++
--- /var/tmp/diff_new_pack.3eg97j/_old  2022-07-21 11:33:42.326966208 +0200
+++ /var/tmp/diff_new_pack.3eg97j/_new  2022-07-21 11:33:42.330966212 +0200
@@ -19,7 +19,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-scp
-Version:        0.14.3
+Version:        0.14.4
 Release:        0
 Summary:        SSH scp module for paramiko
 License:        LGPL-2.1-or-later

++++++ scp-0.14.3.tar.gz -> scp-0.14.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scp.py-0.14.3/CHANGELOG.md 
new/scp.py-0.14.4/CHANGELOG.md
--- old/scp.py-0.14.3/CHANGELOG.md      2022-02-15 15:34:27.000000000 +0100
+++ new/scp.py-0.14.4/CHANGELOG.md      2022-02-23 17:06:46.000000000 +0100
@@ -1,5 +1,9 @@
 # Changelog
 
+## 0.14.4 (2022-02-23)
+
+- Update type hints for pyright
+
 ## 0.14.3 (2022-02-15)
 
 - Add type hints
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scp.py-0.14.3/scp.py new/scp.py-0.14.4/scp.py
--- old/scp.py-0.14.3/scp.py    2022-02-15 15:34:27.000000000 +0100
+++ new/scp.py-0.14.4/scp.py    2022-02-23 17:06:46.000000000 +0100
@@ -5,7 +5,7 @@
 Utilities for sending files over ssh using the scp1 protocol.
 """
 
-__version__ = '0.14.3'
+__version__ = '0.14.4'
 
 import locale
 import os
@@ -34,8 +34,11 @@
     if TYPE_CHECKING:
         import paramiko.transport
 
-    # unconditionally adding pathlib here because typing only works in python3 
anyways and it's in stdlib
-    PathTypes = Union[str, bytes, "pathlib.PurePath"]
+    # this is some magic to make sure pyright doesn't get too confused with 
pathlib potentially being a nullable variable
+    import pathlib
+    PurePath = pathlib.PurePath
+
+    PathTypes = Union[str, bytes, PurePath]
 except ImportError:
     pass
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scp.py-0.14.3/setup.py new/scp.py-0.14.4/setup.py
--- old/scp.py-0.14.3/setup.py  2022-02-15 15:34:27.000000000 +0100
+++ new/scp.py-0.14.4/setup.py  2022-02-23 17:06:46.000000000 +0100
@@ -10,7 +10,7 @@
     description = fp.read()
 setup(
         name = 'scp',
-        version = '0.14.3',
+        version = '0.14.4',
         author = 'James Bardin',
         author_email = '[email protected]',
         maintainer="Remi Rampin",

Reply via email to