py-scipy: re-apply scipy/scipy#14935 workaround (#39555)
* re-apply scipy/scipy#14935 workaround * restrict to %intel and eliminate Version() check --------- Co-authored-by: Daryl W. Grunau <dwg@lanl.gov>
This commit is contained in:
		| @@ -193,8 +193,7 @@ def setup_build_environment(self, env): | |||||||
|                 env.set("NPY_DISTUTILS_APPEND_FLAGS", "1") |                 env.set("NPY_DISTUTILS_APPEND_FLAGS", "1") | ||||||
| 
 | 
 | ||||||
|         # https://github.com/scipy/scipy/issues/14935 |         # https://github.com/scipy/scipy/issues/14935 | ||||||
|         if self.spec.satisfies("%intel ^py-pythran") or self.spec.satisfies("%oneapi ^py-pythran"): |         if self.spec.satisfies("%intel ^py-pythran"): | ||||||
|             if self.spec["py-pythran"].version < Version("0.12"): |  | ||||||
|             env.set("SCIPY_USE_PYTHRAN", "0") |             env.set("SCIPY_USE_PYTHRAN", "0") | ||||||
| 
 | 
 | ||||||
|         # Pick up BLAS/LAPACK from numpy |         # Pick up BLAS/LAPACK from numpy | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Daryl W. Grunau
					Daryl W. Grunau