Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ftputil for openSUSE:Factory 
checked in at 2025-04-18 16:20:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ftputil (Old)
 and      /work/SRC/openSUSE:Factory/.python-ftputil.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ftputil"

Fri Apr 18 16:20:49 2025 rev:5 rq:1270571 version:5.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ftputil/python-ftputil.changes    
2024-04-12 17:40:34.972563917 +0200
+++ /work/SRC/openSUSE:Factory/.python-ftputil.new.30101/python-ftputil.changes 
2025-04-20 20:07:38.064268226 +0200
@@ -0,0 +1,16 @@
+Wed Apr 16 14:05:01 UTC 2025 - Felix Stegmeier <felix.stegme...@suse.com>
+
+- Update to 5.1.0
+  * When the path encoding is specified as UTF-8, send `OPTS UTF8 ON` if
+    the server supports it
+  * ftputil uses `ftplib.FTP` as default session factory, but explicitly
+    sets the path encoding to latin-1 (regardless of the Python
+    version). This is the same behavior as in ftputil 4.0.0 or earlier
+    if running under Python 3.8 or earlier.
+  * If client code uses a custom session factory (i. e. the
+    `session_factory` argument of the `FTPHost` constructor), ftputil
+    will take the path encoding to use for `bytes` paths from the
+    `encoding` attribute of an FTP session from this factory. If there's
+    no such attribute, an exception is raised.
+
+

Old:
----
  ftputil-3.4.tar.gz

New:
----
  ftputil-5.1.0.tar.gz

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

Other differences:
------------------
++++++ python-ftputil.spec ++++++
--- /var/tmp/diff_new_pack.6KgiW4/_old  2025-04-20 20:07:38.480285711 +0200
+++ /var/tmp/diff_new_pack.6KgiW4/_new  2025-04-20 20:07:38.480285711 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ftputil
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,14 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %{?sle15allpythons}
 Name:           python-ftputil
-Version:        3.4
+Version:        5.1.0
 Release:        0
 Summary:        High-level FTP client library (virtual file system and more) 
for Python
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Url:            http://ftputil.sschwarzer.net/
+URL:            http://ftputil.sschwarzer.net/
 Source:         
https://files.pythonhosted.org/packages/source/f/ftputil/ftputil-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -54,12 +53,10 @@
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
-mkdir -p %{buildroot}%{_docdir}
-%python_expand cp -r %{buildroot}%{_prefix}/doc/ftputil 
%{buildroot}%{_docdir}/%{$python_prefix}-ftputil
-rm -rf %{buildroot}%{_prefix}/doc/ftputil
 
 %files %{python_files}
-%{_docdir}/%{python_prefix}-ftputil
 %license LICENSE
-%{python_sitelib}/*
+%doc README.md
+%{python_sitelib}/ftputil
+%{python_sitelib}/ftputil-%{version}*.egg-info
 

++++++ ftputil-3.4.tar.gz -> ftputil-5.1.0.tar.gz ++++++
++++ 19825 lines of diff (skipped)

Reply via email to