Hello community,

here is the log from the commit of package python-astropy for openSUSE:Factory 
checked in at 2019-01-21 10:47:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-astropy (Old)
 and      /work/SRC/openSUSE:Factory/.python-astropy.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-astropy"

Mon Jan 21 10:47:14 2019 rev:4 rq:663419 version:3.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes    
2018-01-09 14:56:23.418809668 +0100
+++ /work/SRC/openSUSE:Factory/.python-astropy.new.28833/python-astropy.changes 
2019-01-21 10:47:44.568210713 +0100
@@ -1,0 +2,470 @@
+Mon Jan  7 18:41:58 UTC 2019 - Todd R <[email protected]>
+
+- Use pytest-astropy since it is in Factory now.
+
+-------------------------------------------------------------------
+Fri Jan  4 17:31:38 UTC 2019 - Todd R <[email protected]>
+
+- Update to version 3.1
+  + New Features
+    > astropy.convolution
+      * ``convolve`` now accepts any array-like input, not just 
``numpy.ndarray`` or
+        lists. [#7303]
+      * ``convolve`` Now raises AstropyUserWarning if 
nan_treatment='interpolate' and
+        preserve_nan=False and NaN values are present post convolution. [#8088]
+    > astropy.coordinates
+      * The ``SkyCoord.from_name`` constructor now has the ability to create
+        coordinate objects by parsing object catalogue names that have embedded
+        J-coordinates. [#7830]
+      * The new function ``make_transform_graph_docs`` can be used to create a
+        docstring graph from a custom ``TransformGraph`` object. [#7135]
+      * ``KDTree`` for catalog matching is now built with sliding midpoint rule
+        rather than standard.  In code, this means setting 
``compact_nodes=False``
+        and ``balanced_tree=False`` in ``cKDTree``. The sliding midpoint rule 
is much
+        more suitable for catalog matching, and results in 1000x speedup in 
some
+        cases. [#7324]
+      * Additional information about a site loaded from the Astropy sites 
registry is
+        now available in ``EarthLocation.info.meta``. [#7857]
+      * Added a ``concatenate_representations`` function to combine coordinate
+        representation data and any associated differentials. [#7922]
+      * ``BaseCoordinateFrame`` will now check for a method named
+        ``_astropy_repr_in_frame`` when constructing the string forms of 
attributes.
+        Allowing any class to control how ``BaseCoordinateFrame`` represents 
it when
+        it is an attribute of a frame. [#7745]
+      * Some rarely-changed attributes of frame classes are now cached, 
resulting in
+        speedups (up to 50% in some cases) when creating new scalar frame or
+        ``SkyCoord`` objects. [#7949, #5952]
+      * Added a ``directional_offset_by`` method to ``SkyCoord`` that computes 
a new
+        coordinate given a coordinate, position angle, and angular separation 
[#5727]
+    > astropy.cosmology
+      * The default cosmology has been changed from ``WMAP9`` to ``Planck15``. 
[#8123]
+      * Distance calculations with ``LambaCDM`` with no radiation (T_CMB0=0)
+        are now 20x faster by using elliptic integrals for non-flat cases. 
[#7155]
+      * Distance calculations with ``FlatLambaCDM`` with no radiation 
(T_CMB0=0)
+        are now 20x faster by using the hypergeometric function solution
+        for this special case. [#7087]
+      * Age calculations with ``FlatLambdaCDM`` with no radiation (Tcmb0=0)
+        are now 1000x faster by using analytic solutions instead of 
integrating.
+        [#7117]
+    > astropy.io.ascii
+      * Latex reader now ignores ``\toprule``, ``\midrule``, and 
``\bottomrule``
+        commands. [#7349]
+      * Added the RST (Restructured-text) table format and the fast version of 
the
+        RDB reader to the set of formats that are guessed by default. [#5578]
+      * The read trace (used primarily for debugging) now includes guess 
argument
+        sets that were skipped entirely e.g. for not supporting user-supplied 
kwargs.
+        All guesses thus removed from ``filtered_guess_kwargs`` are now listed 
as
+        "Disabled" at the beginning of the trace. [#5578]
+      * Emit a warning when reading an ECSV file without specifying the 
``format``
+        and without PyYAML installed.  Previously this silently fell through to
+        parsing as a basic format file and the file metadata was lost. [#7580]
+      * Optionally allow writing masked columns to ECSV with the mask 
explicitly
+        specified as a separate column instead of marking masked elements with 
""
+        (empty string).  This allows handling the case of a masked string 
column
+        with "" data rows.  [#7481]
+    > astropy.io.misc
+      * Added support for saving all representation classes and many coordinate
+        frames to the asdf format. [#7079]
+      * Added support for saving models with units to the asdf format. [#7237]
+      * Added a new ``character_as_bytes`` keyword to the HDF5 Table reading
+        function to control whether byte string columns in the HDF5 file
+        are left as bytes or converted to unicode.  The default is to read
+        as bytes (``character_as_bytes=True``). [#7024, #8017]
+    > astropy.io.fits
+      * ``HDUList.pop()`` now accepts string and tuple extension name
+        specifications. [#7236]
+      * Add an ``ignore_hdus`` keyword to ``FITSDiff`` to allow ignoring HDUs 
by
+        NAME when diffing two FITS files [#7538]
+      * Optionally allow writing masked columns to FITS with the mask 
explicitly
+        specified as a separate column instead of using the FITS standard of
+        certain embedded null values (``NaN`` for float, ``TNULL`` for 
integers).
+        This can be used to work around limitations in the FITS standard. 
[#7481]
+      * All time coordinates can now be written to and read from FITS binary 
tables,
+        including those with vectorized locations. [#7430]
+      * The ``fitsheader`` command line tool now supports a ``dfits+fitsort`` 
mode,
+        and the dotted notation for keywords (e.g. ``ESO.INS.ID``). [#7240]
+      * Fall back to reading arrays using mode='denywrite' if mode='readonly' 
fails
+        when using memory-mapping. This solves cases on some platforms when the
+        available address space was less than the file size (even when using 
memory
+        mapping). [#7926]
+    > astropy.modeling
+      * Add a ``Multiply`` model which preserves unit through evaluate, unlike
+        ``Scale`` which is dimensionless. [#7210]
+      * Add a ``uses_quantity`` property to ``Model`` which allows 
introspection of if
+        the ``Model`` can accept ``Quantity`` objects. [#7417]
+      * Add a ``separability_matrix`` function which returns the correlation 
matrix
+        of inputs and outputs. [#7803]
+      * Fixed compatibility of ``JointFitter`` with the latest version of 
Numpy. [#7984]
+      * Add ``prior`` and ``posterior`` constraints to modeling parameters. 
These are
+        not used by any current fitters, but are provided to allow user code to
+        experiment with Bayesian fitters.  [#7558]
+    > astropy.nddata
+      * ``NDUncertainty`` objects now have a ``quantity`` attribute for simple
+        conversion to quantities. [#7704]
+      * Add a ``bitmask`` module that provides functions for manipulating 
bitmasks
+        and data quality (DQ) arrays. [#7944]
+    > astropy.stats
+      * Add an ``astropy.stats.bls`` module with an implementation of the "box 
least
+        squares" periodogram that is commonly used for discovering transiting
+        exoplanets and eclipsing binaries. [#7391]
+    > astropy.table
+      * Added support for full use of ``Time`` mixin column for join, hstack, 
and
+        vstack table operations. [#6888]
+      * Added a new table index engine, ``SCEngine``, based on the Sorted 
Containers
+        package. [#7574]
+      * Add a new keyword argument ``serialize_method`` to ``Table.write`` to
+        control how ``Time`` and ``MaskedColumn`` columns are written. [#7481]
+      * Allow mixin columns to be used in table ``group`` and ``unique``
+        functions. This applies to both the key columns and the other data
+        columns. [#7712]
+      * Added support for stacking ``Column``, mixin column (e.g. ``Quantity``,
+        ``Time``) or column-like objects. [#7674]
+      * Added support for inserting a row into a Table that has ``Time`` or
+        ``TimeDelta`` column(s). [#7897]
+    > astropy.tests
+      * Added an option ``--readonly`` to the test command to change the
+        permissions on the temporary installation location to read-only. 
[#7598]
+    > astropy.time
+      * Allow array-valued ``Time`` object to be modified in place. [#6028]
+      * Added support for missing values (masking) to the ``Time`` class. 
[#6028]
+      * Added supper for a 'local' time scale (for free-running clocks, etc.),
+        and round-tripping to the corresponding FITS time scale. [#7122]
+      * Added `datetime.timedelta` format class for ``TimeDelta``. [#7441]
+      * Added ``strftime`` and ``strptime`` methods to ``Time`` class.
+        These methods are similar to those in the Python standard library
+        `time` package and provide flexible input and output formatting. 
[#7323]
+      * Added ``datetime64`` format to the ``Time`` class to support working 
with
+        ``numpy.datetime64`` dtype arrays. [#7361]
+      * Add fractional second support for ``strftime`` and ``strptime`` methods
+        of ``Time`` class. [#7705]
+      * Added an ``insert`` method to allow inserting one or more values into a
+        ``Time`` or ``TimeDelta`` object. [#7897]
+      * Remove timescale from string version of FITS format time string.
+        The timescale is not part of the FITS standard and should not be 
included.
+        This change may cause some compatibility issues for code that relies on
+        round-tripping a FITS format string with a timescale. Strings generated
+        from previous versions of this package are still understood but a
+        DeprecationWarning will be issued. [#7870]
+    > astropy.uncertainty
+      * This sub-package was added as a "preview" (i.e. API unstable), 
containing
+        the ``Distribution`` class and associated convenience functions. 
[#6945]
+    > astropy.units
+      * Add complex numbers support for ``Quantity._repr_latex_``. [#7676]
+      * Add ``thermodynamic_temperature`` equivalency to convert between
+        Jy/beam and "thermodynamic temperature" for cosmology. [#7054]
+      * Add millibar unit. [#7863]
+      * Add maggy and nanomaggy unit, as well as associated ``zero_point_flux``
+        equivalency. [#7891]
+      * ``AB`` and ``ST`` are now enabled by default, and have alternate names
+        ``ABflux`` and ``STflux``. [#7891]
+      * Added ``littleh`` unit and associated ``with_H0`` equivalency. [#7970]
+    > astropy.visualization
+      * Added ``imshow_norm`` function, which combines imshow and creation of a
+        ``ImageNormalize`` object. [#7785]
+    > astropy.visualization.wcsaxes
+      * Add support for setting ``set_separator(None)`` in WCSAxes to use 
default
+        separators. [#7570]
+      * Added two keyword argument options to 
``CoordinateHelper.set_format_unit``:
+        ``decimal`` can be used to specify whether to use decimal formatting 
for the
+        labels (by default this is False for degrees and hours and True 
otherwise),
+        and ``show_decimal_unit`` can be used to determine whether the units 
should be
+        shown for decimal labels. [#7318]
+      * Added documentation for ``transform=`` and ``coord_meta=``. [#7698]
+      * Allow ``coord_meta=`` to optionally include ``format_unit=``. [#7848]
+      * Add support for more rcParams related to the grid, ticks, and labels, 
and
+        should work with most built-in Matplotlib styles. [#7961]
+      * Improved rendering of outward-facing ticks. [#7961]
+      * Add support for ``tick_params`` (which is a standard Matplotlib
+        function/method) on both the ``WCSAxes`` class and the individual
+        ``CoordinateHelper`` classes. Note that this is provided for 
compatibility
+        with Matplotlib syntax users may be familiar with, but it is not the
+        preferred way to change settings. Instead, methods such as 
``set_ticks``
+        should be preferred. [#7969]
+      * Moved the argument ``exclude_overlapping`` from ``set_ticks`` to
+        ``set_ticklabel``. [#7969]
+      * Added a ``pad=`` argument to ``set_ticklabel`` to provide a way to 
control
+        the padding between ticks and tick labels. [#7969]
+      * Added support for setting the tick direction in ``set_ticks`` using the
+        ``direction=`` keyword argument. [#7969]
+    > astropy.wcs
+      * Map ITRS frames to terrestrial WCS coordinates. This will make it 
possible to
+        use WCSAxes to make figures that combine both celestial and terrestrial
+        features. An example is plotting the coordinates of an astronomical 
transient
+        over an all- sky satellite image to illustrate the position relative 
to the
+        Earth at the time of the event. The ITRS frame is identified with WCSs 
that
+        use the ``TLON-`` and ``TLAT-`` coordinate types. There are several 
examples
+        of WCSs where this syntax is used to describe terrestrial coordinate 
systems:
+        Section 7.4.1 of `WCS in FITS "Paper II" 
<http://adsabs.harvard.edu/abs/2002A%26A...395.1077C>`_
++++ 273 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes
++++ and 
/work/SRC/openSUSE:Factory/.python-astropy.new.28833/python-astropy.changes

Old:
----
  astropy-2.0.3.tar.gz

New:
----
  astropy-3.1.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-astropy.spec ++++++
--- /var/tmp/diff_new_pack.aKHNNu/_old  2019-01-21 10:47:45.276209845 +0100
+++ /var/tmp/diff_new_pack.aKHNNu/_new  2019-01-21 10:47:45.276209845 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-astropy
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,13 +12,14 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+%define         skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-astropy
-Version:        2.0.3
+Version:        3.1.1
 Release:        0
 Summary:        Community-developed python astronomy tools
 License:        BSD-3-Clause
@@ -29,8 +30,8 @@
 # These are used by the python files so they must be available.
 Source100:      python-astropy-rpmlintrc
 BuildRequires:  %{python_module Cython >= 0.21}
+BuildRequires:  %{python_module astropy-helpers}
 BuildRequires:  %{python_module numpy-devel >= 1.7.0}
-
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module jupyter_ipython}
 BuildRequires:  %{python_module ply}
@@ -43,9 +44,7 @@
 BuildRequires:  pkgconfig(erfa) >= 1.3.0
 BuildRequires:  pkgconfig(expat)
 BuildRequires:  pkgconfig(wcslib)
-# Documentation
-BuildRequires:  %{python_module Pillow}
-# Optional requirements
+# SECTION Optional requirements
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module beautifulsoup4}
@@ -55,9 +54,16 @@
 BuildRequires:  %{python_module matplotlib}
 BuildRequires:  %{python_module pandas}
 BuildRequires:  %{python_module scipy}
-# Test requirements
+# /SECTION
+# SECTION test requirements
 BuildRequires:  %{python_module mpmath}
-BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module pytest >= 3.1.0}
+BuildRequires:  %{python_module pytest-arraydiff >= 0.1}
+BuildRequires:  %{python_module pytest-astropy}
+BuildRequires:  %{python_module pytest-doctestplus}
+BuildRequires:  %{python_module pytest-openfiles}
+BuildRequires:  %{python_module pytest-remotedata}
+# /SECTION
 Requires:       hdf5
 Requires:       liberfa1 >= 1.3.0
 Requires:       python-numpy >= 1.7.0
@@ -100,7 +106,6 @@
 
 %install
 %python_install --use-system-libraries --offline
-%python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %python_clone -a %{buildroot}%{_bindir}/fitscheck
 %python_clone -a %{buildroot}%{_bindir}/fitsdiff
@@ -108,20 +113,34 @@
 %python_clone -a %{buildroot}%{_bindir}/fitsinfo
 %python_clone -a %{buildroot}%{_bindir}/fits2bitmap
 %python_clone -a %{buildroot}%{_bindir}/samp_hub
+%python_clone -a %{buildroot}%{_bindir}/showtable
 %python_clone -a %{buildroot}%{_bindir}/volint
 %python_clone -a %{buildroot}%{_bindir}/wcslint
 
+# Deduplicating files can generate a RPMLINT warning for pyc mtime
+%{python_expand %fdupes %{buildroot}%{$python_sitearch}
+$python    -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/astropy/io/misc/tests/
+$python -O -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/astropy/io/misc/tests/
+$python    -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/astropy/io/votable/tests/
+$python -O -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/astropy/io/votable/tests/
+$python    -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/astropy/stats/bls/tests/
+$python -O -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/astropy/stats/bls/tests/
+$python    -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/astropy/wcs/tests/
+$python -O -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/astropy/wcs/tests/
+%fdupes %{buildroot}%{$python_sitearch}
+}
+
 %check
 export PYTHONDONTWRITEBYTECODE=1
 pushd static
 %{python_expand export PYTHONPATH="%{buildroot}%{$python_sitearch}"
-$python -c "import astropy;astropy.test()"
+$python -B -c "import astropy;astropy.test()"
 rm -rf %{buildroot}%{$python_sitearch}/astropy/wcs/tests/extension/build
 }
 popd
 
 %post
-%{python_install_alternative fitscheck fitsdiff fitsheader fitsinfo 
fits2bitmap samp_hub volint wcslint}
+%{python_install_alternative fitscheck fitsdiff fitsheader fitsinfo 
fits2bitmap samp_hub showtable volint wcslint}
 
 %preun
 %python_uninstall_alternative fitscheck
@@ -130,12 +149,13 @@
 %defattr(-,root,root,-)
 %doc CHANGES.rst README.rst
 %doc licenses/
-%python_alternative %{_bindir}/fitscheck
 %python_alternative %{_bindir}/fitsdiff
 %python_alternative %{_bindir}/fitsheader
+%python_alternative %{_bindir}/fitscheck
 %python_alternative %{_bindir}/fitsinfo
 %python_alternative %{_bindir}/fits2bitmap
 %python_alternative %{_bindir}/samp_hub
+%python_alternative %{_bindir}/showtable
 %python_alternative %{_bindir}/volint
 %python_alternative %{_bindir}/wcslint
 %{python_sitearch}/astropy/

++++++ astropy-2.0.3.tar.gz -> astropy-3.1.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-astropy/astropy-2.0.3.tar.gz 
/work/SRC/openSUSE:Factory/.python-astropy.new.28833/astropy-3.1.1.tar.gz 
differ: char 5, line 1

++++++ python-astropy-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.aKHNNu/_old  2019-01-21 10:47:45.328209782 +0100
+++ /var/tmp/diff_new_pack.aKHNNu/_new  2019-01-21 10:47:45.328209782 +0100
@@ -1 +1,4 @@
 addFilter('devel-file-in-non-devel-package .*/wcs/.*')
+addFilter('hidden-file-or-dir .*/tests/data/.*')
+addFilter('zero-length .*/tests/data/.*')
+addFilter('zero-length .*/index\.html')


Reply via email to