Skip to content

Commit b0864d6

Browse files
ivhclaude
andcommitted
Release v0.8a1
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 9d5af32 commit b0864d6

33 files changed

Lines changed: 33 additions & 128 deletions

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
- name: Run pre-commit hooks
3737
run: uv run pre-commit run --all-files
3838

39-
- name: Test with pytest (non-slow tests)
40-
run: uv run pytest -m "not slow" --cov=pyreduce --cov-report=xml --cov-report=term
39+
- name: Test with pytest (unit tests)
40+
run: uv run pytest -m unit --cov=pyreduce --cov-report=xml --cov-report=term
4141

4242
- name: Upload coverage to Codecov
4343
uses: codecov/codecov-action@v4

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
# Changelog
22

33

4+
## [0.8a1] - 2026-02-03
5+
6+
### Added
7+
- Charslit extraction backend with degree 1-5 curvature support
8+
- ANDES_RIZ instrument configuration and settings
9+
- `trace_by` config for separate tracing of illumination groups
10+
- HDF-to-wavecal tool and reference files for ANDES_RIZ
11+
- ANDES spectra plotting tool
12+
13+
### Changed
14+
- Curvature: use literal pixel extraction_height, not fractional
15+
- Simplify extraction_height to single full-height value
16+
- Move fiber selection default from hardcoded to config
17+
- Update METIS_IFU for dynamic wavelength-based channels
18+
- Use git URL for charslit optional dependency
19+
20+
### Removed
21+
- PEP 723 inline metadata from examples (caused confusion with `uv run`)
22+
23+
### Fixed
24+
- Fix curve_height to use new full-height format in plot_comparison
25+
- Fix extraction_height to give exactly N rows
26+
- Fix CRIRES_PLUS docstring (was incorrectly HARPS)
27+
428
## [0.7] - 2026-01-25
529

630
First stable release of the 0.7 series!

CLAUDE.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -335,26 +335,19 @@ To release a new version (e.g., `0.7a6`):
335335

336336
3a. **sync** - run `uv sync` to get the new version into uv.lock
337337

338-
4. **Update example headers** - all `examples/*.py` have PEP 723 metadata:
339-
```python
340-
# /// script
341-
# dependencies = ["pyreduce-astro>=0.7a6"]
342-
# ///
343-
```
344-
345-
5. **Run unit tests** to catch issues before release:
338+
4. **Run unit tests** to catch issues before release:
346339
```bash
347340
uv run pytest -m unit
348341
```
349342

350-
6. **Commit, tag, and push**:
343+
5. **Commit, tag, and push**:
351344
```bash
352-
git add -A && git commit -m "Release v0.7a6"
353-
git tag v0.7a6
345+
git add -A && git commit -m "Release v0.8a1"
346+
git tag v0.8a1
354347
git push && git push --tags
355348
```
356349

357-
7. **Monitor GitHub Actions** - the tag push triggers:
350+
6. **Monitor GitHub Actions** - the tag push triggers:
358351
- Tests on Python 3.13
359352
- Wheel builds (Linux, Windows, macOS)
360353
- PyPI upload

examples/andes_riz.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# /// script
2-
# requires-python = ">=3.13"
3-
# dependencies = ["pyreduce-astro>=0.7"]
4-
# ///
51
"""
62
ANDES_RIZ instrument example: Step-by-step pipeline execution.
73

examples/andes_yjh_example.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# /// script
2-
# requires-python = ">=3.13"
3-
# dependencies = ["pyreduce-astro>=0.7"]
4-
# ///
51
"""
62
ANDES_YJH instrument example: Multi-fiber tracing with Pipeline API.
73

examples/crires_plus_example.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# /// script
2-
# requires-python = ">=3.13"
3-
# dependencies = ["pyreduce-astro>=0.7"]
4-
# ///
51
"""
62
Simple usage example for PyReduce
73
Loads a CRIRES+ dataset, and runs the extraction

examples/custom_instrument_example.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# /// script
2-
# requires-python = ">=3.13"
3-
# dependencies = ["pyreduce-astro>=0.7"]
4-
# ///
51
"""
62
Simple usage example for PyReduce
73
Loads a sample UVES dataset, and runs the full extraction

examples/debug_single_swath.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# /// script
2-
# requires-python = ">=3.13"
3-
# dependencies = ["pyreduce-astro>=0.7"]
4-
# ///
51
"""
62
Debug script for extracting a single swath from a specific trace.
73

examples/harpn_example.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# /// script
2-
# requires-python = ">=3.13"
3-
# dependencies = ["pyreduce-astro>=0.7"]
4-
# ///
51
"""
62
Simple usage example for PyReduce
73
Loads a HARPS-N dataset, and runs the extraction

examples/harps_example.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# /// script
2-
# requires-python = ">=3.13"
3-
# dependencies = ["pyreduce-astro>=0.7"]
4-
# ///
51
"""
62
Simple usage example for PyReduce
73
Loads a sample HARPS dataset, and runs the full extraction

0 commit comments

Comments
 (0)