mirror of
https://codeberg.org/guix/guix.git
synced 2026-09-06 05:41:48 +00:00
* gnu/packages/astronomy.scm (python-astropy): Add no download patch. [source]: Add new patch. * gnu/packages/patches/python-astropy-dont-download-iers-data.patch: Add file. * gnu/local.mk (dist_patch_DATA): Register patch. Merges: guix/guix!10344 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
commit e1e8631583ae26b1ac521afcf9b4f1fd640427fe
|
|
Author: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
|
|
Date: Tue Aug 4 09:33:22 2026 +0200
|
|
|
|
Set iers auto_download default to False.
|
|
|
|
diff --git a/astropy/utils/iers/iers.py b/astropy/utils/iers/iers.py
|
|
index 0541831366..acaf36826b 100644
|
|
--- a/astropy/utils/iers/iers.py
|
|
+++ b/astropy/utils/iers/iers.py
|
|
@@ -166,13 +166,14 @@ class Conf(_config.ConfigNamespace):
|
|
"""
|
|
|
|
auto_download = _config.ConfigItem(
|
|
- True,
|
|
+ False,
|
|
"Enable auto-downloading of the latest IERS-A data. If set to False "
|
|
"then the bundled IERS-A file will be used by default (even if a "
|
|
"newer version of the IERS-A file was previously downloaded and cached). "
|
|
"This parameter also controls whether internet resources will be "
|
|
"queried to update the leap second table if the installed version is "
|
|
- "out of date. Default is True.",
|
|
+ "out of date. Default is False in Guix for reproducibility. Refresh"
|
|
+ "the python-astropy-iers-data package instead.",
|
|
)
|
|
auto_max_age = _config.ConfigItem(
|
|
30.0,
|