Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-parfive for openSUSE:Factory checked in at 2023-08-02 16:50:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-parfive (Old) and /work/SRC/openSUSE:Factory/.python-parfive.new.22712 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-parfive" Wed Aug 2 16:50:02 2023 rev:5 rq:1101876 version:2.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-parfive/python-parfive.changes 2021-04-12 12:40:26.269583631 +0200 +++ /work/SRC/openSUSE:Factory/.python-parfive.new.22712/python-parfive.changes 2023-08-02 16:51:55.206034423 +0200 @@ -1,0 +2,26 @@ +Wed Aug 2 03:16:15 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com> + +- Update to 2.0.2: + * Vendor parse_header out of the deprecated cgi module for Python 3.11 + compatibility + * Fix a bug where an asyncio.CancelledError was not properly caught + * The file_progress, notebook, use_aiofiles, and header keyword arguments + to parfive.Downloader have been removed and moved into the + parfive.SessionConfig object. + * The timeouts keyword argument has been removed from the run_download() + and download() methods and replaced by an option in SessionConfig. + * Add a new SessionConfig object to allow advanced configuration of the + Downloader + * Improve the CLI with more options + * Use tqdm's auto notebook detection + * Fix issue with small files where the size of a chunk would round down to + 0 bytes + * Remove the default download timeout of 5 minutes for a single file + * Cast timeout environment variables to numbers + * Add a Downloader.simple_download method to easily download a list of + URLs to a single directory + * Add support for optionally using aiofiles to write files to disk. +- Switch to pyproject macros. +- Stop using greedy globs in %files. + +------------------------------------------------------------------- Old: ---- parfive-1.3.0.tar.gz New: ---- parfive-2.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-parfive.spec ++++++ --- /var/tmp/diff_new_pack.atHRxB/_old 2023-08-02 16:51:55.822038145 +0200 +++ /var/tmp/diff_new_pack.atHRxB/_new 2023-08-02 16:51:55.830038193 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-parfive # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,35 +16,36 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 Name: python-parfive -Version: 1.3.0 +Version: 2.0.2 Release: 0 Summary: A HTTP and FTP parallel file downloader License: MIT URL: https://parfive.readthedocs.io/ Source: https://files.pythonhosted.org/packages/source/p/parfive/parfive-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module aioftp >= 0.17.1} +BuildRequires: %{python_module aiofiles} BuildRequires: %{python_module aiohttp} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-localserver} BuildRequires: %{python_module pytest-socket} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module tqdm} +BuildRequires: %{python_module tqdm >= 4.27.0} # /SECTION Requires: python-aiohttp Requires: python-tqdm Requires(post): update-alternatives Requires(postun):update-alternatives +Recommends: python-aiofiles Recommends: python-aioftp BuildArch: noarch @@ -57,13 +58,13 @@ provides an interface for inspecting any failed downloads. %prep -%setup -q -n parfive-%{version} +%autosetup -p1 -n parfive-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/parfive @@ -80,7 +81,8 @@ %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/parfive +%{python_sitelib}/parfive-%{version}.dist-info %python_alternative %{_bindir}/parfive %changelog ++++++ parfive-1.3.0.tar.gz -> parfive-2.0.2.tar.gz ++++++ ++++ 3709 lines of diff (skipped)