Git Product home page Git Product logo

Comments (3)

picca avatar picca commented on June 11, 2024 1

from silx.

t20100 avatar t20100 commented on June 11, 2024

Hi,

Here are a couple of options I can come up with:

  • If scipy is not installed, those tests will be skipped (but other tests will also be skipped). Is it easy to do so in the packaging config?

  • Otherwise, is it possible to copy the ascent.dat in the packaging repo and then copy it to /builds/science-team/silx/debian/output/source_dir/.pybuild/cpython3_3.11_silx/.cache/scipy-data/? The pooch package used by scipy would then find it.

  • I don't know what is the usual Debian way, but the scipy packaging could also embed the data files: The cache folder can be changed by patching the following line in scipy: https://github.com/scipy/scipy/blob/c0fa9e36168c24ce6772e054653c82c73e083d56/scipy/datasets/_fetchers.py#L14
    That would be a generic way to fix it.

  • Finally, we could also embed the ascent.dat file in silx (it's "public domain"), but that would be for another release.

Let me know what you think of those approaches.

from silx.

t20100 avatar t20100 commented on June 11, 2024
  • Finally, we could also embed the ascent.dat file in silx (it's "public
    domain"), but that would be for another release.

I think that it is a bad idea :)). :p

Fully agreed! That was my last option ;)

once again. Thanks a lot.

You're welcome, and thanks a lot for all the packaging effort!

from silx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.