pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-astropy



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Oct 28 09:26:50 UTC 2025

Modified Files:
        pkgsrc/math/py-astropy: Makefile PLIST distinfo

Log Message:
py-astropy: updated to 7.1.1

Version 7.1.1 (2025-10-10)

Bug Fixes

astropy.io.fits

- Writing zero-row BinTableHDU with string columns no longer raises a broadcast error in _ascii_encode()

- Compute maximum absolute and relative differences reported by ``ImageDataDiff``
  on the full arrays instead of only a few values.

- Fix slicing FITS compressed file with ``.section`` when data is scaled.

astropy.io.misc

- Fixed a bug where coordinate frame objects could not be serialized to YAML. This caused
  an exception when saving a ``SkyCoord`` object in particular frames like
  ``galactocentric`` in which frame attributes are themselves a frame.

astropy.io.votable

- Fix handling of bounded variable-length char arrays in BINARY2 format which were previously treated as fixed length.

astropy.nddata

- Fixed key error with numpy functions ``np.min``, ``np.max``, ``np.mean``, and ``np.sum``.

- Fix partial cutouts with FITS compressed file and scaled data.

astropy.table

- Fixed a bug in ``table.table_helpers.ArrayWrapper`` where byteorder of the
  underlying data was not necessarily preserved through roundtrips.

- Fix bug 10732 where removing rows on an indexed table that was subsequently sliced
  (e.g. ``t.add_index("a"); ts = t[1:5]; ts.remove_row(2)``) was giving incorrect results
  or failing.

astropy.time

- Ensure that the fast C parser for ``Time`` works also with numpy 2.3.0, fixing
  a bug in our implementation which had no effect in previous numpy versions.

astropy.timeseries

- Fixed the ``aggregate_downsample`` performance degradation when
  non-default ``aggregate_func`` is used.

astropy.units

- Fixed the LaTeX representation of ``DexUnit`` in ``astropy.units``,
  and thus also how it is represented in, e.g., jupyter notebooks.

astropy.visualization

- Fix a bug that caused ``WCSAxes.get_transform`` to not return the correct
  transform when using WCS instances with celestial axes that were not in
  degrees.

- Fixed a bug that under certain conditions could lead to ticks being incorrectly
  labelled with a single "$" dollar sign in WCSAxes.

- Fixed WCSAxes.get_transform() in the case of 1D WCS

- Fixed a bug that caused the default format unit to be incorrect for RA/Dec WCSes with non-degree units

- Fix a bug where the units of the ``values=`` keyword argument to ``set_ticks`` was not respected.

astropy.wcs

- Fixed an issue which caused calls to WCS coordinate conversion routines to not be thread-safe due to calls to WCS.wcs.set() from multiple threads.

- Fix a bug that caused the output of ``WCS.wcs.print_contents()`` to be truncated
  and to then cause the output of subsequent ``print_contents()`` calls (on
  ``WCS.wcs`` or other wcs objects such as ``WCS.wcs.wtb``) to be corrupted.

- Fixed a bug in ``WCS.pixel_to_world`` for spectral WCS where ``restfrq`` was
  defined but CTYPE was ``VOPT``, and likewise where ``restwav`` was defined but
  CTYPE was ``VRAD``.

- Fixed a bug where world->pixel conversions did not work correctly on a 1D WCS
  sliced via ``SlicedLowLevelWCS``.

- Fixed a bug that caused slicing of WCS objects with an ellipsis to not return a WCS
  object but instead a SlicedLowLevelWCS object.

- Fixed a bug in ``wcs.py`` that caused the WCS object to not properly initialize
  the `_naxis` attribute when the header was empty or did not contain any WCS
  information. This could lead to crashes when attempting to take a slice of a 3D
  WCS object or it could lead unexpected behavior when accessing pixel shape
  or other properties that depend on the number of axes.

- Fixed a race condition when using the APE-14 API for the ``WCS`` class in a multi-threaded environment.

Performance Improvements

astropy.modeling

- Improved performance of ``modeling.rotations.spherical2cartesian()`` by 11-18% depending on the size of the input data arrays.

Other Changes and Additions

- Fixed errors with building the package from source on Windows via
  ``python -m build`` and similar commands.

- Pre-built binaries (wheels) for Linux are now built using the ``manylinux_2_28``
  image (previously, ``manylinux2014`` was used).


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/math/py-astropy/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/math/py-astropy/PLIST
cvs rdiff -u -r1.15 -r1.16 pkgsrc/math/py-astropy/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-astropy/Makefile
diff -u pkgsrc/math/py-astropy/Makefile:1.25 pkgsrc/math/py-astropy/Makefile:1.26
--- pkgsrc/math/py-astropy/Makefile:1.25        Thu Oct  9 07:57:46 2025
+++ pkgsrc/math/py-astropy/Makefile     Tue Oct 28 09:26:50 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2025/10/09 07:57:46 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2025/10/28 09:26:50 adam Exp $
 
