From c2c5dba69ccaea90db09602022233a61c70c2f9f1f69e17806bddd546b791f5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 18 Aug 2021 16:02:27 +0000 Subject: [PATCH] Accepting request 912896 from home:badshah400:branches:devel:languages:python:numeric * Update to version 1.15.0. * New BuildRequires: python-Cython. * Drop python-healpy-drop-pytest-runner.patch: Upstream no longer requires pytest-runner for its tests. OBS-URL: https://build.opensuse.org/request/show/912896 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-healpy?expand=0&rev=7 --- healpy-1.14.0.tar.gz | 3 -- healpy-1.15.0.tar.gz | 3 ++ python-healpy-drop-pytest-runner.patch | 13 -------- python-healpy.changes | 46 ++++++++++++++++++++++++++ python-healpy.spec | 10 +++--- 5 files changed, 53 insertions(+), 22 deletions(-) delete mode 100644 healpy-1.14.0.tar.gz create mode 100644 healpy-1.15.0.tar.gz delete mode 100644 python-healpy-drop-pytest-runner.patch diff --git a/healpy-1.14.0.tar.gz b/healpy-1.14.0.tar.gz deleted file mode 100644 index 8fd125d..0000000 --- a/healpy-1.14.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2720b5f96c314bdfdd20b6ffc0643ac8091faefcf8fd20a4083cedff85a66c5e -size 4802425 diff --git a/healpy-1.15.0.tar.gz b/healpy-1.15.0.tar.gz new file mode 100644 index 0000000..f96a2ac --- /dev/null +++ b/healpy-1.15.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e09300a9f24e40b07f09ca7a7026d640a0478960b6ca6a5fc85052c0bb4335bf +size 4434119 diff --git a/python-healpy-drop-pytest-runner.patch b/python-healpy-drop-pytest-runner.patch deleted file mode 100644 index a2f8edd..0000000 --- a/python-healpy-drop-pytest-runner.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: healpy-1.14.0/setup.py -=================================================================== ---- healpy-1.14.0.orig/setup.py -+++ healpy-1.14.0/setup.py -@@ -480,7 +480,7 @@ setup( - ] - }, - install_requires=["matplotlib", "numpy>=1.13", "six", "astropy", "scipy"], -- setup_requires=["pytest-runner", "six"], -+ setup_requires=["six"], - tests_require=["pytest", "pytest-cython", "pytest-doctestplus"], - test_suite="healpy", - license="GPLv2", diff --git a/python-healpy.changes b/python-healpy.changes index 3895f87..841aed8 100644 --- a/python-healpy.changes +++ b/python-healpy.changes @@ -1,3 +1,49 @@ +------------------------------------------------------------------- +Wed Aug 18 12:35:01 UTC 2021 - Atri Bhattacharya + +- Update to version 1.15.0: + * Write_map keeps dtype of input map array instead of float32 + (gh#healpy/healpy#688). + * Read_map keeps dtype of FITS file instead of upcasting to + float64 (gh#healpy/healpy#688). + * Write_cl uses dtype of input cl instead of float64 + (gh#healpy/healpy#688). + * Changed all warnings to using the logging module, deprecated + all verbose keywords (gh#healpy/healpy#693). + * Experimental projview function to plot maps using projections + from matplotlib (gh#healpy/healpy#695). + * Flip sign for spin-0 alm2map_spin and map2alm_spin + (gh#healpy/healpy#707). + * Support transparency in plotting with the alpha parameter + (gh#healpy/healpy#696). + * Removed the note that we will change order of cl in synfast + and synalm, we will leave new=False default + (gh#healpy/healpy#687). + * Added convenice functions order2npix and npix2order + (gh#healpy/healpy#685). + * Support nested maps hp.smoothing (gh#healpy/healpy#678). + * Improvements of the build system (gh#healpy/healpy#660). + * Automatically build wheels for Linux/MacOS on Github actions + (gh#healpy/healpy#656). + * Drop support for Python 2.7-3.5 (gh#healpy/healpy#658). + * Allow OBJECT FITS header not to be a string + (gh#healpy/healpy#665). + * Fixed indexing issue in bl2beam (gh#healpy/healpy#667). + * Fixed map2alm_spin bug for masked input + (gh#healpy/healpy#651). + * Minor bugfixes: + - Accept None for cls in synalm (gh#healpy/healpy#711) + - Get nside from length of array in read_map + (gh#healpy/healpy#710). + - Fix spin 0 transforms in alm2map_spin + (gh#healpy/healpy#708). + - Raise exception for rotate_alm with complex64 inputs + (gh#healpy/healpy#704). + - Replace deprecated numpy aliases (gh#healpy/healpy#698). +- New BuildRequires: python-Cython. +- Drop python-healpy-drop-pytest-runner.patch: Upstream no longer + requires pytest-runner for its tests. + ------------------------------------------------------------------- Thu Jan 21 15:32:02 UTC 2021 - Benjamin Greiner diff --git a/python-healpy.spec b/python-healpy.spec index bf0dcbc..603fd54 100644 --- a/python-healpy.spec +++ b/python-healpy.spec @@ -1,7 +1,7 @@ # # spec file for package python-healpy # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,14 +20,13 @@ %define skip_python2 1 %define skip_python36 1 Name: python-healpy -Version: 1.14.0 +Version: 1.15.0 Release: 0 Summary: Python library to handle pixelated data on the sphere based on HEALPix License: GPL-2.0-only URL: https://github.com/healpy/healpy Source: https://files.pythonhosted.org/packages/source/h/healpy/healpy-%{version}.tar.gz -# PATCH-FEATURE-OPENSUSE python-healpy-drop-pytest-runner.patch gh#healpy/healpy#649 badshah400@gmail.com -- Drop pytest-runner requirement for install: not required -Patch0: python-healpy-drop-pytest-runner.patch +BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel >= 1.13} BuildRequires: %{python_module setuptools} @@ -45,7 +44,7 @@ Requires: python-numpy >= 1.13 Requires: python-scipy Requires: python-six Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives # SECTION Additional test requirements # Symbol clashes with astropy < 4.0 BuildRequires: %{python_module astropy >= 4.0} @@ -84,7 +83,6 @@ export CFLAGS="%{optflags}" %python_install %python_clone -a %{buildroot}%{_bindir}/healpy_get_wmap_maps.sh %python_expand %fdupes %{buildroot}%{$python_sitearch} - %check # Skip tests requiring network access