forked from pool/python-parfive
75863eb510bcd0232e5b06f3ccd44350a37da1b738246a10c5235254b0293d34
- 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/request/show/1101876 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parfive?expand=0&rev=5
Description
No description provided
Languages
RPM Spec
100%