diff --git a/docs/source/whatsnew.rst b/docs/source/whatsnew.rst index cb0a959..16ce46c 100644 --- a/docs/source/whatsnew.rst +++ b/docs/source/whatsnew.rst @@ -19,6 +19,10 @@ Added ^^^^^ * Add testing for Python 3.14. (:pull:`144`) +Testing +^^^^^^^ +* The test values for the skyfield solar position function were updated to + match skyfield version 1.54. (:issue:`148`, :pull:`150`) 1.0.1 - 2025-11-09 ------------------- diff --git a/pyproject.toml b/pyproject.toml index 8f76d00..c8c7d6b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,8 +47,8 @@ dependencies = [ dynamic = ["version"] [project.optional-dependencies] -optional = ["skyfield>=1.51", "sg2"] -test = ["pytest>=7", "pytest-cov", "packaging"] +optional = ["skyfield", "sg2"] +test = ["pytest>=7", "pytest-cov", "packaging","skyfield>=1.54"] doc = [ "solposx[optional]", "sphinx==8.2.3", diff --git a/tests/test_solarposition.py b/tests/test_solarposition.py index 016a643..2690721 100644 --- a/tests/test_solarposition.py +++ b/tests/test_solarposition.py @@ -252,16 +252,16 @@ def expected_skyfield(): [32.20484556, 57.79515444, 204.96423388], [34.92239511, 55.07760489, 169.37578931], [18.63535617, 71.36464383, 234.18984836], - [35.75683037, 54.24316963, 197.66893877], - [-9.5305175, 99.5305175, 201.18798691], + [35.75683042, 54.24316958, 197.66893874], + [-9.53051750, 99.53051750, 201.18798691], [66.85755467, 23.14244533, 245.08983994], [9.52569869, 80.47430131, 338.81201317], [50.10684928, 39.89315072, 326.23556156], [35.36142589, 54.63857411, 175.38836795], [-53.24128453, 143.24128453, 18.64711844], [-53.24128453, 143.24128453, 18.64711844], - [32.43211642, 57.56788358, 205.06175657], - [32.62788726, 57.36871411, 204.26008339], + [32.43211646, 57.56788354, 205.06175654], + [32.63002970, 57.36997030, 204.25182407], [-23.40856284, 113.40856284, 79.54814898], [1.10723972, 88.89276028, 104.53937506], [32.21731177, 57.78268823, 204.91794786],