commit python-astropy for openSUSE:Factory

2020-10-23 Thread root
Hello community,

here is the log from the commit of package python-astropy for openSUSE:Factory 
checked in at 2020-10-23 15:15:48

Comparing /work/SRC/openSUSE:Factory/python-astropy (Old)
 and  /work/SRC/openSUSE:Factory/.python-astropy.new.3463 (New)


Package is "python-astropy"

Fri Oct 23 15:15:48 2020 rev:15 rq:843596 version:4.1

Changes:

--- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes
2020-10-12 13:59:47.182227897 +0200
+++ /work/SRC/openSUSE:Factory/.python-astropy.new.3463/python-astropy.changes  
2020-10-23 15:15:51.690178070 +0200
@@ -1,0 +2,51 @@
+Thu Oct 22 09:36:36 UTC 2020 - Benjamin Greiner 
+
+- Update to 4.1
+  Astropy 4.1 is a major release that contains bug fixes and new
+  features since the 4.0.x series of releases.  In particular, this 
+  release includes:
+  * A new SpectralCoord class for representing and transforming 
+spectral quantities
+  * Support for writing Dask arrays to FITS files
+  * Added True Equator Mean Equinox (TEME) frame for satellite two-
+line ephemeris data
+  * Support for in-place setting of array-valued SkyCoord and frame 
+objects
+  * Change in the definition of equality comparison for coordinate 
+classes
+  * Support use of SkyCoord in table vstack, dstack, and insert_row
+  * Support for table cross-match join with SkyCoord or N-d columns
+  * Support for custom attributes in Table subclasses
+  * Added a new Time subformat unix_tai
+  * Added support for the -TAB convention in FITS WCS
+  * Support for replacing submodels in CompoundModel
+  * Support for units on otherwise unitless models via the 
+Model.coerce_units method.
+  * Support for ASDF serialization of models
+  In addition to these major changes, Astropy v4.0 includes a large
+  number of smaller improvements and bug fixes, which are described
+  in the Full Changelog. By the numbers:
+  * 381 issues have been closed since v4.0
+  * 511 pull requests have been merged since v4.0
+  * 66 distinct people have contributed code to this release, 23 of
+which are first time contributors to Astropy 
+- Drop astropy-pr10545-remove-newline-3d_cd_hdr.patch
+  * merged upstream
+  * gh#astropy/astropy#10545
+- Add astropy-pr10329-unbundle-erfa_4.1.patch
+  * Remove bundled _erfa but use system package pyerfa instead
+  * gh#astropy/astropy#10329
+- enable optional pytest-xdist
+
+---
+Thu Oct 15 12:22:54 UTC 2020 - Benjamin Greiner 
+
+- Update to 4.0.3
+  * astropy.table  
+Fixed a small bug where initializing an empty `Column` 
+with a structured dtype with a length and a shape 
+failed to give the requested dtype. [#10819]
+  * Fixed installation of the source distribution with 
+pip<19. [#10837, #10852]
+
+---

Old:

  astropy-4.0.2.tar.gz
  astropy-pr10545-remove-newline-3d_cd_hdr.patch

New:

  astropy-4.1.tar.gz
  astropy-pr10329-unbundle-erfa_4.1.patch



Other differences:
--
++ python-astropy.spec ++
--- /var/tmp/diff_new_pack.8L1gBx/_old  2020-10-23 15:15:52.414178419 +0200
+++ /var/tmp/diff_new_pack.8L1gBx/_new  2020-10-23 15:15:52.418178421 +0200
@@ -16,90 +16,103 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
-%define psuffix -test
 %bcond_without test
 %else
-%define psuffix %{nil}
 %bcond_with test
 %endif
+
 %define binaries fitsdiff fitsheader fitscheck fitsinfo fits2bitmap samp_hub 
showtable volint wcslint
+
+%bcond_without systemlibs
+%if %{with systemlibs}
+%define unbundle_libs export ASTROPY_USE_SYSTEM_CFITSIO=1 \
+  export ASTROPY_USE_SYSTEM_EXPAT=1 \
+  export ASTROPY_USE_SYSTEM_WCSLIB=1
+%endif
+
+%{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:   python-astropy
-Version:4.0.2
+Version:4.1
 Release:0
 Summary:Community-developed python astronomy tools
 License:BSD-3-Clause
 URL:https://astropy.org
 Source: 
https://files.pythonhosted.org/packages/source/a/astropy/astropy-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM astropy-pr10545-remove-newline-3d_cd_hdr.patch 
gh#astropy/astropy#10545 -- clean up newlines after pytest output
-Patch0: astropy-pr10545-remove-newline-3d_cd_hdr.patch
 # 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-FEATURE-UPSTREAM astropy-pr10329-unbundle-erfa_4.1.patch 
gh#astropy/astropy#10329 -- unbundle  _erfa and u

commit python-astropy for openSUSE:Factory

2020-10-12 Thread root
Hello community,

here is the log from the commit of package python-astropy for openSUSE:Factory 
checked in at 2020-10-12 13:58:40

Comparing /work/SRC/openSUSE:Factory/python-astropy (Old)
 and  /work/SRC/openSUSE:Factory/.python-astropy.new.3486 (New)


Package is "python-astropy"

Mon Oct 12 13:58:40 2020 rev:14 rq:840967 version:4.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes
2020-07-18 21:01:22.351506596 +0200
+++ /work/SRC/openSUSE:Factory/.python-astropy.new.3486/python-astropy.changes  
2020-10-12 13:59:47.182227897 +0200
@@ -1,0 +2,201 @@
+Sat Oct 10 20:46:40 UTC 2020 - Benjamin Greiner 
+
+- Update to 4.0.2
+  New Features
+  * astropy.utils
+astropy.utils.data.download_file now supports FTPS/FTP over 
+TLS. [#9964]
+astropy.utils.data now uses a lock-free mechanism for caching. 
+This new mechanism uses a new cache layout and so ignores 
+caches created using earlier mechanisms (which were causing 
+lockups on clusters). The two cache formats can coexist but do 
+not share any files. [#10437, #10683]
+astropy.utils.data now ignores the config item 
+astropy.utils.data.conf.download_cache_lock_attempts since no 
+locking is done. [#10437, #10683]
+astropy.utils.data.download_file and related functions now 
+interpret the parameter or config file setting timeout=0 to 
+mean they should make no attempt to download files. [#10437, 
+#10683]
+astropy.utils.import_file_to_cache now accepts a keyword-only 
+argument replace, defaulting to True, to determine whether it 
+should replace existing files in the cache, in a way as close 
+to atomic as possible. [#10437, #10683]
+astropy.utils.data.download_file and related functions now 
+treat http://example.com and http://example.com/ as equivalent. 
+[#10631]
+  * astropy.wcs
+The new auxiliary WCS parameters added in WCSLIB 7.1 are now 
+exposed as the aux attribute of Wcsprm. [#10333]
+Updated bundled version of WCSLIB to v7.3. [#10433]
+  Bug fixes
+  * astropy.config
+Added an extra fallback to os.expanduser('~') when trying to 
+find the user home directory. [#10570]
+  * astropy.constants
+Corrected definition of parsec to 648 000 / pi AU following IAU 
+2015 B2 [#10569]
+  * astropy.convolution
+Fixed a bug where a float-typed integers in the argument 
+x_range of astropy.convolution.utils.discretize_oversample_1D 
+(and the 2D version as well) fails because it uses 
+numpy.linspace, which requires an int. [#10696]
+  * astropy.coordinates
+Ensure that for size-1 array SkyCoord and coordinate frames the 
+attributes also properly become scalars when indexed with 0. 
+[#10113]
+Fixed a bug where SkyCoord.separation() and 
+SkyCoord.separation_3d were not accepting a frame object. 
+[#10332]
+Ensure that the lon values in SkyOffsetFrame are wrapped 
+correctly at 180 degree regardless of how the underlying data 
+is represented. [#10163]
+Fixed an error in the obliquity of the ecliptic when 
+transforming to/from the *TrueEcliptic coordinate frames. The 
+error would primarily result in an inaccuracy in the ecliptic 
+latitude on the order of arcseconds. [#10129]
+Fixed an error in the computation of the location of solar 
+system bodies where the Earth location of the observer was 
+ignored during the correction for light travel time. [#10292]
+Ensure that coordinates with proper motion that are transformed 
+to other coordinate frames still can be represented properly. 
+[#10276]
+Improve the error message given when trying to get a cartesian 
+representation for coordinates that have both proper motion and 
+radial velocity, but no distance. [#10276]
+Fixed an error where SkyCoord.apply_space_motion would return 
+incorrect results when no distance is set and proper motion is 
+high. [#10296]
+Make the parsing of angles thread-safe so that Angle can be 
+used in Python multithreading. [#10556]
+Fixed reporting of EarthLocation.info which previously raised 
+an exception. [#10592]
+  * astropy.io.ascii
+Fixed a bug with the C fast_reader not correctly parsing 
+newlines when delimiter was also set to \n or \r; ensured 
+consistent handling of input strings without newline 
+characters. [#9929]
+  * astropy.io.fits
+Fix integer formats of TFORMn=Iw columns in ASCII tables to 
+correctly read values exceeding int32 - setting int16, int32 or 
+int64 according to w. [#9901]
+Fix unclosed memory-mapped FITS files in FITSDiff when 
+difference found. [#10159]
+Fix crash when reading an invalid table file. [#10171]
+Fix duplication issue when setting a keyword ending with space

commit python-astropy for openSUSE:Factory

2020-07-18 Thread root
Hello community,

here is the log from the commit of package python-astropy for openSUSE:Factory 
checked in at 2020-07-18 21:00:52

Comparing /work/SRC/openSUSE:Factory/python-astropy (Old)
 and  /work/SRC/openSUSE:Factory/.python-astropy.new.3592 (New)


Package is "python-astropy"

Sat Jul 18 21:00:52 2020 rev:13 rq:821553 version:4.0.1.post1

Changes:

--- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes
2020-07-10 14:13:31.987657887 +0200
+++ /work/SRC/openSUSE:Factory/.python-astropy.new.3592/python-astropy.changes  
2020-07-18 21:01:22.351506596 +0200
@@ -1,0 +2,13 @@
+Fri Jul 17 11:42:19 UTC 2020 - Benjamin Greiner 
+
+- actually detect unit test failures with sys.exit(astropy.tests())
+- do not fail on DeprecationWarnings
+- support updated system lib wcslib 7.3 with
+  astropy-pr10433-wcslib73-tests.patch gh#astropy/astropy#10433
+  astropy-pr10440-wcs-datfix.patch gh#astropy/astropy#10440
+- clean up blank lines after pytest report and prevent possible
+  failure of tests depending on test order
+  astropy-pr10545-remove-newline-3d_cd_hdr.patch
+  gh#astropy/astropy#10545
+  
+---

New:

  astropy-pr10433-wcslib73-tests.patch
  astropy-pr10440-wcs-datfix.patch
  astropy-pr10545-remove-newline-3d_cd_hdr.patch



Other differences:
--
++ python-astropy.spec ++
--- /var/tmp/diff_new_pack.EHUxMc/_old  2020-07-18 21:01:25.579510013 +0200
+++ /var/tmp/diff_new_pack.EHUxMc/_new  2020-07-18 21:01:25.587510021 +0200
@@ -34,6 +34,12 @@
 License:BSD-3-Clause
 URL:https://astropy.org
 Source: 
https://files.pythonhosted.org/packages/source/a/astropy/astropy-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM astropy-pr10433-wcslib73-tests.patch 
gh#astropy/astropy#10433 -- allow system wcslib 7.3
+Patch0: astropy-pr10433-wcslib73-tests.patch
+# PATCH-FIX-UPSTREAM astropy-pr10440-wcs-datfix.patch gh#astropy/astropy#10440 
-- allow system wcslib 7.3
+Patch1: astropy-pr10440-wcs-datfix.patch
+# PATCH-FIX-UPSTREAM astropy-pr10545-remove-newline-3d_cd_hdr.patch 
gh#astropy/astropy#10545 -- clean up newlines after pytest output
+Patch2: astropy-pr10545-remove-newline-3d_cd_hdr.patch
 # 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
@@ -111,6 +117,10 @@
 %if !%{with test}
 %prep
 %setup -q -n astropy-%{version}
+%autopatch -p1
+
+# Disable test failure on DeprecationWarnings
+sed -i "/enable_deprecations_as_exceptions(/,/)/ d" astropy/conftest.py
 
 # Make sure bundled libs are not used
 rm -rf cextern/expat
@@ -158,7 +168,7 @@
 %endif
 # http://docs.astropy.org/en/latest/development/testguide.html#running-tests
 # running pytest directly would require building the extensions inplace
-%python_exec -B -c "import astropy; astropy.test(args=\"-v %{?skip_pytest}\")"
+%python_exec -B -c "import astropy, sys; sys.exit(astropy.test(args=\"-v 
%{?skip_pytest}\"))"
 %endif
 
 %if !%{with test}

++ astropy-pr10433-wcslib73-tests.patch ++
From 89b9db3e1336fafcbd3a6ab851b7278e24c5d77d Mon Sep 17 00:00:00 2001
From: Mihai Cara 
Date: Wed, 3 Jun 2020 01:39:28 -0400
Subject: [PATCH] deal with updated WCSLIB to v7.3 (partial pr#10433)

---
 CHANGES.rst  |  5 -
 astropy/wcs/setup_package.py |  2 +-
 astropy/wcs/tests/test_wcs.py| 18 --
 astropy/wcs/tests/test_wcsprm.py | 17 +
 4 files changed, 34 insertions(+), 8 deletions(-)

diff --git a/astropy/wcs/setup_package.py b/astropy/wcs/setup_package.py
index c0fc32376..c7f0b09ab 100644
--- a/astropy/wcs/setup_package.py
+++ b/astropy/wcs/setup_package.py
@@ -15,7 +15,7 @@ import numpy
 from astropy_helpers.distutils_helpers import get_distutils_build_option
 
 WCSROOT = os.path.relpath(os.path.dirname(__file__))
-WCSVERSION = "7.2.0"
+WCSVERSION = "7.3.0"
 
 
 def b(s):
diff --git a/astropy/wcs/tests/test_wcs.py b/astropy/wcs/tests/test_wcs.py
index 12ccc3e10..2738bc758 100644
--- a/astropy/wcs/tests/test_wcs.py
+++ b/astropy/wcs/tests/test_wcs.py
@@ -31,7 +31,7 @@ _WCSLIB_VER = LooseVersion(_wcs.__version__)
 
 
 def _check_v71_dateref_warnings(w, nmax=None):
-if _WCSLIB_VER >= '7.1' and w:
+if _WCSLIB_VER >= '7.1' and _WCSLIB_VER < '7.3' and w:
 if nmax is None:
 assert w
 else:
@@ -375,12 +375,19 @@ def test_to_header_string():
 "CRVAL2  =  0.0 / Coordinate value at reference point  
  ",
 "LATPOLE = 90.0 / [deg] Native latitude of celestial 
pole",
 )
-if _WCSLIB_VER >= '7.1':
+
+if _WCSLIB_VER >= 

commit python-astropy for openSUSE:Factory

2020-07-10 Thread root
Hello community,

here is the log from the commit of package python-astropy for openSUSE:Factory 
checked in at 2020-07-10 14:13:29

Comparing /work/SRC/openSUSE:Factory/python-astropy (Old)
 and  /work/SRC/openSUSE:Factory/.python-astropy.new.3060 (New)


Package is "python-astropy"

Fri Jul 10 14:13:29 2020 rev:12 rq:819886 version:4.0.1.post1

Changes:

--- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes
2020-07-06 16:34:10.112061173 +0200
+++ /work/SRC/openSUSE:Factory/.python-astropy.new.3060/python-astropy.changes  
2020-07-10 14:13:31.987657887 +0200
@@ -1,0 +2,10 @@
+Thu Jul  9 23:14:09 UTC 2020 - Benjamin Greiner 
+
+- Switch from pytest macro back to astropy.test()
+  This avoids compiling a second time inplace and obsoletes the
+  necessary deprecation warningsfilters. New deprecation warnings
+  from numpy 1.19 started to fail the test multibuild again.
+  Can now drop astropy-openSUSE-ignore-warnings.patch
+- Fix update-alternatives warnings by expanding the loop early 
+
+---

Old:

  astropy-openSUSE-ignore-warnings.patch



Other differences:
--
++ python-astropy.spec ++
--- /var/tmp/diff_new_pack.zHEl1x/_old  2020-07-10 14:13:33.635663300 +0200
+++ /var/tmp/diff_new_pack.zHEl1x/_new  2020-07-10 14:13:33.639663314 +0200
@@ -34,7 +34,6 @@
 License:BSD-3-Clause
 URL:https://astropy.org
 Source: 
https://files.pythonhosted.org/packages/source/a/astropy/astropy-%{version}.tar.gz
-Patch0: astropy-openSUSE-ignore-warnings.patch
 # 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
@@ -81,6 +80,7 @@
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module asdf >= 2.5}
+BuildRequires:  %{python_module astropy}
 BuildRequires:  %{python_module beautifulsoup4}
 BuildRequires:  %{python_module bleach}
 BuildRequires:  %{python_module h5py}
@@ -108,9 +108,9 @@
 Python. It also provides an index for other astronomy packages and tools for
 managing them.
 
+%if !%{with test}
 %prep
 %setup -q -n astropy-%{version}
-%patch0 -p1
 
 # Make sure bundled libs are not used
 rm -rf cextern/expat
@@ -122,12 +122,9 @@
 echo "use_system_libraries=1" >> setup.cfg
 
 %build
-%if !%{with test}
 %python_build --use-system-libraries --offline
-%endif
 
 %install
-%if !%{with test}
 %python_install --use-system-libraries --offline
 for b in %{binaries}; do
   %python_clone -a %{buildroot}%{_bindir}/$b
@@ -153,43 +150,28 @@
 }
 %endif
 
-%check
 %if %{with test}
-# http://docs.astropy.org/en/latest/development/testguide.html#running-tests
-%python_exec setup.py build_ext --inplace --offline
-# import from local source dir for proper conftest.py collection 
-# and using above inplace built extensions
-export PYTHONPATH=$(pwd)
+%check
 %ifarch aarch64
 # doctest failure because of precision errors
-  %define skippytest -k 'not bayesian_info_criterion_lsq'
+  %define skip_pytest -k 'not bayesian_info_criterion_lsq'
 %endif
-%pytest_arch --ignore 'docs/whatsnew' %{?skippytest}
+# http://docs.astropy.org/en/latest/development/testguide.html#running-tests
+# running pytest directly would require building the extensions inplace
+%python_exec -B -c "import astropy; astropy.test(args=\"-v %{?skip_pytest}\")"
 %endif
 
 %if !%{with test}
 %post
-for b in %{binaries}; do
-  %python_install_alternative $b
-done
+%{expand:%(for b in %{binaries}; do echo "%%python_install_alternative $b"; 
done)}
 
 %postun
-for b in %{binaries}; do
-  %python_uninstall_alternative $b
-done
+%{expand:%(for b in %{binaries}; do echo "%%python_uninstall_alternative $b"; 
done)}
 
 %files %{python_files}
 %doc CHANGES.rst README.rst
 %license licenses/*
-%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
+%{expand:%(for b in %{binaries}; do echo "%%python_alternative 
%%{_bindir}/$b"; done)}
 %{python_sitearch}/astropy/
 %{python_sitearch}/astropy-%{version}-py*.egg-info
 %endif




commit python-astropy for openSUSE:Factory

2020-07-06 Thread root
Hello community,

here is the log from the commit of package python-astropy for openSUSE:Factory 
checked in at 2020-07-06 16:31:28

Comparing /work/SRC/openSUSE:Factory/python-astropy (Old)
 and  /work/SRC/openSUSE:Factory/.python-astropy.new.3060 (New)


Package is "python-astropy"

Mon Jul  6 16:31:28 2020 rev:11 rq:818935 version:4.0.1.post1

Changes:

--- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes
2020-06-03 20:32:22.329146180 +0200
+++ /work/SRC/openSUSE:Factory/.python-astropy.new.3060/python-astropy.changes  
2020-07-06 16:34:10.112061173 +0200
@@ -1,0 +2,9 @@
+Sun Jul  5 12:24:49 UTC 2020 - Benjamin Greiner 
+
+- Fix conftest collection error: import local source dir for tests 
+- Remove ignore pytest deprecation fixed by pytest-doctestplus >= 0.6
+- Ignore leap second expiry and dubious year warnings for
+  reproducible builds: gh#astropy/astropy#10228
+  astropy-openSUSE-ignore-warnings.patch
+
+---

New:

  astropy-openSUSE-ignore-warnings.patch



Other differences:
--
++ python-astropy.spec ++
--- /var/tmp/diff_new_pack.3Y3kda/_old  2020-07-06 16:34:11.688066024 +0200
+++ /var/tmp/diff_new_pack.3Y3kda/_new  2020-07-06 16:34:11.692066036 +0200
@@ -34,6 +34,7 @@
 License:BSD-3-Clause
 URL:https://astropy.org
 Source: 
https://files.pythonhosted.org/packages/source/a/astropy/astropy-%{version}.tar.gz
+Patch0: astropy-openSUSE-ignore-warnings.patch
 # 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
@@ -95,7 +96,7 @@
 BuildRequires:  %{python_module objgraph}
 BuildRequires:  %{python_module pytest >= 3.1}
 BuildRequires:  %{python_module pytest-astropy}
-BuildRequires:  %{python_module pytest-doctestplus}
+BuildRequires:  %{python_module pytest-doctestplus >= 0.6}
 BuildRequires:  %{python_module pytest-mpl}
 # /SECTION
 %endif
@@ -109,6 +110,7 @@
 
 %prep
 %setup -q -n astropy-%{version}
+%patch0 -p1
 
 # Make sure bundled libs are not used
 rm -rf cextern/expat
@@ -153,17 +155,16 @@
 
 %check
 %if %{with test}
-export PYTHONDONTWRITEBYTECODE=1
 # http://docs.astropy.org/en/latest/development/testguide.html#running-tests
 %python_exec setup.py build_ext --inplace --offline
+# import from local source dir for proper conftest.py collection 
+# and using above inplace built extensions
+export PYTHONPATH=$(pwd)
 %ifarch aarch64
 # doctest failure because of precision errors
   %define skippytest -k 'not bayesian_info_criterion_lsq'
 %endif
-%{pytest_arch -W "ignore:the imp module is deprecated:DeprecationWarning" \
-  -W "ignore:Unknown 
pytest.mark.openfiles_ignore:pytest.PytestUnknownMarkWarning" \
-  --ignore "docs/whatsnew" %{?skippytest}
-}
+%pytest_arch --ignore 'docs/whatsnew' %{?skippytest}
 %endif
 
 %if !%{with test}

++ astropy-openSUSE-ignore-warnings.patch ++
From: Benjamin Greiner 
Date: 2020-07-05 13:43:14 +0200
Subject: ignore test warnings for reproducible builds
References: gh#astropy/astropy#10228
Upstream: discussed on github, but openSUSE specific

Ignore leap-second and dubious year warnings for reproducible builds.

Patching setup.cfg instead of -W option for python/pytest call
because regular expressions do not work for the latter.

--- astropy-4.0.1.post1.orig/setup.cfg  2020-04-02 03:18:04.0 +0200
+++ astropy-4.0.1.post1/setup.cfg   2020-07-05 13:43:14.132689750 +0200
@@ -120,6 +120,9 @@
 ignore:PY_SSIZE_T_CLEAN will be required for '#' formats
 ignore:::astropy.tests.plugins.display
 ignore:::astropy.tests.disable_internet
+ignore:the imp module is deprecated:DeprecationWarning
+ignore:leap-second file is expired:astropy.utils.iers.iers.IERSStaleWarning
+ignore:ERFA function.*dubious year:astropy.utils.exceptions.ErfaWarning
 
 [bdist_wininst]
 bitmap = static/wininst_background.bmp



commit python-astropy for openSUSE:Factory

2020-06-03 Thread root
Hello community,

here is the log from the commit of package python-astropy for openSUSE:Factory 
checked in at 2020-06-03 20:31:38

Comparing /work/SRC/openSUSE:Factory/python-astropy (Old)
 and  /work/SRC/openSUSE:Factory/.python-astropy.new.3606 (New)


Package is "python-astropy"

Wed Jun  3 20:31:38 2020 rev:10 rq:811018 version:4.0.1.post1

Changes:

--- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes
2020-04-21 13:12:34.657040888 +0200
+++ /work/SRC/openSUSE:Factory/.python-astropy.new.3606/python-astropy.changes  
2020-06-03 20:32:22.329146180 +0200
@@ -1,0 +2,10 @@
+Wed Jun  3 07:42:45 UTC 2020 - Tomáš Chvátal 
+
+- Switch to multibuild to avoid cycle with python-asdf package
+
+---
+Wed May 27 09:36:06 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---

New:

  _multibuild



Other differences:
--
++ python-astropy.spec ++
--- /var/tmp/diff_new_pack.PApBNM/_old  2020-06-03 20:32:23.749150497 +0200
+++ /var/tmp/diff_new_pack.PApBNM/_new  2020-06-03 20:32:23.761150533 +0200
@@ -17,6 +17,15 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+%define binaries fitsdiff fitsheader fitscheck fitsinfo fits2bitmap samp_hub 
showtable volint wcslint
 %define skip_python2 1
 Name:   python-astropy
 Version:4.0.1.post1
@@ -48,12 +57,14 @@
 Requires:   python-dbm
 Requires:   python-matplotlib >= 2.1
 Requires:   python-numpy >= 1.7.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends: libxml2-tools
+Recommends: python-Bottleneck
 Recommends: python-Jinja2
 Recommends: python-PyYAML
 Recommends: python-asdf >= 2.5
 Recommends: python-beautifulsoup4
-Recommends: python-Bottleneck
 Recommends: python-bleach
 Recommends: python-h5py
 Recommends: python-ipython
@@ -63,6 +74,7 @@
 Recommends: python-scikit-image
 Recommends: python-scipy >= 0.18
 Conflicts:  perl-Data-ShowTable
+%if %{with test}
 # SECTION Optional requirements
 BuildRequires:  %{python_module Bottleneck}
 BuildRequires:  %{python_module Jinja2}
@@ -86,6 +98,7 @@
 BuildRequires:  %{python_module pytest-doctestplus}
 BuildRequires:  %{python_module pytest-mpl}
 # /SECTION
+%endif
 %python_subpackages
 
 %description
@@ -107,11 +120,16 @@
 echo "use_system_libraries=1" >> setup.cfg
 
 %build
+%if !%{with test}
 %python_build --use-system-libraries --offline
+%endif
 
 %install
+%if !%{with test}
 %python_install --use-system-libraries --offline
-
+for b in %{binaries}; do
+  %python_clone -a %{buildroot}%{_bindir}/$b
+done
 chmod a-x 
%{buildroot}%{python_sitearch}/astropy/wcs/tests/data/header_with_time.fits
 
 # Deduplicating files can generate a RPMLINT warning for pyc mtime
@@ -131,8 +149,10 @@
 $python -O -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/astropy/wcs/tests/
 %fdupes %{buildroot}%{$python_sitearch}
 }
+%endif
 
 %check
+%if %{with test}
 export PYTHONDONTWRITEBYTECODE=1
 # http://docs.astropy.org/en/latest/development/testguide.html#running-tests
 %python_exec setup.py build_ext --inplace --offline
@@ -144,20 +164,33 @@
   -W "ignore:Unknown 
pytest.mark.openfiles_ignore:pytest.PytestUnknownMarkWarning" \
   --ignore "docs/whatsnew" %{?skippytest}
 }
+%endif
+
+%if !%{with test}
+%post
+for b in %{binaries}; do
+  %python_install_alternative $b
+done
+
+%postun
+for b in %{binaries}; do
+  %python_uninstall_alternative $b
+done
 
 %files %{python_files}
 %doc CHANGES.rst README.rst
 %license licenses/*
-%python3_only %{_bindir}/fitsdiff
-%python3_only %{_bindir}/fitsheader
-%python3_only %{_bindir}/fitscheck
-%python3_only %{_bindir}/fitsinfo
-%python3_only %{_bindir}/fits2bitmap
-%python3_only %{_bindir}/samp_hub
-%python3_only %{_bindir}/showtable
-%python3_only %{_bindir}/volint
-%python3_only %{_bindir}/wcslint
+%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/
 %{python_sitearch}/astropy-%{version}-py*.egg-info
+%endif
 
 %changelog

++ _multibuild ++

  test




commit python-astropy for openSUSE:Factory

2020-04-21 Thread root
Hello community,

here is the log from the commit of package python-astropy for openSUSE:Factory 
checked in at 2020-04-21 13:12:32

Comparing /work/SRC/openSUSE:Factory/python-astropy (Old)
 and  /work/SRC/openSUSE:Factory/.python-astropy.new.2738 (New)


Package is "python-astropy"

Tue Apr 21 13:12:32 2020 rev:9 rq:795889 version:4.0.1.post1

Changes:

--- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes
2020-01-07 23:57:30.448160688 +0100
+++ /work/SRC/openSUSE:Factory/.python-astropy.new.2738/python-astropy.changes  
2020-04-21 13:12:34.657040888 +0200
@@ -1,0 +2,159 @@
+Sun Apr 19 10:53:30 UTC 2020 - Benjamin Greiner 
+
+- Update to 4.0.1.post1 
+  * astropy.config
+[gh#astropy/astropy#9975]
+Fixed a bug where importing a development version of a package that
+uses ``astropy`` configuration system can result in a
+``~/.astropy/config/package..cfg`` file.
+  * astropy.coordinates 
+[gh#astropy/astropy#9815]
+Fixed a bug where a vestigal trace of a frame class could persist in the
+transformation graph even after the removal of all transformations 
involving
+that frame class.   
+[gh#astropy/astropy#9815]
+Fixed a bug with ``TransformGraph.remove_transform()`` when the "from" and
+"to" frame classes are not explicitly specified.   
+[gh#astropy/astropy#9900]
+Read-only longitudes can now be passed in to ``EarthLocation`` even if
+they include angles outside of the range of -180 to 180 degrees.   
+[gh#astropy/astropy#9980]
+```SkyCoord.radial_velocity_correction``` no longer raises an Exception
+when space motion information is present on the SkyCoord.   
+  * astropy.io 
+[gh#astropy/astropy#9866]
+Fixed a bug that prevented the unified I/O infrastructure from working with
+datasets that are represented by directories rather than files.   
+  * astropy.io.ascii
+[gh#astropy/astropy#9918]
+Fixed a bug in the ``fast_reader`` C parsers incorrectly returning entries
+of isolated positive/negative signs as ``float`` instead of ``str``.   
+[gh#astropy/astropy#9923]
+Fixed a segmentation fault in the ``fast_reader`` C parsers when parsing an
+invalid file with ``guess=True`` and the file contains inconsistent column
+numbers in combination with a quoted field; e.g., ``"1  2\n 3  4 '5'"``.
+[gh#astropy/astropy#9933]
+Magnitude, decibel, and dex can now be stored in ``ecsv`` files.   
+  * astropy.io.misc
+[gh#astropy/astropy#9933]
+Magnitude, decibel, and dex can now be stored in ``hdf5`` files.   
+[gh#astropy/astropy#9956, gh#astropy/astropy#9961]
+Fixed serialization of polynomial models to include non default values of
+domain and window values.   
+[gh#astropy/astropy#9950]
+Fixed a bug which affected overwriting tables within ``hdf5`` files.
+Overwriting an existing path with associated column meta data now also
+overwrites the meta data associated with the table.   
+[gh#astropy/astropy#9983]
+Fixed serialization of Time objects with location under time-1.0.0
+ASDF schema.   
+  * astropy.io.fits
+[gh#astropy/astropy#9711, gh#astropy/astropy#9934]
+Fix regression with ``GroupsHDU`` which needs to modify the header to 
handle
+invalid headers, and fix accesing ``.data`` for empty HDU.   
+[gh#astropy/astropy#9711]
+Fix ``fitsdiff`` when its arguments are directories that contain other
+directories.   
+[gh#astropy/astropy#9958]
+Fix writing noncontiguous data to a compressed HDU.   
+[gh#astropy/astropy#9978]
+Added verification of ``disp`` (``TDISP``) keyword to ``fits.Column`` and
+extended tests for ``TFORM`` and ``TDISP`` validation.   
+[gh#astropy/astropy#10012]
+Fix checksum verification to process all HDUs instead of only the first one
+because of the lazy loading feature.   
+[gh#astropy/astropy#10030]
+Allow passing ``output_verify`` to ``.close`` when using the context 
manager.
+[gh#astropy/astropy#10041]
+Prevent instantiation of ``PrimaryHDU`` and ``ImageHDU`` with a scalar.
+[gh#astropy/astropy#10069]
+Fix column access by attribute with FITS_rec: columns with scaling or 
columns
+from ASCII tables where not properly converted when accessed by attribute
+name.   
+  * astropy.io.misc
+[gh#astropy/astropy#9933]
+Magnitude, decibel, and dex can now be stored in ``hdf5`` files.   
+[gh#astropy/astropy#9956, gh#astropy/astropy#9961]
+Fixed serialization of polynomial models to include non default values of
+domain and window values.   
+[gh#astropy/astropy#9950]
+Fixed a bug which affected overwriting tables within ``hdf5`` files.
+Overwriting an existing path with associated column meta data now also
+overwrites the meta data associat

commit python-astropy for openSUSE:Factory

2020-01-07 Thread root
Hello community,

here is the log from the commit of package python-astropy for openSUSE:Factory 
checked in at 2020-01-07 23:56:24

Comparing /work/SRC/openSUSE:Factory/python-astropy (Old)
 and  /work/SRC/openSUSE:Factory/.python-astropy.new.6675 (New)


Package is "python-astropy"

Tue Jan  7 23:56:24 2020 rev:8 rq:761637 version:4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes
2019-11-21 12:59:21.738515029 +0100
+++ /work/SRC/openSUSE:Factory/.python-astropy.new.6675/python-astropy.changes  
2020-01-07 23:57:30.448160688 +0100
@@ -1,0 +2,521 @@
+Tue Jan  7 10:19:19 UTC 2020 - Sebastian Wagner 
+
+- Require erfa >= 1.7 because of https://github.com/astropy/astropy/issues/9654
+
+---
+Mon Jan  6 17:59:53 UTC 2020 - Todd R 
+
+- Update to 4.0
+  + New Features
+> astropy.config
+  * The config and cache directories and the name of the config file are 
now
+customizable. This allows affiliated packages to put their 
configuration
+files in locations other than ``CONFIG_DIR/.astropy/``.
+> astropy.constants
+  * The version of constants can be specified via ScienceState in a way
+that ``constants`` and ``units`` will be consistent.
+  * Default constants now use CODATA 2018 and IAU 2015 definitions.
+  * Constants can be pickled and unpickled.
+> astropy.convolution
+  * Fixed a bug where having a kernel defined using unitless astropy
+quantity objects would result in a crash
+> astropy.coordinates
+  * Changed ``coordinates.solar_system_ephemeris`` to also accept local 
files
+as input. The ephemeris can now be selected by either keyword (e.g. 
'jpl',
+'de430'), URL or file path.
+  * Added a ``cylindrical`` property to ``SkyCoord`` for shorthand access 
to a
+``CylindricalRepresentation`` of the coordinate, as is already 
available
+for other common representations.
+  * The default parameters for the ``Galactocentric`` frame are now 
controlled by
+a ``ScienceState`` subclass, ``galactocentric_frame_defaults``. New
+parameter sets will be added to this object periodically to keep up 
with
+ever-improved measurements of the solar position and motion.
+  * Coordinate frame classes can now have multiple aliases by assigning a 
list
+of aliases to the class variable ``name``.  Any of the aliases can be 
used
+for attribute-style access or as the target of ``tranform_to()`` calls.
+
+  * Passing a NaN to ``Distance`` no longer raises a warning.
+> astropy.cosmology
+  * The pre-publication Planck 2018 cosmological parameters are included 
as the
+``Planck2018_arXiv_v2`` object.  Please note that the values are 
preliminary,
+and when the paper is accepted a final version will be included as
+``Planck18``.
+> astropy.io.ascii
+  * Removed incorrect warnings on ``Overflow`` when reading in
+``FloatType`` 0.0 with ``use_fast_converter``; synchronised
+``IntType`` ``Overflow`` warning messages.
+> astropy.io.misc
+  * Eliminate deprecated compatibility mode when writing ``Table`` 
metadata to
+HDF5 format.
+  * Add support for orthogonal polynomial models to ASDF.
+> astropy.io.fits
+  * Changed the ``fitscheck`` and ``fitsdiff`` script to use the 
``argparse``
+module instead of ``optparse``.
+  * Allow writing of ``Table`` objects with ``Time`` columns that are also 
table
+indices to FITS files.
+> astropy.io.votable
+  * Support VOTable version 1.4.  The main addition is the new element, 
TIMESYS,
+which allows defining of metadata for temporal coordinates much like 
COOSYS
+defines metadata for celestial coordinates.
+> astropy.logger
+  * Added a configuration option to specify the text encoding of the log 
file,
+with the default behavior being the platform-preferred encoding.
+> astropy.modeling
+  * Major rework of modeling internals. `See modeling documentation for 
details.
+`_ .
+  * Add ``Tabular1D.inverse``.
+  * ``Model.rename`` was changed to add the ability to rename 
``Model.inputs``
+and ``Model.outputs``.
+  * New function ``fix_inputs`` to generate new models from others by 
fixing
+specific inputs variable values to constants.
+  * ``inputs`` and ``outputs`` are now model instance attributes, and 
``n_inputs``
+and ``n_outputs`` are class attributes. Backwards compatible default
+values of ``inputs`` and ``outputs`` are generated. ``Model.inputs`` 
and
+``Model.outputs`` are now settable which allows renam

commit python-astropy for openSUSE:Factory

2019-11-21 Thread root
Hello community,

here is the log from the commit of package python-astropy for openSUSE:Factory 
checked in at 2019-11-21 12:59:15

Comparing /work/SRC/openSUSE:Factory/python-astropy (Old)
 and  /work/SRC/openSUSE:Factory/.python-astropy.new.26869 (New)


Package is "python-astropy"

Thu Nov 21 12:59:15 2019 rev:7 rq:74 version:3.2.3

Changes:

--- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes
2019-07-30 12:38:43.382939573 +0200
+++ /work/SRC/openSUSE:Factory/.python-astropy.new.26869/python-astropy.changes 
2019-11-21 12:59:21.738515029 +0100
@@ -1,0 +2,89 @@
+Wed Nov 20 20:08:31 UTC 2019 - Todd R 
+
+- Update to 3.2.3
+  + Other Changes and Additions
+* Updated IERS A URLs due to USNO prolonged maintenance
+- Update to 3.2.2
+  + Bug fixes
+* astropy.convolution
+  > Fixed a bug in ``discretize_oversample_1D/2D()`` from
+``astropy.convolution.utils``, which might occasionally introduce 
unexpected
+oversampling grid dimensions due to a numerical precision issue.
+  > Fixed a bug where having a kernel defined using unitless astropy
+quantity objects would result in a crash 
+* astropy.coordinates
+  > Fix concatenation of representations for cases where the units were 
different.
+  > Check for NaN values in catalog and match coordinates before building 
and
+querying the ``KDTree`` for coordinate matching.
+  > Fix sky coordinate matching when a dimensionless distance is provided.
+  > Raise a faster and more meaningful error message when differential 
data units
+are not compatible with a containing representation's units.
+  > Changed the timescale in ICRS to CIRS from 'tdb' to 'tt' conversion and
+vice-versa, as the erfa function that gets called in the process, 
pnm06a
+accepts time in TT.
+* astropy.io.ascii
+  > Fixed the fast reader when used in parallel and with the 
multiprocessing
+'spawn' method (which is the default on MacOS X with Python 3.8 and 
later),
+and enable parallel fast reader on Windows.
+* astropy.io.fits
+  > Fixes bug where an invalid TRPOS keyword was being generated for 
FITS
+time column when no location was available.
+  > Fixed a wrong exception when converting a Table with a unit that is 
not FITS
+compliant and not convertible to a string using ``format='fits'``.
+  > Fixed an issue with A3DTABLE extension that could not be read.
+  > Fixed the update of the header when creating GroupsHDU from data.
+* astropy.nddata
+  > Fix to ``add_array``, which now accepts ``array_small`` having 
dimensions
+equal to ``array_large``, instead of only allowing smaller sizes of
+arrays.
+* astropy.stats
+  > Fixed ``median_absolute_deviation`` for the case where 
``ignore_nan=True``
+and an input masked array contained both NaNs and infs.
+* astropy.table
+  > Comparisons between ``Column`` instances and ``Quantity`` will now
+correctly take into account the unit (as was already the case for
+regular operations such as addition).
+* astropy.time
+  > Allow ``Time`` to be initialized with an empty value for all formats.
+  > Fixed a troubling bug in which ``Time`` could loose precision, with 
deviations
+of 300 ns.
+* astropy.timeseries
+  > Fixed handling of ``Quantity`` input data for all methods of
+``LombScarge.false_alarm_probabilty``.
+* astropy.units
+  > Allow conversion of ``Column`` with logarithmic units to a suitable
+``Quantity`` subclass if ``subok=True``.
+  > Ensured that we simplify powers to smaller denominators if that is
+consistent within rounding precision.
+  > Ensured that the powers shown in a unit's repr are always correct,
+not oversimplified.
+* astropy.utils
+  > Fixed ``find_api_page`` access by using custom request headers and 
HTTPS
+when version is specified.
+  > Make ``download_file`` (and by extension ``get_readable_fileobj`` and 
others)
+check the size of downloaded files against the size claimed by the 
server.
+  > Fix ``find_current_module`` so that it works properly if astropy is 
being used
+inside a bundle such as that produced by PyInstaller.
+  > Fix path to renamed classes, which previously included duplicate 
path/module
+information under certain circumstances.
+* astropy.visualization
+  > Silence numpy runtime warnings in ``WCSAxes`` when drawing grids.
+* astropy.wcs
+  > Fixed equality test between ``cunit`` where the first element was 
equal but
+the following elements differed.
+  > Fixed a crash while loading a WCS from headers containing duplicate SIP
+keywords.
+  > F

commit python-astropy for openSUSE:Factory

2019-07-30 Thread root
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 
+
+- Add conflicts with perl-Data-ShowTable
+
+---
+Tue Jul 23 01:55:47 UTC 2019 - Todd R 
+
+- 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=...)``,

commit python-astropy for openSUSE:Factory

2019-04-12 Thread root
Hello community,

here is the log from the commit of package python-astropy for openSUSE:Factory 
checked in at 2019-04-12 09:16:05

Comparing /work/SRC/openSUSE:Factory/python-astropy (Old)
 and  /work/SRC/openSUSE:Factory/.python-astropy.new.27019 (New)


Package is "python-astropy"

Fri Apr 12 09:16:05 2019 rev:5 rq:693312 version:3.1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes
2019-01-21 10:47:44.568210713 +0100
+++ /work/SRC/openSUSE:Factory/.python-astropy.new.27019/python-astropy.changes 
2019-04-12 09:16:07.545740288 +0200
@@ -1,0 +2,22 @@
+Wed Mar 20 16:59:23 CET 2019 - Matej Cepl 
+
+- Update to 3.1.2, bug fixes
+- astropy.coordinates
+  Convert the default of QuantityAttribute, thereby catching
+  the error case case of it being set to None at attribute
+  creation, and giving a more useful error message in the
+  process. [#8300]
+- astropy.cosmology
+  Fix elliptic analytical solution for comoving distance.
+  Only relevant for non-flat cosmologies without radiation
+  and Om0 > Ode0. [#8391]
+- astropy.modeling
+  Fixed slowness for certain compound models consisting of
+  large numbers of multi-input models [#8338, #8349]
+- astropy.visualization.wcsaxes
+  Fix a bug that caused an error when passing an array with
+  all values the same to contour or contourf. [#8321]
+  Fix a bug that caused contour and contourf to return None
+  instead of the contour set. [#8321]
+
+---

Old:

  astropy-3.1.1.tar.gz

New:

  astropy-3.1.2.tar.gz



Other differences:
--
++ python-astropy.spec ++
--- /var/tmp/diff_new_pack.9iQIG0/_old  2019-04-12 09:16:08.681740976 +0200
+++ /var/tmp/diff_new_pack.9iQIG0/_new  2019-04-12 09:16:08.685740978 +0200
@@ -19,31 +19,48 @@
 %define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-astropy
-Version:3.1.1
+Version:3.1.2
 Release:0
 Summary:Community-developed python astronomy tools
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:http://astropy.org
+URL:http://astropy.org
 Source: 
https://files.pythonhosted.org/packages/source/a/astropy/astropy-%{version}.tar.gz
 # 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
 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 numpy-devel >= 1.7.0}
 BuildRequires:  %{python_module ply}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  hdf5-devel
 BuildRequires:  libxml2-tools
+BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(cfitsio)
 BuildRequires:  pkgconfig(erfa) >= 1.3.0
 BuildRequires:  pkgconfig(expat)
 BuildRequires:  pkgconfig(wcslib)
+Requires:   hdf5
+Requires:   liberfa1 >= 1.3.0
+Requires:   python-numpy >= 1.7.0
+Requires(post): update-alternatives
+Requires(preun): update-alternatives
+Recommends: libxml2-tools
+Recommends: python-Jinja2
+Recommends: python-PyYAML
+Recommends: python-beautifulsoup4
+Recommends: python-bleach
+Recommends: python-h5py
+Recommends: python-jplephem
+Recommends: python-matplotlib
+Recommends: python-pandas
+Recommends: python-scikit-image
+Recommends: python-scipy
 # SECTION Optional requirements
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module PyYAML}
@@ -64,23 +81,6 @@
 BuildRequires:  %{python_module pytest-openfiles}
 BuildRequires:  %{python_module pytest-remotedata}
 # /SECTION
-Requires:   hdf5
-Requires:   liberfa1 >= 1.3.0
-Requires:   python-numpy >= 1.7.0
-Recommends: python-Jinja2
-Recommends: python-PyYAML
-Recommends: python-bleach
-Recommends: python-beautifulsoup4
-Recommends: python-h5py
-Recommends: python-pandas
-Recommends: python-scipy
-Recommends: python-jplephem
-Recommends: python-matplotlib
-Recommends: libxml2-tools
-Recommends: python-scikit-image
-Requires(post): update-alternatives
-Requires(preun): update-alternatives
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %python_subpackages
 
 %description
@@ -146,7 +146,6 @@
 %python_uninstall_alternative fitscheck
 
 %files %{python_files}
-%defattr(-,root,root

commit python-astropy for openSUSE:Factory

2019-01-21 Thread root
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 
+
+- Use pytest-astropy since it is in Factory now.
+
+---
+Fri Jan  4 17:31:38 UTC 2019 - Todd R 
+
+- 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 mo

commit python-astropy for openSUSE:Factory

2018-01-09 Thread root
Hello community,

here is the log from the commit of package python-astropy for openSUSE:Factory 
checked in at 2018-01-09 14:56:21

Comparing /work/SRC/openSUSE:Factory/python-astropy (Old)
 and  /work/SRC/openSUSE:Factory/.python-astropy.new (New)


Package is "python-astropy"

Tue Jan  9 14:56:21 2018 rev:3 rq:562802 version:2.0.3

Changes:

--- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes
2017-12-15 14:07:11.599379822 +0100
+++ /work/SRC/openSUSE:Factory/.python-astropy.new/python-astropy.changes   
2018-01-09 14:56:23.418809668 +0100
@@ -1,0 +2,86 @@
+Fri Jan  5 09:01:00 UTC 2018 - alarr...@suse.com
+
+- Update to astropy 2.0.3
+  * Bugfixes:
+* astropy.coordinates
+  - Ecliptic frame classes now support attributes v_x, v_y, v_z when using
+with a Cartesian representation.
+  - Added a nicer error message when accidentally calling
+frame.representation instead of frame.data in the context of methods
+that use ._apply().
+  - Creating a new SkyCoord from a list of multiple SkyCoord objects now
+yield the correct type of frame, and works at all for non-equatorial
+frames.
+  - Improved accuracy of velocity calculation in
+EarthLocation.get_gcrs_posvel.
+  - Improved accuracy of radial velocity corrections in
+SkyCoord.radial_velocity_correction`.
+  - The precision of ecliptic frames is now much better, after removing the
+nutation from the rotation and fixing the computation of the position
+of the Sun.
+* astropy.extern
+  - Version 0.2.1 of pytest-astropy is included as an external package.
+* astropy.io.fits
+  - Fix writing the result of fitsdiff to file with --output-file.
+  - Fix a minor bug where FITS_rec instances can not be indexed with tuples
+and other sequences that end up with a scalar.
+* astropy.io.misc
+  - Fix ImportError when hdf5 is imported first in a fresh Python
+interpreter in Python 3.
+* astropy.nddata
+  - Suppress errors during WCS creation in CCDData.read().
+  - Fixed a problem with CCDData.read when the extension wasn't given and
+the primary HDU contained no data but another HDU did. In that case the
+header were not correctly combined.
+* astropy.stats
+  - Fixed an issue where the biweight statistics functions would sometimes
+cause runtime underflow/overflow errors for float32 input arrays.
+* astropy.table
+  - Fixed a problem when printing a table when a column is deleted and
+garbage-collected, and the format function caching mechanism happens to
+re-use the same cache key.
+  - Fixed a problem when comparing a unicode masked column (on left side)
+to a bytes masked column (on right side).
+  - Fixed a problem in comparing masked columns in bytes and unicode when
+the unicode had masked entries.
+* astropy.tests
+  - Fixed a bug that causes tests for rst files to not be run on certain
+platforms.
+  - Fixed a bug that caused the doctestplus plugin to not work nicely with
+the hypothesis package.
+  - Fixed a bug that meant that the data.astropy.org mirror could not be
+used when using --remote-data=astropy.
+  - Support compatibility with new pytest-astropy plugins.
+  - When testing, astropy (or the package being tested) is now installed to
+a temporary directory instead of copying the build. This allows entry
+points to work correctly.
+* astropy.time
+  - Initialization of Time instances now is consistent for all formats to
+ensure that -0.5 <= jd2 < 0.5.
+* astropy.units
+  - Ensure that Quantity slices can be set with objects that have a unit
+attribute (such as Column).
+* astropy.utils
+  - download_files_in_parallel now respects the given timeout value.
+  - Fixed bugs in remote data handling and also in IERS unit test related
+to path URL, and URI normalization on Windows.
+  - Fixed a bug that caused get_pkg_data_fileobj to not work correctly when
+used with non-local data from inside packages.
+  - Make sure get_pkg_data_fileobj fails if the URL can not be read, and
+correctly falls back on the mirror if necessary.
+  - Fix the finddiff option in find_current_module to properly deal with
+submodules.
+  - Fixed pyreadline import in utils.console.isatty for older IPython
+versions on Windows.
+* astropy.visualization
+  - Fixed the vertical orientation of the fits2bitmap output bitmap image
+to match that of the FITS image.
+  - Added a workaround for a bug in matplotlib so that the fits2bitmap
+script generates the correct output file type.
+  * Other Ch

commit python-astropy for openSUSE:Factory

2017-12-15 Thread root
Hello community,

here is the log from the commit of package python-astropy for openSUSE:Factory 
checked in at 2017-12-15 14:05:56

Comparing /work/SRC/openSUSE:Factory/python-astropy (Old)
 and  /work/SRC/openSUSE:Factory/.python-astropy.new (New)


Package is "python-astropy"

Fri Dec 15 14:05:56 2017 rev:2 rq:556922 version:2.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-astropy/python-astropy.changes
2017-08-24 18:29:03.966611812 +0200
+++ /work/SRC/openSUSE:Factory/.python-astropy.new/python-astropy.changes   
2017-12-15 14:07:11.599379822 +0100
@@ -1,0 +2,25 @@
+Thu Dec 14 09:47:18 UTC 2017 - alarr...@suse.com
+
+- Remove test bcond since it wasn't really used at all 
+
+---
+Mon Dec 11 15:34:36 UTC 2017 - alarr...@suse.com
+
+- Update to astropy 2.0.2 . Astropy 2.0 is a major release that adds
+  significant new functionality since the 1.3.x series of releases:
+  * New unit support for most models
+  * New image class CCDData added
+  * Experimental velocity support in astropy.coordinates
+  * New functionality in astropy.stats
+  * Easier use of efficient bytestring Table columns in Python 3
+  * New way to instantiate a BinTableHDU directly from a Table
+  * New printdiff convenience function for FITS
+  * New molar_mass_amu unit equivalency
+  * Store astropy core object types in ASCII ECSV table file
+  * Improvements to astropy.convolution
+  * No relativistic species by default in cosmological models
+  * Renamed/removed functionality
+  The full changelog can be read at
+  http://docs.astropy.org/en/stable/changelog.html .
+
+---

Old:

  astropy-1.3.2.tar.gz

New:

  astropy-2.0.2.tar.gz



Other differences:
--
++ python-astropy.spec ++
--- /var/tmp/diff_new_pack.IAn2FU/_old  2017-12-15 14:07:12.483337150 +0100
+++ /var/tmp/diff_new_pack.IAn2FU/_new  2017-12-15 14:07:12.487336957 +0100
@@ -16,11 +16,9 @@
 #
 
 
-%bcond_without test
-
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-astropy
-Version:1.3.2
+Version:2.0.2
 Release:0
 Summary:Community-developed python astronomy tools
 License:BSD-3-Clause
@@ -47,7 +45,6 @@
 BuildRequires:  pkgconfig(wcslib)
 # Documentation
 BuildRequires:  %{python_module Pillow}
-%if %{with test}
 # Optional requirements
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module PyYAML}
@@ -61,7 +58,6 @@
 # Test requirements
 BuildRequires:  %{python_module mpmath}
 BuildRequires:  %{python_module pytest}
-%endif
 Requires:   hdf5
 Requires:   liberfa1 >= 1.3.0
 Requires:   python-numpy >= 1.7.0

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