python-parfive

Edit Package python-parfive
No description set
Refresh
Refresh
Source Files
Filename Size Changed
parfive-2.0.2.tar.gz 0000031686 30.9 KB
python-parfive.changes 0000004115 4.02 KB
python-parfive.spec 0000002795 2.73 KB
Revision 9 (latest revision is 12)
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 9)
- 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.
Comments 0
openSUSE Build Service is sponsored by