Source: scipy
Severity: normal
X-Debbugs-Cc: pi...@debian.org

Hello,


I am working on package which require the ascent.dat in order to run its test.

/usr/lib/python3/dist-packages/scipy/datasets/_fetchers.py:71: in ascent
    fname = fetch_data("ascent.dat")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

dataset_name = 'ascent.dat', data_fetcher = None

    def fetch_data(dataset_name, data_fetcher=data_fetcher):
        if data_fetcher is None:
>           raise ImportError("Missing optional dependency 'pooch' required "
                              "for scipy.datasets module. Please use pip or "
                              "conda to install 'pooch'.")
E           ImportError: Missing optional dependency 'pooch' required for 
scipy.datasets module. Please use pip or conda to install 'pooch'.


So my question is is it possible to provide these dataset in a dedicated 
package in order to be able to run test without network.

thanks

Frédéric


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.6-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to