Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
devel:languages:python:backports
python-healpy
python-healpy-scipy-1_14-compat.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-healpy-scipy-1_14-compat.patch of Package python-healpy
--- healpy/sphtfunc.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Index: healpy-1.16.6/healpy/sphtfunc.py =================================================================== --- healpy-1.16.6.orig/healpy/sphtfunc.py +++ healpy-1.16.6/healpy/sphtfunc.py @@ -24,7 +24,10 @@ import numpy as np import astropy.io.fits as pf from .utils.deprecation import deprecated_renamed_argument -from scipy.integrate import trapz +try: + from scipy.integrate import trapezoid as trapz +except ImportError: + from scipy.integrate import trapz from astropy.utils import data DATAURL = "https://healpy.github.io/healpy-data/"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor