Hello community,
here is the log from the commit of package python-fs for openSUSE:Factory checked in at 2019-02-15 09:55:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fs (Old)
and /work/SRC/openSUSE:Factory/.python-fs.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-fs"
Fri Feb 15 09:55:49 2019 rev:5 rq:669134 version:2.2.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fs/python-fs.changes 2018-12-19 13:53:07.866976337 +0100
+++ /work/SRC/openSUSE:Factory/.python-fs.new.28833/python-fs.changes 2019-02-15 09:55:49.655751866 +0100
@@ -1,0 +2,151 @@
+Fri Jan 25 21:31:50 UTC 2019 - Todd R
+
+- Update to version 2.2.1
+ + Fixed
+ * `Registry.install` returns its argument.
+- Update to version 2.2.0
+ * A few methods have been renamed for greater clarity (but functionality remains the same).
+ The old methods are now aliases and will continue to work, but will
+ issue a deprecation warning via the `warnings` module.
+ Please update your code accordingly.
+ > `getbytes` -> `readbytes`
+ > `getfile` -> `download`
+ > `gettext` -> `readtext`
+ > `setbytes` -> `writebytes`
+ > `setbinfile` -> `upload`
+ > `settext` -> `writetext`
+ + Changed
+ * Changed default chunk size in `copy_file_data` to 1MB
+ * Added `chunk_size` and `options` to `FS.upload`
+- Update to version 2.1.3
+ + Fixed
+ * Incomplete FTPFile.write when using `workers` @geoffjukes
+ * Fixed AppFS not creating directory
+ + Added
+ * Added load_extern switch to opener, fixes #228 @althanos
+- Update to version 2.1.2
+ + Added
+ * Support for Windows NT FTP servers @sspross
+ + Fixed
+ * Root dir of MemoryFS accesible as a file
+ * Packaging issues @televi
+ * Deprecation warning re collections.Mapping
+- Update to version 2.1.1
+ + Added
+ * Added PEP 561 py.typed files
+ * Use sendfile for faster copies @althonos
+ * Atomic exclusive mode in Py2.7 @sqwishy
+ + Fixed
+ * Fixed lstat @kamomil
+- Update to version 2.1.0
+ + Added
+ * fs.glob support
+- Update to version 2.0.27
+ + Fixed
+ * Fixed for Winows paths #152
+ * Fixed ftp dir parsing (@dhirschfeld)
+- Update to version 2.0.26
+ + Fixed
+ * fs.copy and fs.move disable workers if not thread-safe
+ * fs.match detects case insensitivity
+ * Open in exclusive mode is atomic (@squishy)
+ * Exceptions can be pickleabe (@Spacerat)
+- Update to version 2.0.25
+ + Added
+ * workers parameter to fs.copy, fs.move, and fs.mirror for concurrent
+ copies
+- Update to version 2.0.24
+ + Added
+ * timeout to FTP opener
+- Update to version 2.0.23
+ * Fix for Markdown on PyPi, no code changes
+- Update to version 2.0.22
+ + Fixed
+ * Handling of broken unicode on Python2.7
+ + Added
+ * Added fs.getospath
+- Update to version 2.0.21
+ + Added
+ * Typing information
+ * Added Info.suffix, Info.suffixes, Info.stem attributes
+ + Fixed
+ * Fixed issue with implied directories in TarFS
+ + Changed
+ * Changed path.splitext so that 'leading periods on the basename are
+ ignored', which is the behaviour of os.path.splitext
+- Update to version 2.0.20
+ + Fixed
+ * MultiFS.listdir now correctly filters out duplicates
+- Update to version 2.0.19
+ + Fixed
+ * encoding issue with TarFS
+ * CreateFailed now contains the original exception in `exc` attribute
+- Update to version 2.0.18
+ + Added
+ * fs.getfile function
+ + Changed
+ * Modified walk to use iterators internally (for more efficient walking)
+ * Modified fs.copy to use getfile
+- Update to version 2.0.17
+ + Fixed
+ * Issue with ZipFS files missing a byte
+- Update to version 2.0.16
+ + Added
+ * fs.parts
+ + Fixed
+ * Walk now yields Step named tuples as advertised
+ + Added
+ * Added max_depth parameter to fs.walk
+- Update to version 2.0.15
+ + Changed
+ * ZipFS files are now seekable (Martin Larralde)
+- Update to version 2.0.14
+ * No changes, pushed wrong branch to PyPi.
+- Update to version 2.0.13
+ + Fixed
+ * Fixed ignore_errors in walk.py
+- Update to version 2.0.12
+ + Fixed
+ * settext, appendtext, appendbytes, setbytes now raise a TypeError if
+ the type is wrong, rather than ValueError
+ * More efficient feature detection for FTPFS
+ * Fixes for `fs.filesize`
+ * Major documentation refactor (Martin Larralde)
+- Update to version 2.0.11
+ + Added
+ * fs.mirror
+- Update to version 2.0.10
+ + Added
+ * Added params support to FS URLs
+ + Fixed
+ * Many fixes to FTPFS contributed by Martin Larralde.
+- Update to version 2.0.9
+ + Changed
+ * MountFS and MultiFS now accept FS URLS
+ * Add openers for AppFS
+- Update to version 2.0.8
+ + Added
+ * Lstat info namespace
+ * Link info namespace
+ * FS.islink method
+ * Info.is_link method
+- Update to version 2.0.7
+ + Fixes
+ * Fixed entry point breaking pip
+- Update to version 2.0.6
+ + Fixes
+ * Opener refinements
+- Update to version 2.0.5
+ + Fixed
+ * Fixed potential for deadlock in MemoryFS
+ + Added
+ * Added factory parameter to opendir.
+ * ClosingSubFS.
+ * File objects are all derived from io.IOBase.
+ + Fixed
+ * Fix closing for FTP opener.
+- License change to MIT
+- Rebase and update more-relaxed-requirements.patch
+- Remove no longer needed python-fs-fix-ftp-test.patch
+
+-------------------------------------------------------------------
Old:
----
fs-2.0.4.tar.gz
python-fs-fix-ftp-test.patch
New:
----
fs-2.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-fs.spec ++++++
--- /var/tmp/diff_new_pack.TkixqM/_old 2019-02-15 09:55:50.215751689 +0100
+++ /var/tmp/diff_new_pack.TkixqM/_new 2019-02-15 09:55:50.215751689 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-fs
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -16,39 +16,45 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-fs
-Version: 2.0.4
+Version: 2.2.1
Release: 0
Summary: Python's filesystem abstraction layer
-License: BSD-3-Clause
+License: MIT
Group: Development/Languages/Python
Url: https://github.com/PyFilesystem/pyfilesystem2
Source: https://files.pythonhosted.org/packages/source/f/fs/fs-%{version}.tar.gz
# PATCH-FIX-UPSTREAM more-relaxed-requirements.patch sebix+novell.com@sebix.at -- Weaken the version dependencies
Patch0: more-relaxed-requirements.patch
-# PATCH-FIX-OPENSUSE make ftp tests pass in 2018
-Patch1: python-fs-fix-ftp-test.patch
BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module appdirs >= 1.4}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pyftpdlib}
+BuildRequires: %{python_module psutil}
+BuildRequires: %{python_module pysendfile}
BuildRequires: %{python_module pytz}
-BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.10.0}
+BuildRequires: python-backports.os
+BuildRequires: python-typing
%endif
Requires: python-appdirs
+Requires: python-psutil
Requires: python-pytz
Requires: python-setuptools
Requires: python-six
-%if %python_version_nodots < 35
+%ifpython2
+Requires: python-backports.os
+%endif
+%if %{python_version_nodots} < 35
+Requires: python-typing
Recommends: python-enum34
-Suggests: python-scandir >= 1.5
+Recommends: python-scandir >= 1.5
%endif
BuildArch: noarch
@@ -63,14 +69,14 @@
%prep
%setup -q -n fs-%{version}
-%patch0
-%patch1 -p1
+%patch0 -p1
%build
%python_build
%install
%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
@@ -79,8 +85,8 @@
%endif
%files %{python_files}
-%defattr(-,root,root,-)
-%doc README.rst
+%doc README.md
+%license LICENSE
%{python_sitelib}/*
%changelog
++++++ fs-2.0.4.tar.gz -> fs-2.2.1.tar.gz ++++++
++++ 24034 lines of diff (skipped)
++++++ more-relaxed-requirements.patch ++++++
--- /var/tmp/diff_new_pack.TkixqM/_old 2019-02-15 09:55:50.331751652 +0100
+++ /var/tmp/diff_new_pack.TkixqM/_new 2019-02-15 09:55:50.331751652 +0100
@@ -1,26 +1,30 @@
---- setup.py 2017-05-20 18:01:44.000000000 +0200
-+++ setup.py 2017-07-19 21:52:56.023550438 +0200
-@@ -23,10 +23,10 @@
- DESCRIPTION = f.read()
+--- a/setup.py
++++ b/setup.py
+@@ -21,10 +21,10 @@
+ ]
REQUIREMENTS = [
-- "appdirs~=1.4.0",
+- "appdirs~=1.4.3",
+ "appdirs",
"pytz",
"setuptools",
-- "six~=1.10.0",
+- "six~=1.10",
+ "six",
]
setup(
-@@ -36,8 +36,8 @@
+@@ -34,10 +34,10 @@
description="Python's filesystem abstraction layer",
install_requires=REQUIREMENTS,
extras_require={
- "scandir :python_version < '3.5'": ['scandir~=1.5'],
-- ":python_version < '3.4'": ['enum34~=1.1.6']
+- ":python_version < '3.4'": ['enum34~=1.1.6'],
+- ":python_version < '3.6'": ['typing~=3.6'],
+- ":python_version < '3.0'": ['backports.os~=0.1']
+ "scandir :python_version < '3.5'": ['scandir'],
-+ ":python_version < '3.4'": ['enum34']
++ ":python_version < '3.4'": ['enum34'],
++ ":python_version < '3.6'": ['typing'],
++ ":python_version < '3.0'": ['backports.os']
},
- license="BSD",
- long_description=DESCRIPTION,
+ license="MIT",
+ name='fs',