Skip to content

Bump spectral-cube from 0.6.7 to 0.7.0 - #412

Open
dependabot[bot] wants to merge 3 commits into
masterfrom
dependabot/pip/master/spectral-cube-0.7.0
Open

dependabot[bot] wants to merge 3 commits into
masterfrom
dependabot/pip/master/spectral-cube-0.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026

Copy link
Copy Markdown
Contributor

Bumps spectral-cube from 0.6.7 to 0.7.0.

Release notes

Sourced from spectral-cube's releases.

v0.7.0

What's Changed

New Contributors

Full Changelog: radio-astro-tools/spectral-cube@v0.6.7...v0.7.0

Changelog

Sourced from spectral-cube's changelog.

0.7.0 (2026-10-06)

  • Avoid deprecation warning with astropy>=8 #991

  • Allow multiplicative operations (multiply, divide) between cubes with non-equivalent units, e.g. a Jy/beam cube and a dimensionless (unitless) cube. Additive operations still require equivalent units. #1011

  • Fixed several cases where operations silently upcast float32 cubes to float64, doubling their memory footprint: to() (unit conversion) on SpectralCube, VaryingResolutionSpectralCube, and LowerDimensionalObject, and any operation built on apply_function_parallel_spatial/apply_function_parallel_spectral (e.g. convolve_to, spatial_smooth, spectral_smooth), which always allocated a float64 output buffer regardless of the input dtype. VaryingResolutionSpectralCube.convolve_to had the same issue in its own output buffer allocation. #995

  • Fixed Projection.convolve_to (i.e. convolving a single cube slice/plane) silently omitting the Jy/beam scaling by the change in beam area that SpectralCube.convolve_to already applies, which could produce incorrect values. #1016

  • Fixed get_mask_array() raising AttributeError on a cube with no mask attached (e.g. one with no blanked/NaN values on read); it now returns None, consistent with how a missing mask is already handled elsewhere. #1014

  • Fixed the -dev tox test factor silently installing released astropy/numpy/pyerfa from PyPI instead of the intended dev/nightly builds: uv does not read the pip-style PIP_EXTRA_INDEX_URL env var the nightly indexes were configured through, and even once pointed at the right indexes (via UV_INDEX), uv does not implicitly allow pre-release versions the way pip does, so it kept selecting the latest released version. #994

  • Fixed: DaskSpectralCube.spectral_interpolate was building the output mask in opposite spectral order from the data when the spectrum was reversed #1018

  • Fixed the progress bar being hardwired for ray-wise spectral operations, fixed and tested use_memmap=False for parallel convolve_to (now warns instead of silently running serially), added a disable_huge_flag to prevent multiple memmaps from being used in parallel with joblib, and documented selecting the memmap directory via memmap_dir in big_data.rst. #973

  • Added a backend keyword to apply_function_parallel_base/ apply_function_parallel_spatial/apply_function_parallel_spectral (and therefore convolve_to, spectral_smooth, etc.) to choose the joblib Parallel backend ('loky', 'threading', 'multiprocessing'). #973

... (truncated)

Commits
  • 1882ac2 Add id-token permission and pypi environment for trusted publishing
  • eff7c0c Prepare 0.7.0 release
  • 820fcaf Merge pull request #1024 from e-koch/casa-ci-py312-py313
  • cb4b8f0 Pass Python floats to casatools setrestoringbeam in CASA tests
  • 9767c23 Add changelog entry
  • 4caccef Run CASA tests on py312 and py313
  • 4f1c69f Merge pull request #1022 from e-koch/fix-to-glue-ci
  • 3f4565f Document Qt binding requirement for to_glue
  • 49bd63d Remove viz-extra comment in pyproject.toml
  • efa170a Simplify glue tests to the minimal to_glue use
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Oct 14, 2026
@codecov

codecov Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 7.96%. Comparing base (24dcf46) to head (735cdf4).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff           @@
##           master    #412   +/-   ##
======================================
  Coverage    7.95%   7.96%           
======================================
  Files          42      42           
  Lines       16635   16631    -4     
  Branches     3983    3982    -1     
======================================
  Hits         1324    1324           
+ Misses      15288   15284    -4     
  Partials       23      23           
Components Coverage Δ
casa 4.94% <ø> (ø)
handler 6.29% <ø> (ø)
spectral-cube 10.16% <0.00%> (+0.01%) ⬆️
utils 13.59% <ø> (ø)

dependabot Bot and others added 3 commits October 15, 2026 09:22
Bumps [spectral-cube](https://github.com/radio-astro-tools/spectral-cube) from 0.6.7 to 0.7.0.
- [Release notes](https://github.com/radio-astro-tools/spectral-cube/releases)
- [Changelog](https://github.com/radio-astro-tools/spectral-cube/blob/main/CHANGES.rst)
- [Commits](radio-astro-tools/spectral-cube@v0.6.7...v0.7.0)

---
updated-dependencies:
- dependency-name: spectral-cube
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
- Removed the Jy/beam beam factor in Projection convolution, since this is now fixed upstream
- Changed from == to >=
@thomaswilliamsastro
thomaswilliamsastro force-pushed the dependabot/pip/master/spectral-cube-0.7.0 branch from c9c4c42 to 735cdf4 Compare October 15, 2026 08:25
@thomaswilliamsastro

Copy link
Copy Markdown
Collaborator

@e-koch I've now removed the Jy/beam conversion factor fix we had here (since it's now fixed in radio-astro-tools/spectral-cube#1017), and moved from a strict pin to >=. There's also some tidying up to do on unitless_filled_data[:] since we can now multiply by unitless cubes, but I think that should be a separate PR. Good to merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant