Comments (3)
from silx.
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/
? Thepooch
package used byscipy
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 inscipy
: 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 insilx
(it's "public domain"), but that would be for another release.
Let me know what you think of those approaches.
from silx.
- Finally, we could also embed the
ascent.dat
file insilx
(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)
- Scipy 1.13.0 removes scipy.signal.gaussian HOT 2
- silx.opencl: Avoid executing OpenCL kernels at import time HOT 4
- Drop support for Python 3.7 HOT 1
- Dead Links in README.rst HOT 1
- numpy 2 deprecation warnings HOT 1
- overriding the match ratio in opencl/sift/match.py HOT 1
- h5py_utils fork deprecation warning
- Building `silx` against development version of numpy HOT 2
- `noexcept clause is ignored` warning in Cython code HOT 3
- Add `Tiled` data sources to browse Bluesky runs HOT 8
- Warning in Cython compilation HOT 3
- How can I copy the data in Raw view? HOT 2
- silx view - HDF5view - improve scroll area HOT 1
- silx.gui.dialog GroupDialog and DatasetDialog are missing an API to select an hdf5 entity
- Add a 'auto' imagej like option HOT 2
- silx view: Large 2D datasets are open HOT 2
- Documentation: Describe conda packaging
- [ExternalResources] Allow to set `_data_home`
- tests failures against Pytest 8.2.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from silx.