diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-16 17:39:15 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-22 13:48:46 +0000 |
| commit | 244c23c473006fafc2234b2041d129217591b38e (patch) | |
| tree | 1f8d7f81cce6d61256b1df3e7e487df69e75d98c /gnu/packages/python-compression.scm | |
| parent | 670518172f1c2b53e3cc845b8d7e3518fed27b7f (diff) | |
gnu: python-cramjam: Fix flaky tests.
* gnu/packages/python-compression.scm (python-cramjam)
[arguments]<#:phases>: Add phase 'configure-tests.
Change-Id: I1dcbdd09c068f2ad3f0b03e095963e1176ca63af
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-compression.scm')
| -rw-r--r-- | gnu/packages/python-compression.scm | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 0e6ecd9705b..9a55d099d81 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm | |||
| @@ -232,11 +232,11 @@ were a single file.") | |||
| 232 | #:modules '(((guix build cargo-build-system) #:prefix cargo:) | 232 | #:modules '(((guix build cargo-build-system) #:prefix cargo:) |
| 233 | (guix build pyproject-build-system) | 233 | (guix build pyproject-build-system) |
| 234 | (guix build utils)) | 234 | (guix build utils)) |
| 235 | #:phases #~(modify-phases %standard-phases | 235 | #:phases |
| 236 | (add-after 'unpack 'prepare-cargo-build-system | 236 | #~(modify-phases %standard-phases |
| 237 | (lambda args | 237 | (add-after 'unpack 'prepare-cargo-build-system |
| 238 | (for-each | 238 | (lambda args |
| 239 | (lambda (phase) | 239 | (for-each (lambda (phase) |
| 240 | (format #t "Running cargo phase: ~a~%" phase) | 240 | (format #t "Running cargo phase: ~a~%" phase) |
| 241 | (apply (assoc-ref cargo:%standard-phases phase) | 241 | (apply (assoc-ref cargo:%standard-phases phase) |
| 242 | #:cargo-target #$(cargo-triplet) | 242 | #:cargo-target #$(cargo-triplet) |
| @@ -244,7 +244,12 @@ were a single file.") | |||
| 244 | '(unpack-rust-crates | 244 | '(unpack-rust-crates |
| 245 | configure | 245 | configure |
| 246 | check-for-pregenerated-files | 246 | check-for-pregenerated-files |
| 247 | patch-cargo-checksums))))))) | 247 | patch-cargo-checksums)))) |
| 248 | (add-before 'check 'configure-tests | ||
| 249 | (lambda _ | ||
| 250 | ;; XXX: Otherwise some flaky tests seem to fail with | ||
| 251 | ;; SyntaxError: could not convert string to float | ||
| 252 | (setenv "CI" "1")))))) | ||
| 248 | (native-inputs | 253 | (native-inputs |
| 249 | (append | 254 | (append |
| 250 | (list maturin | 255 | (list maturin |
