Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update specutils requirement from <=1.15.0,>=1.9.0.a to >=1.9.0.a,<=1.16.0 #93

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 11, 2024

Updates the requirements on specutils to permit the latest version.

Release notes

Sourced from specutils's releases.

v1.16.0

1.16.0 (2024-08-08)

Bug Fixes

  • Arithmetic operations on Spectrum1D objects now preserve spectral axis values that were updated by setting redshift or radial velocity. #1158

  • Ensure supported dtype is passed to medfilt during smoothing. #1156

  • Adjusted copy semantics for numpy 2 compatibility. #1145

  • Fixed moment 0 calculation to sum flux*dx (rather than flux) to match line_flux. #1141

Other Changes and Additions

  • Changed the tabular-fits reader/writer to round-trip the header, by default in the primary HDU. The reader now reads the primary header into meta['header']; the old behaviour of reading the header from the data extension can be restored by setting the option store_data_header=True. The writer is taking a corresponding option for saving meta['header'] to either primary or data extension headers. #1113

  • Improved documentation for readers/writers. [#1152, #1157]

Changelog

Sourced from specutils's changelog.

1.16.0 (2024-08-08)

Bug Fixes ^^^^^^^^^

  • Arithmetic operations on Spectrum1D objects now preserve spectral axis values that were updated by setting redshift or radial velocity. #1158

  • Ensure supported dtype is passed to medfilt during smoothing. #1156

  • Adjusted copy semantics for numpy 2 compatibility. #1145

  • Fixed moment 0 calculation to sum flux*dx (rather than flux) to match line_flux. #1141

Other Changes and Additions ^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Changed the tabular-fits reader/writer to round-trip the header, by default in the primary HDU. The reader now reads the primary header into meta['header']; the old behaviour of reading the header from the data extension can be restored by setting the option store_data_header=True. The writer is taking a corresponding option for saving meta['header'] to either primary or data extension headers. #1113

  • Improved documentation for readers/writers. [#1152, #1157]

1.15.0 (2024-05-01)

New Features ^^^^^^^^^^^^

  • Implemented SpectralRegion.write() and SpectralRegion.read() to round-trip spectral regions to/from ECSV files via astropy.table.QTable. #1133

1.14.0 (2024-04-16)

Other Changes and Additions ^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • new_flux_unit changed to with_flux_unit to match spectral version, updated docstring to reflect actual behavior. #1124

  • Compatibility with numpy 2.0 and astropy 6.1. #1130

1.13.0 (2024-02-19)

... (truncated)

Commits
  • 70ba3ba Update changelog for 1.16.0 release
  • 3eb717d Compromise and print out the estimated parameters individually (#1159)
  • b59003e Ensure arithmetic results preserve spectral axis shifts (#1158)
  • c006678 Add documentation for kwargs passed to reader+writer backends (#1157)
  • f77c8df DOC: clarify primary/data header changes and update loader documentation [ci ...
  • f5e708c bugfix: ensure flux dtype passed to medfilt is supported (#1156)
  • 92c9609 BUG: adjust copy semantics for compatibility with numpy 2 (#1145)
  • a6fd06f Fix for Tabular-fits reader/writer fix (#1113)
  • d16d91a Fix moment calculations (#1141)
  • 28b0cdb DOC: Use HTTPS
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 Aug 11, 2024
@dependabot dependabot bot force-pushed the dependabot/pip/specutils-gte-1.9.0.a-and-lte-1.16.0 branch from 96fde69 to 1a69c82 Compare August 29, 2024 14:32
Updates the requirements on [specutils](https://github.com/astropy/specutils) to permit the latest version.
- [Release notes](https://github.com/astropy/specutils/releases)
- [Changelog](https://github.com/astropy/specutils/blob/main/CHANGES.rst)
- [Commits](astropy/specutils@v1.9.0...v1.16.0)

---
updated-dependencies:
- dependency-name: specutils
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/specutils-gte-1.9.0.a-and-lte-1.16.0 branch from 1a69c82 to 4dc7eb4 Compare September 2, 2024 09:13
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