guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 6e895ad34b8dcd3ea1f10efc11a49e11b9544451
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jan 4 20:17:05 2026 +0000
gnu: python-sbpy: Skip one doc test.
* gnu/packages/astronomy.scm (python-sbpy) [arguments] <test-flags>:
Skip one test.
Change-Id: Ie3c929d9367f596561f67e34f7bebf9024641654
---
gnu/packages/astronomy.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 69b6b0535e..abd9193102 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -8531,9 +8531,16 @@ to produce realistic WFI images.")
(build-system pyproject-build-system)
(arguments
(list
- ;; tests: 591 passed, 108 skipped, 309 warnings
+ ;; tests: 590 passed, 108 skipped, 287 warnings
#:test-flags
- #~(list "--numprocesses" (number->string (min 8 (parallel-job-count))))
+ #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
+ ;; Unit conversions between flux density and Vega-based
+ ;; magnitudes use the `astropy.units equivalency system
+ ;;
<https://docs.astropy.org/en/stable/units/equivalencies.html#unit-equivalencies>`_.
+ ;; sbpy's :func:`~sbpy.units.spectral_density_vega` provides the
+ ;; equivalencies, which astropy would use to convert the units.
+ ;; The function requires a wavelength, frequency, or bandpass:
+ "--deselect=docs/sbpy/units.rst::units.rst")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check