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