Releases: fatiando/pooch
v1.8.2
Released on: 2024/06/06
DOI: https://doi.org/10.5281/zenodo.11493461
Bug fixes:
- Use a variable to set the default request timeout (#418)
Documentation:
- Add HyperSpy, RosettaSciIO, eXSpy to projects using pooch (#408)
- Add more packages using Pooch (#403)
Maintenance:
- Add optional dependencies to environment.yml (#413)
- Run tests with oldest dependencies on x86 macos (#414)
- Mark additional tests requiring network (#412)
- Fix package description in pyproject.toml (#407)
- Setup Trusted Publisher deployment to PyPI (#406)
- Use Burocrata to check and add license notices (#402)
- Use pyproject.toml instead of setup.cfg (#401)
This release contains contributions from:
- Sandro
- Jonas Lähnemann
- Santiago Soler
- Leonardo Uieda
v1.8.1
Released on: 2024/02/19
DOI: https://doi.org/10.5281/zenodo.10680982
Bug fixes:
- Use the ID instead of persistentID for Dataverse downloads since some repositories don't issue persistentIDs but all issue normal IDs (#355)
- Ensure all archive members are unpacked in subsequent uses of
Untar
/Unzip
if the first call only asked for a few members (#365)
Documentation:
- Move "Projects using Pooch" further up the README (#386)
- Update the versions of sphinx and its plugins (#385)
Maintenance:
- Remove many deprecated pylint options (#329)
- Use Dependabot to manage GitHub Actions (#387)
- Simplify the test GitHub Actions workflow (#384)
- Update format for Black 24.1.1 (#383)
This release contains contributions from:
- Mark Harfouche
- Juan Nunez-Iglesias
- Santiago Soler
- Leonardo Uieda
v1.8.0
Released on: 2023/10/24
Bug fixes:
- Fix bug: add support for old and new Zenodo APIs (#375)
New features:
- Only create local data directories if necessary (#370)
- Speed up import time by lazy loading requests (#328)
Maintenance:
Documentation:
- Add GemGIS to list of projects using Pooch (#349)
- Fix spelling of Dataverse (#353)
- Fix grammar on retrieve documentation (#359)
This release contains contributions from:
- Hugo van Kemenade
- AlexanderJuestel
- Mark Harfouche
- Philip Durbin
- Rob Luke
- Santiago Soler
- Stephan Hoyer
v1.7.0
Released on: 2023/02/27
Bug fixes:
- Make archive extraction always take members into account (#316)
- Figshare downloaders fetch the correct version, instead of always the latest one. (#343)
New features:
- Allow spaces in filenames in registry files (#315)
- Refactor
Pooch.is_available
to use downloaders (#322) - Add support for downloading files from Dataverse DOIs (#318)
- Add a new
Pooch.load_registry_from_doi
method that populates the Pooch registry using DOI-based data repositories (#325) - Support urls for Zenodo repositories created through the GitHub integration service, which include slashes in the filename of the main zip files (#340)
- Automatically add a trailing slash to
base_url
onpooch.create
(#344)
Maintenance:
- Drop support for Python 3.6 (#299)
- Port from deprecated
appdirs
toplatformdirs
(#339) - Update version of Codecov's Action to v3 (#345)
Documentation:
- Update sphinx, theme, and sphinx-panels (#300)
- Add CITATION.cff for the JOSS article (#308)
- Use Markdown for the README (#311)
- Improve docstring of
known_hash
inretrieve
function (#333) - Replace link to Pooch's citation with a BibTeX code snippet (#335)
Projects that started using Pooch:
This release contains contributions from:
- Alex Fikl
- Anirudh Dagar
- Björn Ludwig
- Brian Rose
- Dominic Kempf
- Florian Wellmann
- Gabriel Fu
- Kyle I S Harrington
- Leonardo Uieda
- myd7349
- Rowan Cockett
- Santiago Soler
v1.6.0
Released on: 2022/01/24
Important:
- This is the last release with support for Python 3.6. The next major/minor release of Pooch will require Python >= 3.7.
- Pooch now specifies version bounds for our required dependencies and a plan for dropping support for older versions. Please revise it if you depend on Pooch.
Enhancements:
- Add option to disable updates on hash mismatch (#291 and #292)
- Allow enabling progress bars with an argument in
Pooch.fetch
andretrieve
(#277)
Documentation:
- Use real data URLs in the README example code (#295)
- Tell users to import from the top-level namespace (#288)
- Update the contact link to fatiando.org/contact (#282)
- Refer the community guides to fatiando/community (#281)
- Mention in docs that figshare collections aren't supported (#275)
Maintenance:
- Replace Google Analytics for Plausible to make our docs more privacy-friendly (#293)
- Use Dependente to capture dependencies on CI (#289)
- Use
build
instead of setup.py (#287) - Run the tests weekly on GitHub Actions (#286)
- Set minimum required version of dependencies (#280)
- Rename "master" to "main" throughout the project (#278)
- Remove trailing slash from GitHub handle in
AUTHORS.md
(#279)
This release contains contributions from:
- Santiago Soler
- Genevieve Buckley
- Ryan Abernathey
- Ryan May
- Leonardo Uieda
v1.5.2
Released on: 2021/10/11
Bug fixes:
- Fix bug when unpacking an entire subfolder from an archive. Now both unpacking processors (
Untar
andUnzip
) handlemembers
that are folders (not files) correctly. (#266)
Enhancements:
- Add support for Python 3.10 (#260)
- Point to the user's code for the file_hash warning instead of our internal code (which isn't very useful) (#259)
Documentation:
- Fix typo in a variable name of the examples in the documentation (#268)
- Fix typo when specifying the SFTP protocol in the about page (#267)
Maintenance:
- Remove old testing checks if running on TravisCI (#265)
This release contains contributions from:
- Santiago Soler
- Hugo van Kemenade
- Mark Harfouche
- Leonardo Uieda
v1.5.1
Released on: 2021/08/24
WARNING: Please use from pooch import file_hash
instead of from pooch.utils import file_hash
. This is backwards compatible with all previous versions of Pooch. We recommend importing all functions and classes from the top-level namespace.
Bug fixes:
- Make
file_hash
accessible from thepooch.utils
module again. Moving this function topooch.hashes
caused crashes downstream. To prevent these crashes, add a wrapper back to utils that issues a warning that users should import from the top-level namespace instead. (#257) - Use a mirror of the test data directory in tests that write to it. (#255)
- Add a pytest mark for tests accessing the network so that they can easily excluded when testing offline. (#254)
This release contains contributions from:
- Antonio Valentino
- Leonardo Uieda
v1.5.0
Released on: 2021/08/23
New features:
- Add support for non-cryptographic hashes from the xxhash package. They aren't as safe (but safe enough) and compute in fractions of the time from SHA or MD5. This makes it feasible to use hash checking on large datasets. (#242)
- Add support for using figshare and Zenodo DOIs as URLs (with the protocol
doi:{DOI}/{file name}
, which works out-of-the-box withPooch.fetch
andretrieve
). Can only download 1 file from the archive (not the full archive) and the file name must be specified in the URL. (#241)
Maintenance:
- Move hash functions to their own private module. No changes to the public API. (#244)
- Run CI jobs on Python version extremes instead of all supported versions (#243)
This release contains contributions from:
- Mark Harfouche
- Leonardo Uieda
v1.4.0
Released on: 2021/06/08
Bug fixes:
- Fix bug in
Untar
andUnzip
when the archive contains subfolders (#224)
Documentation:
Enhancements:
- Add support for non-tqdm progress bars on HTTPDownloader (#228)
- Allow custom unpack locations in
Untar
andUnzip
(#224)
Maintenance:
- Replace versioneer with setuptools-scm (#235)
- Automatically check license notice on code files (#231)
- Don't store documentation HTML as CI build artifacts (#221)
This release contains contributions from:
- Leonardo Uieda
- Agustina Pesce
- Clément Robert
- Daniel McCloy
v1.3.0
Released on: 2020/11/27
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 topooch.create
andpooch.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 fromrequests
). 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 topooch.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