- 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parfive?expand=0&rev=9
This commit is contained in:
@@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 2 03:16:15 UTC 2023 - Steve Kowalik <steven.kowalik@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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 9 13:25:01 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user