Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-astropy for openSUSE:Factory checked in at 2026-01-02 14:29:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-astropy (Old) and /work/SRC/openSUSE:Factory/.python-astropy.new.1928 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-astropy" Fri Jan 2 14:29:27 2026 rev:65 rq:1325027 version:7.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes 2025-10-03 16:46:48.015946309 +0200 +++ /work/SRC/openSUSE:Factory/.python-astropy.new.1928/python-astropy.changes 2026-01-02 14:31:05.138810381 +0100 @@ -1,0 +2,270 @@ +Thu Jan 1 15:03:42 UTC 2026 - Ben Greiner <[email protected]> + +- Update to 7.2.0 + ## 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) [#18118] + ### 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). [#18193] + * 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. + [#18459] + ### 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. [#18232] + * The trait astropy.cosmology.traits.HubbleParameter has been + added to work with objects that have attributes and methods + related to the Hubble parameter. [#18271] + * The trait astropy.cosmology.traits.DarkEnergyComponent has been + added to work with objects that have attributes and methods + related to the Dark Energy component. [#18447] + * Cosmology methods now exclusively return arrays, not floats or + other scalars. [#18632] + * The trait astropy.cosmology.traits.DarkMatterComponent has been + added to work with objects that have attributes and methods + related to dark matter. [#18760] + * 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. [#18769] + * The trait astropy.cosmology.traits.PhotonComponent has been + added to work with objects that have attributes and methods + related to photons. [#18787] + * 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. + [#18794] + ### astropy.io.ascii + * CDS table reader will find the metadata for gzipped tables in + the accompanying ReadMe file. [#18506] + ### astropy.io.fits + * Enable color and suggestion-on-typos in all argparse CLIs for + Python 3.14 (fitscheck, fitsdiff, fitsheader and fitsinfo). + [#18151] + * 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. [#18379] + * It is now possible to check the existence of Columns in ColDefs + by using the membership operator. [#18717] + ### 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"). [#18267] + * 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. + [#18712] + ### astropy.io.registry + * Allow setting EXTNAME when writing a Table to a FITS file, e.g. + tbl.write("filename.fits", name="CAT", append=True). [#18470] + ### astropy.io.votable + * Enable color and suggestion-on-typos in volint CLI for Python + 3.14 [#18151] + * 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. [#18366] + ### astropy.modeling + * Add support for unit change propagation through the | (model + composition) operator, using either compose_models_with_units + or by setting the unit_change_composition attribute on the + model after composition. [#17304] + ### astropy.nddata + * The interpret_bit_flags function now strips whitespace from + flag names. [#18205] + ### astropy.samp + * Enable color and suggestion-on-typos in samp_hub CLI for Python + 3.14 [#18151] + ### astropy.table + * Enable color and suggestion-on-typos in showtable CLI for + Python 3.14 [#18151] + * 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. [#18435] + * 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. [#18641] + * 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. [#18680] + ### astropy.time + * Allow np.concatenate, np.stack and similar numpy functions to + be applied on Time and TimeDelta instances. [#18193] + * 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 [#18330] + ### 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. [#18586] + ### astropy.visualization + * Enable color and suggestion-on-typos in fits2bitmap CLI for + Python 3.14 [#18151] + * Added show_decimal_unit to set_major_formatter to control + whether or not units are shown in decimal mode. [#18312] + * 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. [#18443] + * 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. [#18602] + ### astropy.wcs + * Enable color and suggestion-on-typos in all wcslint CLI for + Python 3.14 [#18151] + * 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). [#18338] + ## API Changes + ### astropy.coordinates + * The functionality of astropy.coordinates.concatenate and + astropy.coordinates.concatenate_representations is now + available using np.concatenate. Hence, these functions are + being deprecated, emitting an AstropyPendingDeprecationWarning + starting with astropy 7.2. This will be followed by a regular + deprecation warning in astropy 8.0, and removal in 9.0. + [#18193] + * The matrix_utilities module was not included in the astropy API + documentation, but it was nonetheless explicitly referred to in + some of the other documentation. This made it unclear if the + functions in the module are public or private. The public + matrix utilities is_rotation_or_reflection() and + rotation_matrix() have been made available from the + astropy.coordinates namespace and should be imported from + there. Functions not available from the astropy.coordinate + namespace are private and may be changed or removed without + warning. However, three functions have been explicitly + deprecated, despite being private, as a courtesy to existing + users. matrix_utilites.angle_axis() and + matrix_utilites.is_rotation() are deprecated without + replacement. matrix_utilities.is_O3() is deprecated and the + public is_rotation_or_reflection() function can be used as a + replacement. [#18418] + * The undocumented earth_orientation module has been removed. + [#18638] + * astropy prefers reading data required for + EarthLocation.of_site() from a local cache and tries + downloading (and caching) the data from the Internet if the + cache is empty. As a last resort astropy has so far read a + small bundled data file that provided data for Greenwich as the + single entry, but now astropy will raise an error. [#18649] + ### astropy.io.registry + * UnifiedInputRegistry and UnifiedOutputRegistry’s + delay_doc_updates method’s effect is disabled under Python’s + optimized mode (-OO flag). [#17572] + ### astropy.io.votable + * Added a config property to astropy.io.votable.tree.VOTableFile. + This property can be passed to the config parameter of + constructors that need to know the associated VOTable version, + such as TimeSys and CooSys. [#18366] + ### astropy.table + * Add additional detail to the text of the ValueError that is + raised when pprint cannot parse a column format string. + [#17631] + * Selecting a table index in the .loc, .iloc, or .loc_indices + properties by passing the index identifier as the first element + of the item is deprecated and is planned for removal in astropy + 9.0. For example, if a table t has two indices on columns "a" + and "b" respectively, then t.loc["b", 2] (to find table rows + where t["b"] == 2) is deprecated. This is replaced by + t.loc.with_index("b")[2]. [#18680] + ### astropy.tests + * API changes towards a future deprecation of astropy test + runner: + - astropy.tests.runner.keyword is removed from public API. It + is used internally as a decorator within astropy test runner + and its exposure as public API was a mistake. In the future, + it will be removed without any deprecation. + - astropy.test, astropy.tests.runner.TestRunnerBase, and + astropy.tests.runner.TestRunner are now pending deprecation + (AstropyPendingDeprecationWarning). This will also affect + downstream packagename.test generated using TestRunner. They + may start to emit AstropyDeprecationWarning in v8.0 (but no + earlier). [#17874] + ### astropy.utils + * The isiterable() utility is deprecated. numpy.iterable() can be + used as a drop-in replacement. [#18053] + * astropy.utils.metadata.MergeStrategy no longer modifies the + merge() methods of its subclasses at runtime to re-raise all + exceptions as MergeConflictError. This does not affect the + functionality of MergeStrategy subclasses within the astropy + metadata merging machinery. [#18518] + ### astropy.visualization + * A warning is now emitted for each axis name which is invalid in + set_ticklabel_position, set_axislabel_position, and + set_ticks_position. This is a deprecation warning, and in + future invalid axis names will result in an error. [#18324] + * A warning is now emitted if arguments are given to the getter + method get_axislabel_visibility_rule. This is a deprecation + warning, and in future, giving arguments to this method will + result in an error. [#18792] +- Drop astropy-pr18335-jplephem.patch gh#astropy/astropy#18335 + +------------------------------------------------------------------- Old: ---- astropy-7.1.0.tar.gz astropy-pr18335-jplephem.patch New: ---- astropy-7.2.0.tar.gz ----------(Old B)---------- Old: result in an error. [#18792] - Drop astropy-pr18335-jplephem.patch gh#astropy/astropy#18335 ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-astropy.spec ++++++ --- /var/tmp/diff_new_pack.rdfhrm/_old 2026-01-02 14:31:06.106850338 +0100 +++ /var/tmp/diff_new_pack.rdfhrm/_new 2026-01-02 14:31:06.110850504 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-astropy # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -49,7 +49,7 @@ %{?sle15_python_module_pythons} Name: python-astropy%{psuffix} -Version: 7.1.0 +Version: 7.2.0 Release: 0 Summary: Community-developed python astronomy tools License: BSD-3-Clause @@ -59,14 +59,13 @@ # Mark wcs headers as false positives for devel-file-in-non-devel-package # These are used by the python files so they must be available. Source100: python-astropy-rpmlintrc -# PATCH-FIX-UPSTREAM astropy-pr18335-jplephem.patch gh#astropy/astropy#18335 -Patch1: https://github.com/astropy/astropy/pull/18335.patch#/astropy-pr18335-jplephem.patch # https://docs.astropy.org/en/stable/install.html#requirements BuildRequires: %{python_module Cython >= 3 with %python-Cython < 4} BuildRequires: %{python_module devel >= 3.11} -BuildRequires: %{python_module extension-helpers >= 1.0 with %python-extension-helpers < 2} +BuildRequires: %{python_module extension-helpers >= 1.4 with %python-extension-helpers < 2} BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module pip} +BuildRequires: %{python_module pyerfa >= 2.0.1.1} BuildRequires: %{python_module setuptools_scm >= 6.2} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -75,8 +74,8 @@ BuildRequires: pkgconfig BuildRequires: python-rpm-macros Requires: python-PyYAML >= 6 -Requires: python-astropy-iers-data >= 0.2025.4.28.0.37.27 -Requires: python-numpy >= 1.23.2 +Requires: python-astropy-iers-data >= 0.2025.10.27.0.39.10 +Requires: python-numpy >= 1.24 Requires: python-packaging >= 22 Requires: python-pyerfa >= 2.0.1.1 Requires(post): update-alternatives @@ -85,14 +84,16 @@ Conflicts: perl-Data-ShowTable # [recommended] Recommends: python-scipy >= 1.9.2 -Recommends: python-matplotlib >= 3.6 +Recommends: python-matplotlib >= 3.8 +Recommends: python-narwhals >= 1.42 # [all] -Suggests: python-h5py +Suggests: libxml2-tools Suggests: python-beautifulsoup4 Suggests: python-html5lib Suggests: python-bleach -Suggests: libxml2-tools -Suggests: python-pandas +Suggests: python-dask-dataframe >= 2024.8.0 +Suggests: python-h5py >= 3.9 +Suggests: python-pandas >= 2 Suggests: python-sortedcontainers Suggests: python-pytz Suggests: python-jplephem @@ -100,14 +101,14 @@ Suggests: python-mpmath Suggests: python-asdf-astropy >= 0.3 Suggests: python-Bottleneck -Suggests: python-pyarrow >= 10.0.1 +Suggests: python-pyarrow >= 14.0.2 Suggests: python-fsspec >= 2023.4.0 # Suggests: python-s3fs %if %{with system_expat} -BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(expat) >= 2.7.3 %endif %if %{with system_wcslib} -BuildRequires: pkgconfig(wcslib) >= 8.1 +BuildRequires: pkgconfig(wcslib) >= 8.3 %endif %if %{with test} # SECTION [all]+[recommends] @@ -115,20 +116,20 @@ BuildRequires: %{python_module asdf-astropy >= 0.3} BuildRequires: %{python_module beautifulsoup4} BuildRequires: %{python_module bleach} -BuildRequires: %{python_module dask-array >= 2022.5.1} +BuildRequires: %{python_module dask-dataframe >= 2024.8.0} BuildRequires: %{python_module fsspec >= 2023.4.0} -BuildRequires: %{python_module h5py} +BuildRequires: %{python_module h5py >= 3.9.0} BuildRequires: %{python_module html5lib} -BuildRequires: %{python_module jplephem} -BuildRequires: %{python_module matplotlib >= 3.6.0} +BuildRequires: %{python_module jplephem >= 2.17.0} +BuildRequires: %{python_module matplotlib >= 3.8.0} BuildRequires: %{python_module mpmath} -BuildRequires: %{python_module pandas} +BuildRequires: %{python_module pandas >= 2} %ifnarch %arm -BuildRequires: %{python_module pyarrow >= 10.0.1} +BuildRequires: %{python_module pyarrow >= 14.0.2} %endif BuildRequires: %{python_module pytz} BuildRequires: %{python_module scipy >= 1.9.2} -BuildRequires: %{python_module sortedcontainers} +BuildRequires: %{python_module sortedcontainers >= 2.1.0} BuildRequires: %{python_module typing_extensions >= 4.0.0} BuildRequires: libxml2-tools # /SECTION @@ -136,7 +137,7 @@ # We need the compiled package for testing BuildRequires: %{python_module astropy = %{version}} BuildRequires: %{python_module ipython >= 8} -BuildRequires: %{python_module objgraph} +BuildRequires: %{python_module objgraph >= 3.1.2} BuildRequires: %{python_module pytest >= 7.3} BuildRequires: %{python_module pytest-astropy >= 0.10} BuildRequires: %{python_module pytest-astropy-header >= 0.2.1} @@ -144,7 +145,7 @@ BuildRequires: %{python_module pytest-mpl} BuildRequires: %{python_module pytest-xdist >= 2.5} BuildRequires: %{python_module sgp4 >= 2.3} -BuildRequires: %{python_module skyfield} +BuildRequires: %{python_module skyfield >= 1.42.0} BuildRequires: %{python_module threadpoolctl >= 3} # /SECTION %endif ++++++ astropy-7.1.0.tar.gz -> astropy-7.2.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-astropy/astropy-7.1.0.tar.gz /work/SRC/openSUSE:Factory/.python-astropy.new.1928/astropy-7.2.0.tar.gz differ: char 5, line 1
