guix_mirror_bot pushed a commit to branch astro-update
in repository guix.
commit c89b7b8e17e520b8aace7efd1a8c1222bf9ef731
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Mar 15 21:05:43 2026 +0000
gnu: python-drizzlepac: Enable tests.
* gnu/packages/astronomy.scm (python-drizzlepac)[arguments] <tests?,
test-flags>: Enable with 3 tests skipped.
[phases]{remove-local-source}: New phase.
Change-Id: I09b6ee1848bd0f809da904094a00a19d53758d91
---
gnu/packages/astronomy.scm | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 96721340ff..fd0f791421 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4488,9 +4488,18 @@ code to be greatly simplified.")
(build-system pyproject-build-system)
(arguments
(list
- ;; TODO: Tests fail to load with error: E ModuleNotFoundError: No module
- ;; named 'stsci.tools'
- #:tests? #f))
+ #:test-flags
+ #~(list #$@(map (lambda (ls) (string-append "--deselect=tests/"
+ (string-join ls "::")))
+ ;; Network access is required.
+ '(("hap/test_pipeline.py" "TestSingleton"
+ "test_astrometric_singleton[iaaua1n4q]")
+ ("hap/test_svm_ci.py" "TestSVMCI" "test_svm_ci"))))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'remove-local-source
+ (lambda _
+ (delete-file-recursively "drizzlepac"))))))
(native-inputs
(list python-ci-watson
python-crds-minimal