Files
guix-mirror/gnu/packages/patches/python-astropy-dont-download-iers-data.patch
Hugo Buddelmeijer 7e843e13ac gnu: python-astropy: Disable downloading of iers data by default.
* 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>
2026-08-06 14:12:25 +01:00

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,