Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: wrong dependencies for pooch #18074

Closed
tupui opened this issue Mar 1, 2023 · 0 comments · Fixed by #18075
Closed

BUG: wrong dependencies for pooch #18074

tupui opened this issue Mar 1, 2023 · 0 comments · Fixed by #18075
Assignees
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected maintenance Items related to regular maintenance tasks scipy.datasets
Milestone

Comments

@tupui
Copy link
Member

tupui commented Mar 1, 2023

Pooch made an update which removes the deps to appdirs. Apparently we should update to platformdirs. See fatiando/pooch#339

It means our CI is failing with: https://dev.azure.com/scipy-org/SciPy/_build/results?buildId=23474&view=logs&jobId=ede89041-5e8e-5201-ce5c-f68c2cbf02dd&j=ede89041-5e8e-5201-ce5c-f68c2cbf02dd&t=bf6d2fae-c4b4-5aaf-e29f-d3092465da33

scipy.datasets.clear_cache
--------------------------

File "build/testenv/lib/python3.9/site-packages/scipy/datasets/_utils.py", line 78, in clear_cache
Failed example:
    datasets.clear_cache([datasets.ascent])
Exception raised:
    Traceback (most recent call last):
      File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/doctest.py", line 1334, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest clear_cache[3]>", line 1, in <module>
        datasets.clear_cache([datasets.ascent])
      File "/home/vsts/work/1/s/build/testenv/lib/python3.9/site-packages/scipy/datasets/_utils.py", line 81, in clear_cache
        _clear_cache(datasets)
      File "/home/vsts/work/1/s/build/testenv/lib/python3.9/site-packages/scipy/datasets/_utils.py", line 19, in _clear_cache
        raise ImportError("Missing optional dependency 'pooch' required "
    ImportError: Missing optional dependency 'pooch' required for scipy.datasets module. Please use pip or conda to install 'pooch'.

cc @AnirudhDagar

@tupui tupui added defect A clear bug or issue that prevents SciPy from being installed or used as expected maintenance Items related to regular maintenance tasks scipy.datasets labels Mar 1, 2023
@tupui tupui self-assigned this Mar 1, 2023
@tupui tupui added this to the 1.11.0 milestone Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected maintenance Items related to regular maintenance tasks scipy.datasets
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant