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:           Fri Feb  7 07:29:15 UTC 2025

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

Log Message:
py-astropy: updated to 7.0.1

Version 7.0.1 (2025-02-06)

API Changes

astropy.table

- The use of the keyword ``use_local_files`` for the js viewer in
  ``astropy.table.Table.show_in_browser`` is now deprecated. Starting in Astropy
  7.1 this keyword will be ignored and use of it will issue a warning. The
  default behavior will be to use the remote versions of jQuery and DataTables
  from a CDN.

Bug Fixes

astropy.config
^^^^^^^^^^^^^^

- With ``astropy`` v7.0.0 the cache directory cannot be customized with the
  ``XDG_CACHE_HOME`` environment variable.
  Instead, ``XDG_CONFIG_HOME`` erroneously controls both configuration and cache
  directories.
  The correct pre-v7.0.0 behaviour has been restored, but it is possible that
  ``astropy`` v7.0.0 has written cache files to surprising locations.
  Concerned users can use the ``get_cache_dir_path()`` function to check where
  the cache files are written.

  The bug in question does not affect systems where the ``XDG_CACHE_HOME`` and
  ``XDG_CONFIG_HOME`` environment variables are unset.

astropy.coordinates

- Fixed a numerical-precision bug with the calculation of the ``theta``
  component when converting from ``CylindricalRepresentation`` to
  ``PhysicsSphericalRepresentation`` for vectors very close to the Z axis (within
  milliarcseconds).

astropy.io.ascii

- Fixed parsing ASCII table with data that starts with a tilda.

- Find and read ASCII tables even if there is white space before
  ``\begin{tabular}``, ``\tablehead``, and similar markers.

astropy.io.fits

- Fix memory leak in ```BinTableHDU.copy()```

- Fix overflow error with Numpy 2 and VLA columns using P format.

- Fix ``ImageHDU.scale`` with float.

- Fixed ``Table.write(..., format="fits", overwrite=True)`` when filename is
  provided as ``pathlib.Path``.

astropy.io.votable

- Updated XML writer for ``VOTableFile`` element to include or drop
  ``coordinate_systems`` regardless of version.

astropy.modeling

- Fix fitting of compound models when inputs has more than one dimension, and
  specifically fix fitting of compound models with Polynomial2D components

astropy.table

- Ensure that representations and differentials, like SkyCoord, can be used in
  table join operations, by making use of the fact that they can now be masked.

- Fix a crash in ``Table.show_in_browser`` due to an internal type inconsistency.

- Fix incorrect description of the ``unique`` parameter in ``Table.add_index``'s
  docstring. Add missing Raises section.

astropy.units

- Ensure that ``Unit.to`` allows as ``value`` argument all array types that
  follow the array API standard and define ``__array_namespace__``. Furthermore,
  for backwards compatibility, generally pass through arguments that define a
  ``.dtype``, independent of whether that is a numpy data type.

- The zebi (Zi, 2^70) and yobi (Yi, 2^80) binary prefixes are now supported.

astropy.visualization

- Fix ``CoordinateHelper.ticklabels``. The getter was incorrectly returning
  the helper's ticks rather than the labels.

- The following private classes from ``astropy.visualization.lupton_rgb``, that
  were dropped without deprecation in astropy 7.0.0, were re-introduced following
  a report that they were used downstream. The following classes are now
  considered public:

  - ``Mapping``
  - ``AsinhMapping``
  - ``LinearMapping``
  - ``AsinhZScaleMapping``

Other Changes and Additions

- Update bundled js library datatables to version 2.1.8, which is current at the time of this PR.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/math/py-astropy/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/py-astropy/PLIST
cvs rdiff -u -r1.12 -r1.13 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.20 pkgsrc/math/py-astropy/Makefile:1.21
--- pkgsrc/math/py-astropy/Makefile:1.20        Tue Jan 21 01:18:25 2025
+++ pkgsrc/math/py-astropy/Makefile     Fri Feb  7 07:29:15 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2025/01/21 01:18:25 wen Exp $
+# $NetBSD: Makefile,v 1.21 2025/02/07 07:29:15 adam Exp $
 
