Comments (4)
It isn't immediately clear to me that we'd want to bend over backwards to support a super-new gcc
version in these kinds of scenarios. Usually the idea is to have the default isolated-build of a wheel via pip
occur via a "maximally-compatible" set of dependencies, rather than trying to support bleeding edge.
If you have a special need to do this, and even if you're working on a Linux distribution, I'm pretty sure our standard recommendation is to just turn off build isolation and then you can use whatever deps you want to build a wheel (at your own peril, of course); i.e., pip install . --no-build-isolation
https://scipy.github.io/devdocs/dev/toolchain.html may also have some useful info.
For an even deeper dive, re: pyproject.toml
handling external deps like compiler versions, see the PEP that Ralf co-wrote: https://peps.python.org/pep-0725/#version-specifiers-for-purls
We've had other issues a bit like this that turned into long debates with Linux package distributors..
from scipy.
That said, we do have the option to sidestep a lot of this stuff because of: https://numpy.org/doc/stable/release/1.25.0-notes.html#compiling-against-the-numpy-c-api-is-now-backwards-compatible-by-default
Although, I don't think we will necessarily push for that in 1.12.0
; currently has the older-style NumPy version pins.
from scipy.
i.e.,
pip install . --no-build-isolation
Indeed, that's the straightforward workaround for now.
Although, I don't think we will necessarily push for that in
1.12.0
; currently has the older-style NumPy version pins.
Yes, I think we should do this for 1.13.0, which should arrive in February or so (with NumPy 2.0 compat). That will structurally solve this type of problem.
I'll close this issue, because there is nothing to be done right now, and turning off build isolation is the answer for now.
from scipy.
Well, that's definitely a more painful way of doing it, but probably doable. I'm trying to build a mirror with pypi-mirror and it's a lot easier to just say "give me scipy" then it is to say "give me scipy", figure out the right dependencies and say "get ... too".
Anyway, my workaround was to just update python and then it pulled in the right version anyway. Not sure what you mean by "maximally-compatible" as you're using it with python3.12, but w/e, I've got my workaround and I'm moving on.
from scipy.
Related Issues (20)
- ENH: constants: Add Muon Gyromagnetic ratio HOT 3
- BUG: special.spherical_in: derivative at `z=0, n=1` incorrect HOT 4
- BUG: build issue on Ubuntu 22.04 HOT 9
- DOC: Clarify behavior of `sparse.csgraph.dijkstra` for `directed=False`
- BUG: `eigh` fails for size 1 array with driver=evd HOT 1
- BUG: Empty CSR Matrix has multiple indptr instead of 1 HOT 3
- CI/BLD: Nightly wheel builds failing for macOS x86_64 HOT 2
- BUG: special: elliptic integral incorrectly gives `nan` HOT 3
- BUG: warning from `optimize.least_squares` for astropy with OpenBLAS 0.3.26-dev HOT 32
- BUG: spatial: `Rotation.apply` is slow - replace `np.einsum` with `@`?
- BUG: generate_f2py mod is called by the wrong interpreter HOT 6
- BUG: pytest scipy/linalg/tests/test_extending.py fails with Cython file compilation error HOT 10
- ENH: stats: add array API-support
- DOC/DEV: clearly document which code has an active upstream repo HOT 3
- DOC/DEV/MAINT: review distributing section of core-dev guide
- ENH: integrate: cumulative_simpson can support complex dtypes with small change HOT 4
- BUG: spatial: error in `Rotation.align_vectors()` with an infinite weight HOT 1
- MAINT, TST: few test failures noted on precursor Grace Hopper chip HOT 1
- ENH: faster chebyshev distance with ndarray.max HOT 2
- BUG: Invalid default bracket selection in _bracket_minimum.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scipy.