-DISTNAME=      astropy-7.1.0
+DISTNAME=      astropy-7.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/astropy/}
@@ -14,7 +14,7 @@ TOOL_DEPENDS+=        ${PYPKGPREFIX}-cython>=3.
 TOOL_DEPENDS+= ${PYPKGPREFIX}-extension-helpers>=1:../../devel/py-extension-helpers
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=8.0.0:../../devel/py-setuptools_scm
-DEPENDS+=      ${PYPKGPREFIX}-astropy-iers-data>=0.2024.8.27.10.28.29:../../math/py-astropy-iers-data
+DEPENDS+=      ${PYPKGPREFIX}-astropy-iers-data>=0.2025.9.29.0.35.48:../../math/py-astropy-iers-data
 DEPENDS+=      ${PYPKGPREFIX}-pyerfa>=2.0.0.1:../../math/py-pyerfa
 DEPENDS+=      ${PYPKGPREFIX}-packaging>=22.0:../../devel/py-packaging
 DEPENDS+=      ${PYPKGPREFIX}-yaml>=6.0.0:../../textproc/py-yaml

Index: pkgsrc/math/py-astropy/PLIST
diff -u pkgsrc/math/py-astropy/PLIST:1.10 pkgsrc/math/py-astropy/PLIST:1.11
--- pkgsrc/math/py-astropy/PLIST:1.10   Fri Jun 13 07:06:41 2025
+++ pkgsrc/math/py-astropy/PLIST        Tue Oct 28 09:26:50 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2025/06/13 07:06:41 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2025/10/28 09:26:50 adam Exp $
 bin/fits2bitmap
 bin/fitscheck
 bin/fitsdiff
@@ -1458,6 +1458,7 @@ ${PYSITELIB}/astropy/io/votable/tests/__
 ${PYSITELIB}/astropy/io/votable/tests/__init__.pyc
 ${PYSITELIB}/astropy/io/votable/tests/__init__.pyo
 ${PYSITELIB}/astropy/io/votable/tests/data/binary2_masked_strings.xml
+${PYSITELIB}/astropy/io/votable/tests/data/binary2_variable_length_char.xml
 ${PYSITELIB}/astropy/io/votable/tests/data/coosys.xml
 ${PYSITELIB}/astropy/io/votable/tests/data/custom_datatype.xml
 ${PYSITELIB}/astropy/io/votable/tests/data/empty_table.xml
@@ -1484,6 +1485,7 @@ ${PYSITELIB}/astropy/io/votable/tests/da
 ${PYSITELIB}/astropy/io/votable/tests/data/too_many_columns.xml.gz
 ${PYSITELIB}/astropy/io/votable/tests/data/valid_votable.xml
 ${PYSITELIB}/astropy/io/votable/tests/data/validation.txt
+${PYSITELIB}/astropy/io/votable/tests/data/vizier_b2_votable.xml
 ${PYSITELIB}/astropy/io/votable/tests/test_converter.py
 ${PYSITELIB}/astropy/io/votable/tests/test_converter.pyc
 ${PYSITELIB}/astropy/io/votable/tests/test_converter.pyo

Index: pkgsrc/math/py-astropy/distinfo
diff -u pkgsrc/math/py-astropy/distinfo:1.15 pkgsrc/math/py-astropy/distinfo:1.16
--- pkgsrc/math/py-astropy/distinfo:1.15        Fri Jun 13 07:06:41 2025
+++ pkgsrc/math/py-astropy/distinfo     Tue Oct 28 09:26:50 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2025/06/13 07:06:41 adam Exp $
+$NetBSD: distinfo,v 1.16 2025/10/28 09:26:50 adam Exp $
 
-BLAKE2s (astropy-7.1.0.tar.gz) = 4c9f8f05745d79437ac5687d5bc40a8ee1e007ef0b76d33da7a2bf66182b548f
-SHA512 (astropy-7.1.0.tar.gz) = 5a336d8f7feb0da15fa89363a190fff4e4ac47cf90d07c0e472d69663185a43cd9a598e5a9e1b530b08f89a089c907f44b873cee25c8d537a022d0543f577f15
-Size (astropy-7.1.0.tar.gz) = 6976116 bytes
+BLAKE2s (astropy-7.1.1.tar.gz) = 6bd254660ea0f6c0766b4f737e5d27daeef89390a644066060b1fa4602b770c8
+SHA512 (astropy-7.1.1.tar.gz) = 689376f4cc5ccaf3d4724eafeafedf312b510f3c14e5aa3c23f1d0c2bdcf37aeb828d4ea436f35beab26446db0e42785e7b9a6bb39849e135daf44fa3a79f33a
+Size (astropy-7.1.1.tar.gz) = 6982773 bytes



Home | Main Index | Thread Index | Old Index