-DISTNAME=      astropy-7.0.0
+DISTNAME=      astropy-7.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/astropy/}

Index: pkgsrc/math/py-astropy/PLIST
diff -u pkgsrc/math/py-astropy/PLIST:1.7 pkgsrc/math/py-astropy/PLIST:1.8
--- pkgsrc/math/py-astropy/PLIST:1.7    Tue Jan 21 01:18:25 2025
+++ pkgsrc/math/py-astropy/PLIST        Fri Feb  7 07:29:15 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2025/01/21 01:18:25 wen Exp $
+@comment $NetBSD: PLIST,v 1.8 2025/02/07 07:29:15 adam Exp $
 bin/fits2bitmap
 bin/fitscheck
 bin/fitsdiff
@@ -807,16 +807,17 @@ ${PYSITELIB}/astropy/extern/configobj/va
 ${PYSITELIB}/astropy/extern/jquery/__init__.py
 ${PYSITELIB}/astropy/extern/jquery/__init__.pyc
 ${PYSITELIB}/astropy/extern/jquery/__init__.pyo
-${PYSITELIB}/astropy/extern/jquery/data/css/jquery.dataTables.css
+${PYSITELIB}/astropy/extern/jquery/data/css/datatables.css
+${PYSITELIB}/astropy/extern/jquery/data/css/datatables.min.css
 ${PYSITELIB}/astropy/extern/jquery/data/images/sort_asc.png
 ${PYSITELIB}/astropy/extern/jquery/data/images/sort_asc_disabled.png
 ${PYSITELIB}/astropy/extern/jquery/data/images/sort_both.png
 ${PYSITELIB}/astropy/extern/jquery/data/images/sort_desc.png
 ${PYSITELIB}/astropy/extern/jquery/data/images/sort_desc_disabled.png
+${PYSITELIB}/astropy/extern/jquery/data/js/datatables.js
+${PYSITELIB}/astropy/extern/jquery/data/js/datatables.min.js
 ${PYSITELIB}/astropy/extern/jquery/data/js/jquery-3.6.0.js
 ${PYSITELIB}/astropy/extern/jquery/data/js/jquery-3.6.0.min.js
-${PYSITELIB}/astropy/extern/jquery/data/js/jquery.dataTables.js
-${PYSITELIB}/astropy/extern/jquery/data/js/jquery.dataTables.min.js
 ${PYSITELIB}/astropy/extern/ply/__init__.py
 ${PYSITELIB}/astropy/extern/ply/__init__.pyc
 ${PYSITELIB}/astropy/extern/ply/__init__.pyo

Index: pkgsrc/math/py-astropy/distinfo
diff -u pkgsrc/math/py-astropy/distinfo:1.12 pkgsrc/math/py-astropy/distinfo:1.13
--- pkgsrc/math/py-astropy/distinfo:1.12        Tue Jan 21 01:18:25 2025
+++ pkgsrc/math/py-astropy/distinfo     Fri Feb  7 07:29:15 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2025/01/21 01:18:25 wen Exp $
+$NetBSD: distinfo,v 1.13 2025/02/07 07:29:15 adam Exp $
 
-BLAKE2s (astropy-7.0.0.tar.gz) = 3d30e90588e81c8d627b24e1b8490cd87034557eb965d17afc748e8f4347f495
-SHA512 (astropy-7.0.0.tar.gz) = a05a0e0f3724b4bfe0cad060cccabaa2652888e8a5e5ce432bf00471e014af4bc90a18c413c3315839e1b1e20af00c9738f492c135d5a28bf3fc47ecc62324c2
-Size (astropy-7.0.0.tar.gz) = 7130087 bytes
+BLAKE2s (astropy-7.0.1.tar.gz) = b1526f6efcce19d9199322bb3025818b66c81260506c759023d216abf65716f4
+SHA512 (astropy-7.0.1.tar.gz) = b2bb012a42edc99d981c6f67ec92d4b926418d86a4efee7563f35d291afedd70170a517dba833e7004fa34392ed824778f17e8a70503158ff83082229f8f67b3
+Size (astropy-7.0.1.tar.gz) = 7139539 bytes



Home | Main Index | Thread Index | Old Index