Skip to content

Commit 980a0dd

Browse files
authored
Prepare Release for 0.6.0 (#167)
* Remove old template file * update for 313 testing * Changelog * Tweaks for CI * Tweak online marks * Release notes * Tidy up index page * Nitpicky
1 parent c4ecc49 commit 980a0dd

31 files changed

+131
-108
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
toxdeps: tox-pypi-filter
3737
posargs: -n auto
3838
envs: |
39-
- linux: py312
39+
- linux: py313
4040
secrets:
4141
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4242

@@ -46,7 +46,7 @@ jobs:
4646
- uses: actions/checkout@v4
4747
- uses: actions/setup-python@v5
4848
with:
49-
python-version: '3.12'
49+
python-version: '3.13'
5050
- run: python -m pip install -U --user build
5151
- run: python -m build . --sdist
5252
- run: python -m pip install -U --user twine
@@ -62,7 +62,7 @@ jobs:
6262
posargs: -n auto
6363
envs: |
6464
- windows: py311
65-
- macos: py310
65+
- macos: py312
6666
- linux: py310-oldestdeps
6767
- linux: py313-devdeps
6868
@@ -73,7 +73,7 @@ jobs:
7373
needs: [core]
7474
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
7575
with:
76-
default_python: '3.12'
76+
default_python: '3.13'
7777
submodules: false
7878
pytest: false
7979
toxdeps: tox-pypi-filter
@@ -88,13 +88,13 @@ jobs:
8888
needs: [test]
8989
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
9090
with:
91-
default_python: '3.12'
91+
default_python: '3.13'
9292
submodules: false
9393
coverage: codecov
9494
toxdeps: tox-pypi-filter
9595
posargs: -n auto --dist loadgroup
9696
envs: |
97-
- linux: py312-online
97+
- linux: py313-online
9898
secrets:
9999
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
100100

@@ -110,7 +110,7 @@ jobs:
110110
needs: [test, docs]
111111
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
112112
with:
113-
python-version: '3.12'
113+
python-version: '3.13'
114114
test_extras: 'tests'
115115
test_command: 'pytest -p no:warnings --doctest-rst --pyargs sunkit_instruments'
116116
submodules: false

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ examples/**/*.csv
221221
figure_test_images*
222222
tags
223223
sunkit_instruments/_version.py
224+
docs/sg_execution_times.rst
224225

225226
### Pycharm(?)
226227
.idea
@@ -233,6 +234,7 @@ sunkit_instruments/_version.py
233234
*.orig
234235
.tmp
235236
requirements-min.txt
237+
.ruff_cache
236238

237239
# Example files
238240
dr_suvi-l2-thmap_g16_s20220101T000000Z_e20220101T000400Z_v1-0-2.fits

.sunpy-template.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

CHANGELOG.rst

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
0.6.0 (2025-03-12)
2+
==================
3+
4+
Breaking Changes
5+
----------------
6+
7+
- Increased minimum Python version to 3.10 (`#125 <https://github.com/sunpy/sunkit-instruments/pull/125>`__)
8+
- Increased the minimum version of ``sunpy`` to 6.0.0. (`#126 <https://github.com/sunpy/sunkit-instruments/pull/126>`__)
9+
- Update the hash of the CHIANTI data file retrieved by the data manager used in `sunkit_instruments.goes_xrs.calculate_temperature_em`
10+
so that the latest version of the file is used. (`#143 <https://github.com/sunpy/sunkit-instruments/pull/143>`__)
11+
- Updated SUVI Flight Model files for FM1 (16) and FM2 (17). (`#168 <https://github.com/sunpy/sunkit-instruments/pull/168>`__)
12+
13+
14+
New Features
15+
------------
16+
17+
- Added `sunkit_instruments.response.SourceSpectra` to provide a container for
18+
spectra as a function of temperature and wavelength needed for computing temperature
19+
response functions. (`#98 <https://github.com/sunpy/sunkit-instruments/pull/98>`__)
20+
- Added `sunkit_instruments.response.abstractions.AbstractChannel` to standardize an interface
21+
for computing wavelength and temperature response functions. (`#98 <https://github.com/sunpy/sunkit-instruments/pull/98>`__)
22+
- Added support for SUVI Flight Models FM3 (18) and FM4 (19). (`#168 <https://github.com/sunpy/sunkit-instruments/pull/168>`__)
23+
24+
25+
Bug Fixes
26+
---------
27+
28+
- In the ``fermi``, the function ``get_detector_sun_angles_for_time`` returns the angle with respect to the Sun of each Fermi/GBM detector.
29+
However, these files contain gaps due to the South Atlantic Anomaly.
30+
If the time requested falls in one of these gaps, the code will return the detector angles for the next available time.
31+
This can be several minutes different from the time requested.
32+
Now, a warning to the user will be raised if the time returned by the code is more than 1 minute different from the time requested (1 minute is the nominal cadence of the spacecraft weekly file), and explains that this is likely due to a South Atlantic Anomaly encounter. (`#128 <https://github.com/sunpy/sunkit-instruments/pull/128>`__)
33+
- The function ``plot_detector_sun_angles`` was broken, due to the formatting of the time axis. (`#130 <https://github.com/sunpy/sunkit-instruments/pull/130>`__)
34+
- Fixed a bug in `~sunkit_instruments.lyra.remove_lytaf_events_from_timeseries` where units were not being correctly passed
35+
to new timeseries. (`#143 <https://github.com/sunpy/sunkit-instruments/pull/143>`__)
36+
37+
38+
Documentation
39+
-------------
40+
41+
- Add a topic guide on a vocabulary for instrument response functions. (`#111 <https://github.com/sunpy/sunkit-instruments/pull/111>`__)
42+
43+
44+
Internal Changes
45+
----------------
46+
47+
- Re-templated the entire library to use the new sunpy template. (`#133 <https://github.com/sunpy/sunkit-instruments/pull/133>`__)
48+
49+
150
0.5.0 (2023-11-17)
251
==================
352

@@ -17,7 +66,7 @@ Backwards Incompatible Changes
1766

1867
- This removes the older version of `sunkit_instruments.goes_xrs.calculate_temperature_em` that no longer works for the re-processed netcdf files and new GOES-R data.
1968

20-
This also removes the `sunkit_instruments.goes_xrs.calculate_radiative_loss_rate` and `sunkit_instruments.goes_xrs.calculate_xray_luminosity` functions that also no longer work in their current form.
69+
This also removes the ``sunkit_instruments.goes_xrs.calculate_radiative_loss_rate`` and ``sunkit_instruments.goes_xrs.calculate_xray_luminosity`` functions that also no longer work in their current form.
2170

2271
The new `sunkit_instruments.goes_xrs.calculate_temperature_em` function now returns a new sunpy.timeseries.GenericTimeSeries with the temperature and emission measure rather than appending columns to the passed XRSTimeSeries. (`#81 <https://github.com/sunpy/sunkit-instruments/pull/81>`__)
2372

LICENSE.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020-2024, The SunPy Developers
1+
Copyright (c) 2020-2025, The SunPy Developers
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,

changelog/111.doc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/125.breaking.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/126.breaking.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/128.bugfix.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

changelog/130.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)