···
28
+
version = "0.6.6-unstable-2025-06-11";
owner = "radio-astro-tools";
34
-
tag = "v${version}";
35
-
hash = "sha256-fBjbovBXqUfX8rG8gEM3BY5p0BLfa4n1PMbPpPJPDgQ=";
34
+
# tag = "v${version}";
35
+
# Unreleased PR with several build and test fixes: https://github.com/radio-astro-tools/spectral-cube/pull/951
36
+
rev = "f95ba1ca1823758d340ce0bfd3181ae3bc041b93";
37
+
hash = "sha256-LUWdxA7gfZI2MDpKuk+DiEJtXyWeS8co+3tZt97Uh3w=";
40
+
# remove after update to 0.6.7
41
+
env.SETUPTOOLS_SCM_PRETEND_VERSION = "0.6.6";
build-system = [ setuptools-scm ];
···
64
-
# FutureWarning: Can't acquire a memory view of a Dask array. This will raise in the future
65
-
# https://github.com/radio-astro-tools/spectral-cube/issues/943
66
-
"-Wignore::FutureWarning"
70
-
# AttributeError: 'DaskSpectralCube' object has no attribute 'dtype'
71
-
"test_key_access_valid"
73
-
# For some reason, those tests are failing with "FutureWarning: Can't acquire a memory view of a Dask array."
74
-
# without being caught by the `-W ignore::FutureWarning` flag above.
75
-
"test_1d_slice_reductions"
76
-
"test_1d_slice_round"
78
-
"test_1dcomparison_mask_1d_index"
79
-
"test_1dmask_indexing"
80
-
"test_2dcomparison_mask_1d_index"
81
-
"test_3d_beams_roundtrip"
82
-
"test_4d_beams_roundtrip"
83
-
"test_LDO_arithmetic"
85
-
"test_apply_everywhere"
86
-
"test_apply_everywhere_plusminus"
87
-
"test_apply_function_parallel_shape"
89
-
"test_basic_arrayness"
90
-
"test_basic_unit_conversion"
91
-
"test_basic_unit_conversion_beams"
92
-
"test_beam_jpix_checks_array"
95
-
"test_beam_jtok_array"
96
-
"test_beam_proj_meta"
97
-
"test_beams_convolution"
98
-
"test_beams_convolution_equal"
99
-
"test_casa_read_basic"
101
-
"test_convolve_to_equal"
102
-
"test_convolve_to_jybeam_multibeams"
103
-
"test_convolve_to_jybeam_onebeam"
104
-
"test_convolve_to_with_bad_beams"
106
-
"test_cube_stacking"
107
-
"test_cube_with_swapped_axes"
111
-
"test_getitem_vrsc"
112
-
"test_how_withfluxunit"
113
-
"test_initialization_from_units"
118
-
"test_multibeams_unit_conversions_general_1D"
119
-
"test_numpy_ma_tools"
121
-
"test_oned_slice_beams"
122
-
"test_padding_direction"
124
-
"test_preserves_header_meta_values"
126
-
"test_regression_719"
130
-
"test_spatial_smooth_g2d"
131
-
"test_spatial_smooth_maxfilter"
132
-
"test_spatial_smooth_median"
133
-
"test_spatial_smooth_t2d"
134
-
"test_spatial_world"
135
-
"test_spectral_interpolate"
136
-
"test_spectral_interpolate_reversed"
137
-
"test_spectral_interpolate_varying_chunksize"
138
-
"test_spectral_interpolate_with_fillvalue"
139
-
"test_spectral_interpolate_with_mask"
140
-
"test_spectral_slice_preserve_units"
141
-
"test_spectral_smooth"
142
-
"test_spectral_units"
144
-
"test_stacking_badvels"
145
-
"test_stacking_noisy"
146
-
"test_stacking_reversed_specaxis"
147
-
"test_stacking_woffset"
148
-
"test_stacking_wpadding"
150
-
"test_subtract_cubes"
151
-
"test_unit_conversions_general"
152
-
"test_unit_conversions_general_1D"
153
-
"test_unit_conversions_general_2D"
154
-
"test_varyres_mask"
155
-
"test_varyres_spectra"
156
-
"test_varyres_unitconversion_roundtrip"
157
-
"test_with_flux_unit"
158
-
"test_with_spectral_unit"
160
-
++ lib.optionals stdenv.hostPlatform.isDarwin [
68
+
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
# Flaky: AssertionError: assert diffvals.max()*u.B <= 1*u.MB
"test_reproject_3D_memory"