Revisions of python-parfive

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1169461 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 6)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1101876 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 5)
- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 816513 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 3)
- Update to 1.1.0:
  * Features
    + Add concurent requests to parfive. This feature splits the download of a single file into multiple parts if the server the file is being downloaded from supports ranged requests. This should improve the performance of all downloads under these circumstances, and also make parfive useful even if downloading a single file. No changes are needed to use this feature, files will be downloaded using 12 concurrent requests by default. To change the number of concurrent requests you can pass max_splits to parfive.Downloader.enqueue_file. (#15)
    + Added CLI interface to Parfive. (#16)
    + Parfive now only supports Python 3.6+. (#22)
    + Support for specifying headers to be used for all requests to parfive.Downloader has been added. (#32)
    + Support for HTTP_PROXY and HTTPS_PROXY environment variables have been added. (#32)
  * Bugfixes
    + Fix a bug where running parfive in the notebook would error if ipywidgets was not installed. (#25)
    + Remove use of the deprecated loop= keyword argument to aiohttp.ClientSession. (#30)
    + Update the notebook detection function due to changes in tqdm (#36)
    + Reduce the number of parallel connections to 25 (5 parallel files, 5 parallel downloads per file). (#37)
- Sprinkle in update-alternatives for parfive wrapper.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 717965 from Todd R's avatar Todd R (TheBlackCat) (revision 1)
A HTTP and FTP parallel file downloader
Displaying all 6 revisions
openSUSE Build Service is sponsored by