New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --with-python=3 configure flag to replace SAGE_PYTHON3=yes #24729
Comments
Commit: |
New commits:
|
comment:4
+1 Been meaning to do the same for a while (actually already did once in an old branch that I abandoned). Though as written this will obviously conflict with #21524. |
comment:5
what is the advantage ? |
comment:6
Replying to @fchapoton:
First of all, it's a more standard way to configure things. But one real advantage is that you only need to set this once when running |
comment:7
ok. Great. Stupid question maybe: in
should there be |
comment:8
Replying to @fchapoton:
That's not needed in shell scripts. |
comment:9
When I see a configure option |
comment:10
That's a fair comment. Let me just say that I chose the option analogous to |
comment:11
Actually, this shouldn't be a I don't like Are you willing to give positive review if I change the option to |
comment:13
No, I would say that And a help string can make clear that two options are mutually exclusive (as well as signalling an error if both are provided.) |
comment:14
Replying to @mkoeppe:
Huh? Maybe you are confusing Sage-the-library with Sage-the-distribution. I would argue that Apart from this, there is also the unrelated Python-used-by-the-build-system which is a dependency. In fact, that is what we should use the |
comment:15
Replying to @jdemeyer:
Hm, well, I thought you might say that. But the configuration of sage-the-distribution does also affect sagelib (configuration is somehow passed through); it does not just make one or the other version of python available for sagelib to find. Also, in light of various efforts to use system packages when available I could imagine that one day sage-the-distribution could skip installing its copy of Python and then
For that one I would suggest something like |
comment:16
OK, I see your point of using |
comment:17
First of all, I'd say Not sure if the following will make sense, but perhaps a difference to BLAS is that Python exists as an executable. So But obviously all of this is not exact science; so I don't insist. |
comment:18
I like |
comment:19
Not an expert at all on this kind of things, but I agree with |
comment:20
Replying to @mkoeppe:
I mainly used |
comment:21
Given that nobody really objects, is somebody willing to give positive review? |
comment:23
Unless mkoeppe still objects, +1 from me. I will just make this a dependency of #21524 (even though it came first, I don't mind). |
Reviewer: Erik Bray |
comment:25
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:27
Right, let's play the make-this-work-without-patching-configure game again :-) |
comment:29
shouldn't we fix the scipy print also, in passing ? |
comment:30
Replying to @fchapoton:
See #24766 for that. |
Changed branch from u/jdemeyer/add___with_python_3_configure_flag_to_replace_sage_python3_yes to |
Changed commit from |
comment:33
Well.. On 8.2.b7 I get
|
comment:34
Try running |
CC: @embray @fchapoton @mkoeppe
Component: build: configure
Author: Jeroen Demeyer
Branch:
8af9c37
Reviewer: Erik Bray
Issue created by migration from https://trac.sagemath.org/ticket/24729
The text was updated successfully, but these errors were encountered: