fix(deps): update dependency pooch to v1.9.0#29
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.8.2→1.9.0Release Notes
fatiando/pooch (pooch)
v1.9.0Compare Source
Released on: 2026/01/30
DOI: https://doi.org/10.5281/zenodo.18379610
Breaking changes:
Bug fixes:
filtertoTarFile.extractallon Python >=3.12 (#458). Pass afilter="data"argument toTarFile.extractallto prevent dangerous security issues. Thefilterargument was added in Python 3.12, so only pass it on versions greater or equal than that. This change matches the default behaviour that will take place since Python 3.14.tqdm.autoinstead so that the downloader looks right in either a notebook or the terminal.userforsecurity=Falseonhashlibhashing algorithms to make FIPS enabled systems happy.New features:
REQUESTS_HEADERSvariable that is used by thedoi_to_urlfunction (which requires to make a request to doi.org to figure out the service provider). Add a newheadersargument to theDOIDownloaderto specifically pass requests headers. By default it'll use the Pooch's default user agent.requestsresponse to provide more informative errors when the status code is between 400 and 600.Maintenance:
pooch/testsis installed but he data inpooch/tests/dataare not. This makes it impossible to run tests on the installed package. Add the appropriate setuptools configuration to make it happen.testjob into a new job that depends on the test job. Upload the coverage reports as artifacts after testing, and reuse the artifacts in the new job. Upload all coverage reports in a single push to Codecov to minimize the number of hits.pylintto increase the maximum number of positional arguments allowed in any function or method.pkg_resourcesforimportlib.resources(#449).pooch/core.pyand create a newtypingsubmodule for custom type classes, and add it to the API Reference. Runmypyon CI to perform type checks, and create new targets in theMakefile. Extend the list of dependencies required to run the type checks.figsharemark to tests (#481). Add a pytestfigsharemark to tests that make requests to Figshare. Such mark allows us to filter tests: usepytest -v -m figshareto only run tests with that mark, or usepytest -v -m "not figshareto run all test but the marked ones.figshareon Actions that use MacOS as runner. Those tests in CI were constantly failing, probably due to too many requests coming from GitHub. Add an optionalPYTEST_ARGS_EXTRAvariable toMakefilethat can be used to pass extra arguments topytest. Skip doctests that download files from Figshare.env/requirements-types.txtfile with the list of required packages to run types checks. This file is used by the GitHub Action workflow that automatically runs the type checks. List new requirements for type checks inenvironment.yml. Stop ignoring missing imports ofxxhashinpyproject.toml. Ignore type assignment forxxhashin test file.codecov-uploadjob before uploading the coverage reports to codecov.environment.ymland to run style checks on CI to25.*.*and<26.0.0, respectively. Since we plan to replace black with Ruff for autoformatting, it's better to pin for now than reformat it with latest version.pyproject.toml(#476). Use a SPDX expression for the license inpyproject.tomland remove the unneeded license classifier. This removes the warnings we were getting after runningmake build.Typing :: Typedtrove classifier (#472). Allow PyPI users know that Pooch supports type hints.workflow_dispatchas an event trigger for thetest.ymlworkflow.DOIDownloaders(#514). Respect user's decisions when defining theDOIDownloaderwith respect to arguments passed torequests.getwhenever we call that function. This way, all calls made byDOIDownloadersand the repository classes make use of the same arguments, includingtimeout,headers, etc.Documentation:
scXpand(#488),xclim(#445),CLISOPS(#445), andSPLASH(#432) to list of projects using Pooch.Contributors:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.