Skip to content

Commit b61e414

Browse files
authored
Fixes for release (#730)
* Allow new meta entries to be saved as lists * Changelog. I can't merge the PR without it * Ignore numpy, who cares what that guy thinks
1 parent 1a7c1db commit b61e414

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

changelog/730.trivial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix some minor breakages to allow release

dkist/io/asdf/resources/schemas/dataset-1.3.0.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,21 @@ properties:
5252

5353
parameters:
5454
description: A copy of the parameters used to generate this dataset.
55-
type: object
55+
anyOf:
56+
- type: object
57+
- type: array
5658

5759
observation_input_frames:
5860
description: A copy of the observation input frames used to generate this dataset.
59-
type: object
61+
anyOf:
62+
- type: object
63+
- type: array
6064

6165
calibration_input_frames:
6266
description: A copy of the calibration input frames used to generate this dataset.
63-
type: object
67+
anyOf:
68+
- type: object
69+
- type: array
6470

6571
recipe_run_config:
6672
description: A copy of the recipe configurations used to generate this dataset.

pytest.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ filterwarnings =
6565
# See https://github.com/numpy/numpy/issues/15748#issuecomment-598584838
6666
ignore:numpy.ufunc size changed:RuntimeWarning
6767
ignore:numpy.ndarray size changed:RuntimeWarning
68+
# Warnings introduced in astropy modelling by NumPy 2.5, these can be removed when astropy fix it
69+
ignore:.*Setting the shape on a NumPy array has been deprecated in NumPy 2.5:DeprecationWarning
70+
ignore:.*Setting the dtype on a NumPy array has been deprecated in NumPy 2.5:DeprecationWarning
6871
# This isn't really an issue it's an annoyance, it's triggered by printing
6972
# an astropy table inside a test, which is generally only done when
7073
# debugging.

0 commit comments

Comments
 (0)