From 8c4cee17a0f6b008da42d6337702efef406dfa5e Mon Sep 17 00:00:00 2001 From: Simon Birkholz Date: Fri, 16 Oct 2026 22:40:38 +0200 Subject: [PATCH 1/3] release: v3.6.1.0 Bump the version to 3.6.1.0 for cuvis SDK 3.6.1 and raise the cuvis-il requirement to >=3.6.1,<3.7.0. No API changes. --- CHANGELOG.md | 9 +++++++++ pyproject.toml | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eac4a51..e997eab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,15 @@ Pre-releases (`b*`, `rc*`) are not listed. ## [Unreleased] +## [3.6.1.0] - 2026-10-16 + +Targets cuvis SDK 3.6.1. +First wrapper release for that SDK. + +### Changed + +- `pyproject.toml` - the `cuvis-il` requirement is raised to `>=3.6.1,<3.7.0`. + ## [3.6.0.0] - 2026-09-11 Targets cuvis SDK 3.6.0. diff --git a/pyproject.toml b/pyproject.toml index 099e8d0..2bb006c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "cuvis" -version = "3.6.0.0" +version = "3.6.1.0" description = "CUVIS Python SDK." readme = "README.md" requires-python = ">=3.10" @@ -14,7 +14,7 @@ authors = [ ] dependencies = [ - "cuvis-il>=3.6.0,<3.7.0", + "cuvis-il>=3.6.1,<3.7.0", "setuptools; python_version>='3.12'" # Only for Python 3.12+ ] From 07cae586f7655cbdb882a93d2a47b33777e6b956 Mon Sep 17 00:00:00 2001 From: Simon Birkholz Date: Fri, 16 Oct 2026 22:48:42 +0200 Subject: [PATCH 2/3] test: match hashed .cu3sp sidecar names from SDK 3.6.1 SDK 3.6.1 writes target_spectrum_ref_.cu3sp instead of target_spectrum_ref.cu3sp; the test hardcoded the 3.6.0 names. --- tests/test_processing_context.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/test_processing_context.py b/tests/test_processing_context.py index 5f04c8c..b7ad224 100644 --- a/tests/test_processing_context.py +++ b/tests/test_processing_context.py @@ -371,9 +371,11 @@ def test_spectra_survive_legacy_cu3_round_trip( assert len(cu3) == 1 # the spectra land as sidecar files beside the other reference files, shared by - # every measurement saved into the directory, never embedded into the measurement - assert (temp_output_dir / "Calibration" / "target_spectrum_ref.cu3sp").is_file() - assert (temp_output_dir / "Calibration" / "white_spectrum_ref.cu3sp").is_file() + # every measurement saved into the directory, never embedded into the measurement; + # SDK 3.6.1 appends a content hash to the name (target_spectrum_ref_.cu3sp) + calibration = temp_output_dir / "Calibration" + assert len(list(calibration.glob("target_spectrum_ref*.cu3sp"))) == 1 + assert len(list(calibration.glob("white_spectrum_ref*.cu3sp"))) == 1 reloaded = cuvis.Measurement(str(cu3[0])) assert np.array_equal(np.asarray(reloaded.data["cube"].array), expected) From d9a18b5f93f9973d60b04b1a21b62293135f5e1d Mon Sep 17 00:00:00 2001 From: Simon Birkholz Date: Fri, 16 Oct 2026 22:50:01 +0200 Subject: [PATCH 3/3] changelog: record the sidecar name test fix --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e997eab..c9890ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,11 @@ First wrapper release for that SDK. - `pyproject.toml` - the `cuvis-il` requirement is raised to `>=3.6.1,<3.7.0`. +### Fixed + +- `tests/` - the legacy `.cu3` round-trip test failed against SDK 3.6.1, which appends a content hash to the reference spectrum sidecars (`target_spectrum_ref_.cu3sp`). + The sidecars are now matched by prefix, one per slot, so the test passes against SDK 3.6.0 and 3.6.1. + ## [3.6.0.0] - 2026-09-11 Targets cuvis SDK 3.6.0.