You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Limiting test data distributed within astroquery #3621
I'm working with JupyterLite, where I'd like to use astroquery. Performance for starting a JupyterLite kernel depends on the memory footprint of the dependencies.
The uncompressed size of astroquery is 28 MB. That’s smaller than astropy (45 MB), but similar to numpy (32 MB), botocore (25M), and jupyterlab (22 MB). I wonder if we could bring that number down.
I'm looking within lib/python3.13/site-packages/astroquery and running du -hs * | sort -hr to check the sizes of each module. The top three, accounting for more than half of the size of astroquery, are:
The INTEGRAL tests are the obvious first target; the tarballs can be shrunk to have placeholder files because the tests don't use them. Maybe Hubble and Euclid have similar easy fixes?
@jespinosaar Do you want to take the lead on that? (you mentioned on Slack that you'd look into it).
The MAST files are less clear to me, they are giant metadata files.
The INTEGRAL tests are the obvious first target; the tarballs can be shrunk to have placeholder files because the tests don't use them. Maybe Hubble and Euclid have similar easy fixes?
@jespinosaar Do you want to take the lead on that? (you mentioned on Slack that you'd look into it).
The MAST files are less clear to me, they are giant metadata files.
Hi all! And yes, I will take care of this. We will try to reduce the test samples.
Activity
ManonMarchand commentedon Jun 26, 2026
I'd also find this extremely useful
keflavich commentedon Jun 27, 2026
The INTEGRAL tests are the obvious first target; the tarballs can be shrunk to have placeholder files because the tests don't use them. Maybe Hubble and Euclid have similar easy fixes?
@jespinosaar Do you want to take the lead on that? (you mentioned on Slack that you'd look into it).
The MAST files are less clear to me, they are giant metadata files.
orionlee commentedon Jul 5, 2026
Are there requirements that tests / test data need to included in the wheel ?
If not, there should be ways to exclude them (tweaking
pyproject.toml, or move the tests files into a parallel directory hierarchy).jespinosaar commentedon Jul 6, 2026
Hi all! And yes, I will take care of this. We will try to reduce the test samples.