github fatiando/pooch v1.3.0

latest releases: v1.8.1, v1.8.0, v1.7.0...
3 years ago

Released on: 2020/11/27

Digital Object Identifier for the Zenodo archive

Bug fixes:

  • Properly handle capitalized hashes. On Windows, users might sometimes get capitalized hashes from the system. To avoid false hash mismatches, convert stored and computed hashes to lowercase before doing comparisons. Convert hashes to lowercase when reading from the registry to make sure stored hashes are always lowercase. (#214)

New features:

  • Add option to retry downloads if they fail. The new retry_if_failed option to pooch.create and pooch.Pooch allows retrying the download the specified number of times in case of failures due to hash mismatches (coming from Pooch) or network issues (coming from requests). This is useful for running downloads on CI that tend to fail sporadically. Waits a period of time between consecutive downloads starting with 1s and increasing up to 10s in 1s increments. (#215)
  • Allow user defined decompressed file names. Introduce new name argument to pooch.Decompress to allow user defined file names. Defaults to the previous naming convention for backward compatibility. (#203)

Documentation:

  • Add seaborn-image to list of packages using Pooch (#218)

Maintenance:

  • Add support for Python 3.9. (#220)
  • Drop support for Python 3.5. (#204)
  • Use pip instead of conda to speed up Actions (#216)
  • Add license and copyright notice to every .py file (#213)

This release contains contributions from:

  • Leonardo Uieda
  • Danilo Horta
  • Hugo van Kemenade
  • SarthakJariwala

Don't miss a new pooch release

NewReleases is sending notifications on new releases.