| CARVIEW |
Select Language
HTTP/2 200
expires: Thu, 19 Nov 1981 08:52:00 GMT
cache-control: no-store, no-cache, must-revalidate
pragma: no-cache
set-cookie: PHPSESSID=oe1msn8tum0t44l7p3kimdnba1; path=/
content-type: text/html; charset=UTF-8
date: Sun, 28 Dec 2025 18:14:52 GMT
server: Apache
pkgsrc.se | The NetBSD package collection
archivers
audio
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
mail
math
py-astro..
mbone
meta-pkgs
misc
multimedia
net
news
parallel
pkgtools
print
regress
security
shells
sysutils
textproc
time
wip
wm
www
x11
* = Virtual Category
Path to this page:
./math/py-astropy, Python module for astronomical calculations and data analysis
[
Branch: CURRENT, Version: 7.2.0, Package name: py313-astropy-7.2.0, Maintainer: pkgsrc-users
Astropy is a Python module for astronomical calculations, data analysis,
and plotting.
Navigation:
-
Browse pkgsrc
(this page)
archivers
audio
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
math
py-astro..mbone
meta-pkgs
misc
multimedia
net
news
parallel
pkgtools
regress
security
shells
sysutils
textproc
time
wip
wm
www
x11
* = Virtual Category
Path to this page:
./math/py-astropy, Python module for astronomical calculations and data analysis
[
CVSweb ] [
Homepage ] [
RSS ] [
Required by ] [
Add to tracker ]
Branch: CURRENT, Version: 7.2.0, Package name: py313-astropy-7.2.0, Maintainer: pkgsrc-users
Astropy is a Python module for astronomical calculations, data analysis,
and plotting.
Master sites:
Filesize: 6892.357 KBVersion history: (Expand)
- (2025-12-09) Updated to version: py313-astropy-7.2.0
- (2025-10-28) Updated to version: py313-astropy-7.1.1
- (2025-10-24) Package has been reborn
- (2025-10-24) Package deleted from pkgsrc
- (2025-10-09) Updated to version: py313-astropy-7.1.0
- (2025-07-15) Package has been reborn
CVS history: (Expand)
| 2025-12-09 19:12:58 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-astropy: updated to 7.2.0
Version 7.2.0 (2025-11-25)
==========================
New Features
------------
astropy.constants
^^^^^^^^^^^^^^^^^
- Added CODATA 2022 support in ``astropy.constants``.
This update affects the following constants while the rest are unchanged from \
CODATA 2018:
- ``m_p`` (Proton mass)
- ``m_n`` (Neutron mass)
- ``m_e`` (Electron mass)
- ``u`` (Atomic mass)
- ``eps0`` (Vacuum electric permittivity)
- ``Ryd`` (Rydberg constant)
- ``a0`` (Bohr radius)
- ``muB`` (Bohr magneton)
- ``alpha`` (Fine-structure constant)
- ``mu0`` (Vacuum magnetic permeability)
- ``sigma_T`` (Thomson scattering cross-section)
astropy.coordinates
^^^^^^^^^^^^^^^^^^^
- Allow ``np.concatenate``, ``np.stack`` and similar numpy functions to
be applied on representations and differentials.
They can also be applied to coordinate frames and ``SkyCoord``, though
with the same limitation as for setting elements of frames and
coordinates: all frame attributes have to be scalars (or arrays with
only identical elements).
- The results of ``match_coordinates_3d()``, ``match_coordinates_sky()``,
``search_around_3d()`` and ``search_around_sky()`` and the corresponding
``SkyCoord`` methods now have named attributes.
astropy.cosmology
^^^^^^^^^^^^^^^^^
- The trait ``astropy.cosmology.traits.CurvatureComponent`` has been added to \
work with
objects that have attributes and methods related to the global curvature.
- The trait ``astropy.cosmology.traits.HubbleParameter`` has been added to work \
with objects that have attributes and methods related to the Hubble parameter.
- The trait ``astropy.cosmology.traits.DarkEnergyComponent`` has been added to \
work with objects that have attributes and methods related to the Dark Energy \
component.
- Cosmology methods now exclusively return arrays, not floats or other scalars.
- The trait ``astropy.cosmology.traits.DarkMatterComponent`` has been added to \
work with
objects that have attributes and methods related to dark matter.
- The trait ``astropy.cosmology.traits.MatterComponent`` has been added to work with
objects that have attributes and methods related to matter density.
The trait ``astropy.cosmology.traits.BaryonComponent`` has been added to work with
objects that have attributes and methods related to baryonic matter.
The trait ``astropy.cosmology.traits.CriticalDensity`` has been added to work with
objects that have attributes and methods related to the critical density.
- The trait ``astropy.cosmology.traits.PhotonComponent`` has been added to work \
with objects that have attributes and methods related to photons.
- The trait ``astropy.cosmology.traits.TotalComponent`` has been added to work \
with objects that have attributes and methods related to the total density \
component of the universe.
astropy.io.ascii
^^^^^^^^^^^^^^^^
- CDS table reader will find the metadata for gzipped tables in the accompanying \
ReadMe file.
astropy.io.fits
^^^^^^^^^^^^^^^
- Enable color and suggestion-on-typos in all ``argparse`` CLIs for Python 3.14
(``fitscheck``, ``fitsdiff``, ``fitsheader`` and ``fitsinfo``).
- Allow reading a FITS file hosted on a cloud resource like Amazon S3 via
``Table.read()``. This is done with a new ``fsspec_kwargs`` dict argument
that gets passed through to ``fsspec`` to access cloud resources.
- It is now possible to check the existence of ``Columns`` in ``ColDefs`` by \
using the membership operator.
astropy.io.misc
^^^^^^^^^^^^^^^
- Added a new ECSV table reading module that supports different backend engines \
for the
CSV data parsing. In addition to the default "io.ascii" engine, this \
includes engines
that use the PyArrow and Pandas CSV readers. These can be up to 16 times \
faster and are
more memory efficient than the native astropy ECSV reader. To get help with this
interface run ``Table.read.help(format="ecsv")``.
- Improve support for compressed file formats in the ECSV and the pyarrow CSV
Table readers. All formats supported by \
``astropy.utils.data.get_readable_fileobj()``
(currently gzip, bzip2, lzma (xz) or lzw (Z)) will now work with these readers.
astropy.io.registry
^^^^^^^^^^^^^^^^^^^
- Allow setting EXTNAME when writing a ``Table`` to a FITS file, e.g.
``tbl.write("filename.fits", name="CAT", append=True)``.
astropy.io.votable
^^^^^^^^^^^^^^^^^^
- Enable color and suggestion-on-typos in ``volint`` CLI for Python 3.14
- Modified the constructor for ``astropy.io.votable.tree.TableElement`` to use \
the version configuration information from the parent ``VOTableFile`` instance. \
This allows for better handling of version-specific features and ensures that \
the table element is created with the correct context regarding the VOTable \
version.
astropy.modeling
^^^^^^^^^^^^^^^^
- Add support for unit change propagation through the ``|`` (model composition) \
operator,
using either `~astropy.modeling.compose_models_with_units` or by setting the
``unit_change_composition`` attribute on the model after composition.
astropy.nddata
^^^^^^^^^^^^^^
- The ``interpret_bit_flags`` function now strips whitespace from flag names.
astropy.samp
^^^^^^^^^^^^
- Enable color and suggestion-on-typos in ``samp_hub`` CLI for Python 3.14
astropy.table
^^^^^^^^^^^^^
- Enable color and suggestion-on-typos in ``showtable`` CLI for Python 3.14
- Added generic ``from_df`` and ``to_df`` methods to ``astropy.Table`` using
``narwhals``. These methods provide a unified interface for converting between
Astropy Tables and various DataFrame formats (pandas, polars, pyarrow, etc.)
through the narwhals library. The ``to_df`` method converts an Astropy Table
to any supported DataFrame format, while ``from_df`` creates an Astropy Table
from any narwhals-compatible DataFrame. Narwhals is a lightweight compatibility
layer that provides a unified API across different DataFrame libraries, allowing
seamless interoperability without requiring all DataFrame libraries as \
dependencies.
- Setting the ``units`` or ``descriptions`` of ``QTable`` and ``Table``
has been made more flexible for tables with optional columns that may
or may not appear in the data. This applies to directly creating a table
as well as reading formatted data with the ``read()`` method.
In both cases you can supply ``units`` and ``description`` arguments as a
``dict`` that specifies the units and descriptions for column names in
the table. Previously, if the input table did not contain a column that
was specified in the ``units`` or ``description`` dict, a ``ValueError``
was raised. Now, such columns are simply ignored.
- A new method has been added for accessing a table index for tables with multiple
indices. You can now select the index with the ``with_index(index_id)`` method \
of the
``.loc``, ``.iloc``, and ``.loc_indices`` properties. For example, for a table \
``t``
which has two indices on columns ``"a"`` and ``"b"`` \
respectively,
``t.loc.with_index("b")[2]`` will use index ``"b"`` to \
find all the table rows where
``t["b"] == 2``. Doing this query using the previous syntax \
``t.loc["b", 2]`` is
deprecated and this functionality is planned for removal in astropy 9.0.
In addition, support has been added for using ``.loc``, ``.iloc``, and \
``.loc_indices``
with an index based on two or more key columns. Previously this raised a \
``ValueError``.
astropy.time
^^^^^^^^^^^^
- Allow ``np.concatenate``, ``np.stack`` and similar numpy functions to
be applied on ``Time`` and ``TimeDelta`` instances.
- Add a new time format ``galex`` for the GALEX satellite.
In GALEX data, due to uncertainty in the spacecraft clock, the absolute time \
is only accurate to
about 1-10 seconds while the relative time within an observation is better \
than 0.005 s or so,
except on days with leap seconds, where relative times can be wrong by up to 1 s.
See question 101.2 in https://www.galex.caltech.edu/researcher/faq.html
astropy.units
^^^^^^^^^^^^^
- Some unit formats have deprecated units and converting such units to strings
emits a warning.
The new ``deprecations`` parameter of the unit ``to_string()`` methods allows
automatically converting deprecated units (if possible), silencing the warnings
or raising them as errors instead.
astropy.visualization
^^^^^^^^^^^^^^^^^^^^^
- Enable color and suggestion-on-typos in ``fits2bitmap`` CLI for Python 3.14
- Added ``show_decimal_unit`` to ``set_major_formatter`` to control whether
or not units are shown in decimal mode.
- Added the methods ``set_visible()`` and ``set_position()`` to control the \
visibility and position of ticks, tick labels, and axis labels in a single call.
Also added ``get_ticks_visible()``, ``get_ticklabel_visible()``, and \
``get_axislabel_visible()`` methods to get the visibility state of each \
coordinate element.
- Added an image interval option (``SymmetricInterval``) for specifying a
symmetric extent about a midpoint, and the extent that contains both the image
minimum and maximum can be automatically determined.
astropy.wcs
^^^^^^^^^^^
- Enable color and suggestion-on-typos in all ``wcslint`` CLI for Python 3.14
- Added a ``perserve_units`` keyword argument to ``WCS`` to optionally request
that units are not converted to SI (the default behavior is for celestial axes
to have units converted to degrees, and spectral axes to m or Hz).
|
| 2025-10-28 10:26:50 by Adam Ciarcinski | Files touched by this commit (3) | |
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).
|
| 2025-10-09 09:58:14 by Thomas Klausner | Files touched by this commit (442) |
Log message: *: remove reference to (removed) Python 3.9 |
| 2025-06-13 09:06:41 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-astropy: updated to 7.1.0 Version 7.1.0 (2025-05-20) New Features astropy.coordinates ^^^^^^^^^^^^^^^^^^^ - ``search_around_sky`` and ``search_around_3D`` now accept separations/distlimits broadcastable to the same shape as ``coords1``. astropy.io.ascii ^^^^^^^^^^^^^^^^ - Add functionality to read and write to a Table from the TDAT format as part of the Unified File Read/Write Interface. - ``io.ascii`` now supports on-the-fly decompression of LZW-compressed files (typically ".Z" extension) via the optional package uncompresspy. astropy.io.fits ^^^^^^^^^^^^^^^ - Astropy can now not only read but also write headers that have ``HIERARCH`` keys with long values, by allowing the use of ``CONTINUE`` cards for those (as was already the case for regular FITS keys). - Add ``strip_spaces`` option to ``Table.read`` to strip trailing whitespaces in string columns. This will be activated by default in the next major release. - ``io.fits`` now supports on-the-fly decompression of LZW-compressed files (typically ".Z" extension) via the optional package uncompresspy. - ``io.fits`` now supports on-the-fly decompression of LZMA-compressed files (typically ".xz" extension) if the lzma module is provided by the Python installation. astropy.io.misc ^^^^^^^^^^^^^^^ - Add a fast ``Table`` CSV reader that uses the PyArrow ``read_csv()`` function. \ This can be significantly faster and more memory-efficient than the \ ``astropy.io.ascii`` fast reader. This new reader can be used with ``Table.read()`` by setting ``format="pyarrow.csv"``. astropy.io.votable ^^^^^^^^^^^^^^^^^^ - New module ``astropy.io.votable.dataorigin`` to extract Data Origin \ information from INFO in VOTable. - ``CooSys`` VOTable elements now have a method ``to_astropy_frame`` that returns the corresponding astropy built-in frame, when possible. astropy.modeling ^^^^^^^^^^^^^^^^ - Added a ``fit_info=`` keyword argument to ``parallel_fit_dask`` to allow users \ to preserve fit information from each individual fit. astropy.nddata ^^^^^^^^^^^^^^ - Adds a utility class, ``astropy.nddata.Covariance``, used to construct, access, and store covariance matrices. The class depends on use of the ``scipy.sparse`` module. - Add the ``limit_rounding_method`` parameter to `~astropy.nddata.Cutout2D`, `~astropy.nddata.overlap_slices`, `~astropy.nddata.extract_array`, and `~astropy.nddata.add_array` to allow users to specify the rounding method used when calculating the pixel limits of the cutout. The default method is to use `~numpy.ceil`. astropy.table ^^^^^^^^^^^^^ - Document that ``Table.group_by``'s underlying sorting algorithm is guaranteed to be stable. This reflects behavior that was already present but undocumented, at least since astropy 6.0 . astropy.timeseries ^^^^^^^^^^^^^^^^^^ - Downsampling now works correctly also on ``MaskedColumn`` and ``MaskedQuantity`` with possibly masked elements. Furthermore, the type of (Masked) column will now be properly preserved in downsampling. astropy.units ^^^^^^^^^^^^^ - Units with the "micro" prefix can now be imported using \ ``"μ"`` in the name. For example, the microgram can now be imported with ``from astropy.units import μg``. - It is now possible to import angström, litre and ohm from ``astropy.units`` using the ``Å``, ``ℓ`` and ``Ω`` symbols. - Unit conversions between kelvins and degrees Rankine no longer require the ``temperature`` equivalency. astropy.utils ^^^^^^^^^^^^^ - Make commonly used Masked subclasses importable for ASDF support. Registered types associated with ASDF converters must be importable by their fully qualified name. Masked classes are dynamically created and have apparent names like ``astropy.utils.masked.core.MaskedQuantity`` although they aren't actually attributes of this module. Customize module attribute lookup so that certain commonly used Masked classes are importable. See: - \ https://asdf.readthedocs.io/en/latest/asdf/extending/converters.html#entry-point-performance-considerations - https://github.com/astropy/asdf-astropy/pull/253 - ``astropy.utils.data.download_file`` can now recover from a ``TimeoutError`` when given a list of alternative source URLs. Previously, only ``URLError`` exceptions were recoverable. An exception is still being raised after trying all URLs provided if none of them could be reached. - ``utils.data`` now supports on-the-fly decompression of LZW-compressed files (typically ".Z" extension) via the optional package uncompresspy. |
| 2025-05-14 16:40:55 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-astropy: updated to 7.0.2 Version 7.0.2 (2025-05-12) Bug Fixes astropy.config - Fix a bug where config file generation did not parse nested subclasses of \ ``astropy.config.ConfigNamespace``. astropy.io.fits - Fix a bug in ``nddata.Cutout2D`` when creating partial cutouts of ``Section`` \ objects by adding a ``dtype`` property to the ``Section`` class. - Fixed a bug so that now the scaling state from the source HDU to the new \ appended HDU is copied on the destination file, when the HDU is read with ``do_not_scale_image_data=True``. - Fix setting a slice on table rows (``FITS_record``). - Fix checksum computation for tables with VLA columns, when table is loaded in memory. - Fix ``.fileinfo()`` for compressed HDUs. - Fix FITS_rec repr when a column has scaling factors, leading to a crash with numpy>=2.0. - Fixed a bug that caused THEAP, ZBLANK, ZSCALE, and ZZERO to not be correctly removed during decompression of tile-compressed FITS files. astropy.io.votable - ``astropy`` v7.0.0 erroneously refused to write a VOTable if it contained \ units that could not be represented in the CDS format. Now ``astropy`` correctly chooses the unit format based on the VOTable version. The bug in question did not cause any corruption in tables that were successfully written because the newer VOUnit format is backwards compatible with the CDS \ format. Furthermore, any unit that is in neither formats would still be written out but would issue a warning. - ``unicodeChar`` fields can now be of bounded variable size \ (``arraysize="10*``). astropy.modeling - Fixed an issue where the ``filter_non_finite`` option was not working for 2D models. An error is raised when the ``filter_non_finite`` option is set to ``True`` and all values are non-finite. astropy.stats - Now ``bayesian_blocks(t, x, fitness="events")`` correctly handles \ the case when the input data ``x`` contains zeros. astropy.table - Prevent corrupting a column by mutating its name to an invalid type. A ``TypeError`` is now raised when a name is set to anything other than a string. - Fix a bug in creating a ``Table`` from a list of rows that dropped the units of non-scalar Quantity, e.g., ``Table(rows=[([1] * u.m,), ([2] * u.m,)])``. astropy.units - Ensured that the units of ``yp``, ``refa`` and ``refb`` are properly taken into account when calling ``erfa.apio`` (previously, the conversion required for ``xp`` was applied to those inputs too). - The machinery that injects units into a namespace (used e.g. by ``def_unit()``) now applies NFKC normalization to unit names when checking for name collisions. This prevents name collisions if the namespace belongs to a module and the unit is accessed as an attribute of that module. - The string representations of the prefixed versions of ``solLum``, ``solMass`` and ``solRad`` units can now be parsed by default. Previously they could only be parsed if the ``required_by_vounit`` module had been imported, possibly indirectly by using the ``"vounit"`` format. astropy.utils - Prevent corrupting a mixin column's ``info`` attribute by mutating its name to an invalid type. A ``TypeError`` is now raised when a name is set to anything other than a string. astropy.visualization - Ensure that the ``astropy.visualization.wcsaxes.custom_ucd_coord_meta_mapping`` context manager performs a (correct) cleanup. - Fixed interval classes for masked input (``MaskedArray`` and ``MaskedNDArray``). - Fixed the limits of ``a`` parameter in the ``PowerDistStretch`` and ``InvertedPowerDistStretch`` classes so that a value of 0 in no longer allowed. That value gives infinity values in ``InvertedPowerDistStretch`` and it makes the ``PowerDistStretch`` results independent of the input data. - Fixed an issue where LinearStretch values were not being clipped to [0:1] when ``clip=True``. astropy.wcs - Fix UCD for air wavelengths, following the IVOA recommendation that ``'em.wl'`` be reserved for vacuum wavelengths. ``'em.wl;obs.atmos'`` is now used to represent air wavelengths instead. Other Changes and Additions - Updated the bundled CFITSIO library to 4.6.0. |
| 2025-04-15 18:31:40 by Adam Ciarcinski | Files touched by this commit (58) | |
Log message: Fix PLIST after py-setuptools update; bump depends and revision |
| 2025-02-07 08:29:15 by Adam Ciarcinski | Files touched by this commit (3) | |
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.
|
| 2025-01-21 02:18:26 by Wen Heping | Files touched by this commit (3) |
Log message: Update to 7.0.0 Upstream changelog is too long, please visit: https://docs.astropy.org/en/latest/changelog.html#version-7-0-0-2024-11-21 |
