./math/py-astropy, Python module for astronomical calculations and data analysis

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 6.1.4, Package name: py312-astropy-6.1.4, Maintainer: pkgsrc-users

Astropy is a Python module for astronomical calculations, data analysis,
and plotting.


Master sites:

Filesize: 6892.071 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-14 08:46:10 by Thomas Klausner | Files touched by this commit (325)
Log message:
*: clean-up after python38 removal
   2024-10-03 14:03:43 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-astropy: updated to 6.1.4

Version 6.1.4 (2024-09-26)

Bug Fixes

astropy.coordinates

- Keep ``Latitude`` from printing long input arrays in their entirety when failing
  limits check in ``_validate_angles``, indicating their range instead.

- Avoid some components not being included in table output of coordinates if
  the representation type was ``"unitspherical"``.

  In the process, also ensured that one can pass in the ``radial_velocity``
  keyword argument if one uses ``differential_type="radial"``.

astropy.io.votable

- Ensure proper handling of null values during BINARY2 serialization. \ 
Previously, masks were handled in two different ways for BINARY2 serialization, \ 
resulting in incorrect handling of null values and errors.

astropy.stats

- Fixed a bug in biweight_location, biweight_scale, and
  biweight_midvariance where the returned array shape would be wrong if
  the input array had an axis length of 1 along any axis that was not
  included in the axis keyword. Also fixed a bug in these same functions
  where for constant data and axis set to a tuple containing all axes, the
  returned value would be NaN instead of the constant value.

astropy.table

- Ensure that initializing a ``QTable`` with explicit units` also succeeds if
  one of the units is ``u.one``.

astropy.units

- An exception is now raised if it is attempted to create a unit with a
  scale of zero, avoiding bugs further downstream (including surprising
  ones, such as a comparison of ``np.ma.masked == u.one`` leading to
  a ``ZeroDivisionError``).

astropy.wcs

- Fix a bug that caused the results from local_partial_pixel_derivative to be \ 
incorrect when using normalize_by_world=True (the matrix was previously \ 
normalized along the wrong axis)

Other Changes and Additions

- Minimal requirement for (optional dependency) matplotlib was bumped
  to 3.5.0, which is the oldest version with support for Python 3.10
   2024-09-11 13:45:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-astropy: updated to 6.1.3

Version 6.1.3 (2024-08-30)

Bug Fixes

astropy.io.fits

- Fix reading zero-width columns such as 0A fields.

- Ensure that ``QTable``, like ``Table``, can read zero-length string columns,
  and not convert them to length 1 strings. In the process, avoid a needless
  copy of all the data for ``QTable``.

astropy.io.votable

- Fix KeyError when parsing certain VOTables.

astropy.modeling

- Fixed the ``fit_deriv`` calculations in the ``Lorentz1D`` model.

astropy.table

- Pretty-printing of Tables now also works in the presence of zero-length string
  columns (which sometimes are present in FITS tables).

astropy.utils

- Fix the return type for ``np.broadcast_arrays`` on a single ``Masked``
  instance: it now correctly returns a 1-element sequence instead of a single
  array, just like would be the case with a regular array.

astropy.wcs

- Fix a bug where ``wcs_info_str``'s results would look different in numpy 2 VS
  numpy 1.

Other Changes and Additions

- The minimum required version of PyArrow is now v7.0.0.
   2024-08-08 08:22:36 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
py-astropy: remoce patch that was removed from distinfo during update
   2024-08-06 10:39:20 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-astropy: updated to 6.1.2

Version 6.1.2 (2024-07-23)

Bug Fixes

astropy.io.ascii

- 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.

astropy.io.fits

- 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.

astropy.modeling

- 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.

astropy.units

- 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``.

astropy.utils

- Fixed an edge-case bug in ``overlap_slices`` where the function could
  return an empty slice for non-overlapping slices.

astropy.visualization

- Fixed a WCSAxes bug when overlaying a frame with default units that are not \ 
degrees.
   2024-06-25 17:13:07 by David H. Gutteridge | Files touched by this commit (2)
Log message:
py-astropy: fix builds with py-setuptools >= 70
   2024-06-25 04:00:30 by David H. Gutteridge | Files touched by this commit (1)
Log message:
py-astropy: revert previous tools change, not necessary

(I misread something. In any case, I have a patch based on upstream
changes that do away with that expectation about py-setuputils; it's
presently in testing.)