Overview

Request 1194255 accepted

- Don't require numpy 2.

- update to 6.1.2:
* When reading CDS and MRT files, only interpret a line as a
section delimiter if it contains exclusively dashes or equal
signs. This enables rows starting with dashes.
* Fix a spurious exception when reading integer compressed
images with blanks.
* Fixed a crash that occurred for files opened via
fits.open(..., mode='update'), on Windows, and with numpy 2.0
installed. A warning is now emitted in cases most likely to
escalate into undefined behavior (e.g., segfaults), i.e.,
when a closed memory map object is still referenced by
external code. Please report any regression found.
* Fixed a bug that caused models returned by non-linear fitters
to have sync_constraints set to False, which caused
constraints accessed through, e.g., Model.fixed to not be in
sync with the fixed attribute of the parameters.
* Fixed a bug that caused CompoundModel.without_units_for_data
to return an incorrectly constructed model when the compound
model contained a * or / operation, and which also caused
fitting to not work correctly with compound models that
contained * or / operations.
* The OGIP parser is now less restrictive with strings that
represent a unit that includes the sqrt function. For
example, u.Unit("sqrt(m)**3", format="ogip") no longer causes
a ValueError.
* Fixed an edge-case bug in overlap_slices where the function
could return an empty slice for non-overlapping slices.
* Fixed a WCSAxes bug when overlaying a frame with default


Dominique Leuenberger's avatar

unresolvable: nothing provides python310-numpy-devel >= 2.0, (got version 1.26.4-3.1), nothing provides python312-numpy-devel >= 2.0, (got version 1.26.4-3.1), nothing provides python311-numpy-devel >= 2.0, (got version 1.26.4-3.1)


Benjamin Greiner's avatar

Fixed. It still works with numpy 1.23 as long as every consumer also stays on it. Which is true as long as numpy 2 is not in Factory yet.

cc @dirkmueller

Request History
Benjamin Greiner's avatar

bnavigator created request

- Don't require numpy 2.

- update to 6.1.2:
* When reading CDS and MRT files, only interpret a line as a
section delimiter if it contains exclusively dashes or equal
signs. This enables rows starting with dashes.
* Fix a spurious exception when reading integer compressed
images with blanks.
* Fixed a crash that occurred for files opened via
fits.open(..., mode='update'), on Windows, and with numpy 2.0
installed. A warning is now emitted in cases most likely to
escalate into undefined behavior (e.g., segfaults), i.e.,
when a closed memory map object is still referenced by
external code. Please report any regression found.
* Fixed a bug that caused models returned by non-linear fitters
to have sync_constraints set to False, which caused
constraints accessed through, e.g., Model.fixed to not be in
sync with the fixed attribute of the parameters.
* Fixed a bug that caused CompoundModel.without_units_for_data
to return an incorrectly constructed model when the compound
model contained a * or / operation, and which also caused
fitting to not work correctly with compound models that
contained * or / operations.
* The OGIP parser is now less restrictive with strings that
represent a unit that includes the sqrt function. For
example, u.Unit("sqrt(m)**3", format="ogip") no longer causes
a ValueError.
* Fixed an edge-case bug in overlap_slices where the function
could return an empty slice for non-overlapping slices.
* Fixed a WCSAxes bug when overlaying a frame with default


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar_suse added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:46"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:adi:46"


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:46 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:46 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:46 got accepted.

openSUSE Build Service is sponsored by