commit python-astropy for openSUSE:Factory
Hello community, here is the log from the commit of package python-astropy for openSUSE:Factory checked in at 2019-07-30 12:38:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-astropy (Old) and /work/SRC/openSUSE:Factory/.python-astropy.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-astropy" Tue Jul 30 12:38:41 2019 rev:6 rq:719680 version:3.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes 2019-04-12 09:16:07.545740288 +0200 +++ /work/SRC/openSUSE:Factory/.python-astropy.new.4126/python-astropy.changes 2019-07-30 12:38:43.382939573 +0200 @@ -1,0 +2,291 @@ +Mon Jul 29 17:01:26 UTC 2019 - Todd R <toddrme2178@gmail.com> + +- Add conflicts with perl-Data-ShowTable + +------------------------------------------------------------------- +Tue Jul 23 01:55:47 UTC 2019 - Todd R <toddrme2178@gmail.com> + +- Update to 3.2.1 + + Bug fixes + * astropy.io.fits + > Avoid reporting a warning with ``BinTableHDU.from_columns`` with keywords that + are not provided by the user. + > Fix ``Header.fromfile`` to work on FITS files. + > Fix reading of empty ``BinTableHDU`` when stored in a gzip-compressed file. + * astropy.table + > Fix a problem where mask was dropped when creating a ``MaskedColumn`` + from a list of ``MaskedArray`` objects. + * astropy.wcs + > Added ``None`` to be displayed as a ``world_axis_physical_types`` in + the ``WCS`` repr, as ``None`` values are now supported in ``APE14``. +- Update to 3.2 + + New Features + * astropy.constants + > Add CODATA 2018 constants but not make them default because the + redefinition of SI units that will follow has not been implemented + yet. + * astropy.coordinates + > New ``BarycentricMeanEcliptic``, ``HeliocentricTrueEcliptic`` and + ``GeocentricTrueEcliptic`` frames. + The ecliptic frames are no longer considered experimental. + > The default time scale for epochs like 'J2000' or 'B1975' is now "tt", + which is the correct one for 'J2000' and avoids leap-second warnings + for epochs in the far future or past. + * astropy.extern + > Bundled ``six`` now emits ``AstropyDeprecationWarning``. It will be removed + in 4.0. + * astropy.io.ascii + > IPAC tables now output data types of ``float`` instead of ``double``, or + ``int`` instead of ``long``, based on the column ``dtype.itemsize``. + > Update handling of MaskedColumn columns when using the 'data_mask' serialization + method. This can make writing ECSV significantly faster if the data do not + actually have any masked values. + > Fixed a bug that caused newlines to be incorrect when writing out ASCII tables + on Windows (they were ``\r\r\n`` instead of ``\r\n``). + * astropy.io.misc + > Implement serialization of ``TimeDelta`` in ASDF. + > Implement serialization of ``EarthLocation`` in ASDF. + > Implement serialization of ``SkyCoord`` in ASDF. + > Support serialization of Astropy tables with mixin columns in ASDF. + > No warnings when reading HDF5 files with only one table and no ``path=`` + argument + > The HDF5 writer will now create a default table instead of raising an + exception when ``path=`` is not specified and when writing to empty/new HDF5 + files. + * astropy.io.fits + > Optimize parsing of cards within the ``Header`` class. + > Optimize the parsing of headers to get the structural keywords that are + needed to find extensions. Thanks to this, getting a random HDU from a file + with many extensions is much faster than before, in particular when the + extension headers contain many keywords. + > Change behavior of FITS undefined value in ``Header`` such that ``None`` + is used in Python to represent FITS undefined when using dict interface. + ``Undefined`` can also be assigned and is translated to ``None``. + Previously setting a header card value to ``None`` resulted in an + empty string field rather than a FITS undefined value. + > Allow ``Header.fromstring`` and ``Card.fromstring`` to accept ``bytes``. + * astropy.io.registry + > Implement ``Table`` reader and writer for ``ASDF``. + > Implement ``Table`` reader and writer methods to wrap ``pandas`` I/O methods + for CSV, Fixed width format, HTML, and JSON. + > Add ``help()`` and ``list_formats()`` methods to unified I/O ``read`` and + ``write`` methods. For example ``Table.read.help()`` gives help on available + ``Table`` read formats and ``Table.read.help('fits')`` gives detailed + help on the arguments for reading FITS table file. + * astropy.table + > Initializing a table with ``Table(rows=...)``, if the first item is an ``OrderedDict``, + now uses the column order of the first row. + > Added new pprint_all() and pformat_all() methods to Table. These two new + methods print the entire table by default. + > Removed restriction of initializing a Table from a dict with copy=False. + > Improved speed of table row access by a factor of about 2-3. Improved speed + of Table len() by a factor of around 3-10 (depending on the number of columns). + > Improved the Table - pandas ``DataFrame`` interface (``to_pandas()`` and + ``from_pandas()``). Mixin columns like ``Time`` and ``Quantity`` can now be + converted to pandas by flattening the columns as necessary to plain + columns. ``Time`` and ``TimeDelta`` columns get converted to + corresponding pandas date or time delta types. The ``DataFrame`` + index is now handled in the conversion methods. + > Added ``rename_columns`` method to rename multiple columns in one call. + > Improved Table performance by reducing unnecessary calls to copy and deepcopy, + especially as related to the table and column ``meta`` attributes. Changed the + behavior when slicing a table (either in rows or with a list of column names) + so now the sliced output gets a light (key-only) copy of ``meta`` instead of a + deepcopy. Changed the ``Table.meta`` class-level descriptor so that assigning + directly to ``meta``, e.g. ``tbl.meta = new_meta`` no longer does a deepcopy + and instead just directly assigns the ``new_meta`` object reference. Changed + Table initialization so that input ``meta`` is copied only if ``copy=True``. + > Improved Table slicing performance with internal implementation changes + related to column attribute access and certain input validation. + > Added ``reverse`` argument to the ``sort`` and ``argsort`` methods to allow + sorting in reverse order. + > Improved ``Table.sort()`` performance by removing ``self[keys]`` from code + which is creating deep copies of ``meta`` attribute and adding a new keyword + ``names`` in ``get_index()`` to get index by using a list or tuple containing + names of columns. + > Expose ``represent_mixins_as_columns`` as a public function in the + ``astropy.table`` subpackage. This previously-private function in the + ``table.serialize`` module is used to represent mixin columns in a Table as + one or more plain Column objects. + * astropy.timeseries + > Added a new astropy.timeseries sub-package to represent and manipulate + sampled and binned time series. + > The ``BoxLeastSquares`` and ``LombScargle`` classes have been moved to + ``astropy.timeseries.periodograms`` from ``astropy.stats``. + > Added the ability to provide absolute ``Time`` objects to the + ``BoxLeastSquares`` and ``LombScargle`` periodogram classes. + > Added model inspection methods (``model_parameters()``, ``design_matrix()``, + and ``offset()``) to ``astropy.timeseries.LombScargle`` class . + * astropy.units + > ``Quantity`` overrides of ``ndarray`` methods such as ``sum``, ``min``, + ``max``, which are implemented via reductions, have been removed since they + are dealt with in ``Quantity.__array_ufunc__``. This should not affect + subclasses, but they may consider doing similarly. Note that this + does not include methods that use more complicated python code such as + ``mean``, ``std`` and ``var``. + * astropy.visualization + > Added ``CompositeStretch``, which inherits from ``CompositeTransform`` and + also ``BaseStretch`` so that it can be used with ``ImageNormalize``. + > Added a ``log_a`` argument to the ``simple_norm`` method. Similar to the + exposing of the ``asinh_a`` argument for ``AsinhStretch``, the new + ``log_a`` argument is now exposed for ``LogStretch``. + * astropy.wcs + > WCSLIB was updated to v 6.2. + This adds support for time-related WCS keywords (WCS Paper VII). + FITS headers containing ``Time`` axis are parsed and the axis is included in + the WCS object. + > The ``OBSGEO`` attribute as expanded to 6 members - ``XYZLBH``. + > Added a new class ``SlicedLowLevelWCS`` in ``astropy.wcs.wcsapi`` that can be + used to slice any WCS that conforms to the ``BaseLowLevelWCS`` API. + > Updated implementation of ``WCS.__getitem__`` and ``WCS.slice`` to now return + a ``SlicedLowLevelWCS`` rather than raising an error when reducing the + dimensionality of the WCS. + + API Changes + * astropy.coordinates + > ``QuantityAttribute`` no longer has a default value for ``default``. The + previous value of None was misleading as it always was an error. + > The default J2000 has been changed to use be January 1, 2000 12:00 TT instead + of UTC. This is more in line with convention. + * astropy.io.ascii + > IPAC tables now output data types of ``float`` instead of ``double``, or + ``int`` instead of ``long``, based on the column ``dtype.itemsize``. + * astropy.io.misc + > Unit equivalencies can now be serialized to ASDF. + * astropy.modeling + > Composition of model classes is deprecated and will be removed in 4.0. + Composition of model instances remain unaffected. + * astropy.stats + > The ``BoxLeastSquares`` and ``LombScargle`` classes have been moved to the + ``astropy.timeseries.periodograms`` module and will now emit a deprecation + warning when imported from ``astropy.stats``. + * astropy.table + > Converting an empty table to an array using ``as_array`` method now returns + an empty array instead of ``None``. + > Changed the behavior when slicing a table (either in rows or with a list of column + names) so now the sliced output gets a light (key-only) copy of ``meta`` instead of + a deepcopy. Changed the ``Table.meta`` class-level descriptor so that assigning + directly to ``meta``, e.g. ``tbl.meta = new_meta`` no longer does a deepcopy + and instead just directly assigns the ``new_meta`` object reference. Changed + Table initialization so that input ``meta`` is copied only if ``copy=True``. + > Added a keyword ``names`` in ``Table.as_array()``. If provided this specifies + a list of column names to include for the returned structured array. + * astropy.tests + > Removed ``pytest_plugins`` as they are completely broken for ``pytest>=4``. + > Removed the ``astropy.tests.plugins.config`` plugin and removed the + ``--astropy-config-dir`` and ``--astropy-cache-dir`` options from + testing. Please use caching functionality that is natively in ``pytest``. + * astropy.time + > The default time scale for epochs like 'J2000' or 'B1975' is now "tt", + which is the correct one for 'J2000' and avoids leap-second warnings + for epochs in the far future or past. + * astropy.units + > Unit equivalencies can now be introspected. + * astropy.wcs + > The ``world_to_pixel``, ``world_to_array_index*``, ``pixel_to_world*`` and + ``array_index_to_world*`` methods now all consistently return scalars, arrays, + or objects not wrapped in a one-element tuple/list when only one scalar, + array, or object (as was previously already the case for ``WCS.pixel_to_world`` + and ``WCS.array_index_to_world``). + * astropy.utils + > It is now possible to control the number of cores used by ``ProgressBar.map`` + by passing a positive integer as the ``multiprocess`` keyword argument. Use + ``True`` to use all cores. + + Bug Fixes + * astropy.coordinates + > ``BarycentricTrueEcliptic``, ``HeliocentricTrueEcliptic`` and + ``GeocentricTrueEcliptic`` now use the correct transformation + (including nutation), whereas the new ``*MeanEcliptic`` classes ++++ 94 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes ++++ and /work/SRC/openSUSE:Factory/.python-astropy.new.4126/python-astropy.changes Old: ---- astropy-3.1.2.tar.gz New: ---- astropy-3.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-astropy.spec ++++++ --- /var/tmp/diff_new_pack.PHZOki/_old 2019-07-30 12:38:44.290939458 +0200 +++ /var/tmp/diff_new_pack.PHZOki/_new 2019-07-30 12:38:44.290939458 +0200 @@ -16,10 +16,10 @@ # -%define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-astropy -Version: 3.1.2 +Version: 3.2.1 Release: 0 Summary: Community-developed python astronomy tools License: BSD-3-Clause @@ -81,6 +81,7 @@ BuildRequires: %{python_module pytest-openfiles} BuildRequires: %{python_module pytest-remotedata} # /SECTION +Conflicts: perl-Data-ShowTable %python_subpackages %description ++++++ astropy-3.1.2.tar.gz -> astropy-3.2.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-astropy/astropy-3.1.2.tar.gz /work/SRC/openSUSE:Factory/.python-astropy.new.4126/astropy-3.2.1.tar.gz differ: char 5, line 1
participants (1)
-
root