1
0

Accepting request 903959 from home:bnavigator:branches:devel:languages:python:numeric

- Replace astropy-pr11260-wcsfailures.patch with
  astropy-pr11260+pr11549-wcs76.patch
  * fixes test failures because of the recent Tumbleweed update to
    wcslib 7.6
  * include binary test file tab-time-last-axis.fits from
    gh#astropy/astropy#11549, which does not fit into the patchfile

OBS-URL: https://build.opensuse.org/request/show/903959
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=55
This commit is contained in:
Benjamin Greiner 2021-07-04 14:22:22 +00:00 committed by Git OBS Bridge
parent 51357541de
commit 5a1bf286e8
5 changed files with 10987 additions and 3993 deletions

2
.gitattributes vendored
View File

@ -21,3 +21,5 @@
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
tab-time-last-axis.fits filter=lfs diff=lfs merge=lfs -text

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Jul 4 13:26:14 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Replace astropy-pr11260-wcsfailures.patch with
astropy-pr11260+pr11549-wcs76.patch
* fixes test failures because of the recent Tumbleweed update to
wcslib 7.6
* include binary test file tab-time-last-axis.fits from
gh#astropy/astropy#11549, which does not fit into the patchfile
-------------------------------------------------------------------
Sat Apr 17 15:30:57 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -1,5 +1,5 @@
#
# spec file for package python-astropy-test
# spec file
#
# Copyright (c) 2021 SUSE LLC
#
@ -52,11 +52,13 @@ URL: https://astropy.org
Source: https://files.pythonhosted.org/packages/source/a/astropy/astropy-%{version}.tar.gz
# belongs to Patch1 -- gh/astropy/astropy#11260
Source1: https://github.com/dhomeier/astropy/raw/wcs-distortion-headers/astropy/wcs/tests/data/dss.14.29.56-62.41.05.fits.gz
# belongs to Patch1 -- gh/astropy/astropy#11549
Source2: https://github.com/mcara/astropy/raw/wcslib7p6/astropy/wcs/tests/data/tab-time-last-axis.fits
# Mark wcs headers as false positives for devel-file-in-non-devel-package
# These are used by the python files so they must be available.
Source100: python-astropy-rpmlintrc
# PATCH-FIX-UPSTREAM astropy-pr11260-wcsfailures.patch -- gh/astropy/astropy#11260
Patch1: astropy-pr11260-wcsfailures.patch
# PATCH-FIX-UPSTREAM astropy-pr11260+pr11549-wcs76.patch -- gh/astropy/astropy#11260 + gh/astropy/astropy#11549
Patch1: astropy-pr11260+pr11549-wcs76.patch
# https://docs.astropy.org/en/v4.1/install.html#requirements
BuildRequires: %{python_module Cython >= 0.21}
BuildRequires: %{python_module Jinja2}
@ -137,7 +139,7 @@ managing them.
%prep
%autosetup -p1 -n astropy-%{version}
cp %{SOURCE1} astropy/wcs/tests/data/
cp %{SOURCE1} %{SOURCE2} astropy/wcs/tests/data/
%if %{with systemlibs}
# Make sure bundled libs are not used

3
tab-time-last-axis.fits Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2913b3cc917dcec8f9566c20b06acdfa610acca2087578d2097f69f6d710561
size 14400