-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Make it possible to disable build of r, rpy2 using ./configure --disable-r #31409
Comments
comment:1
Again we have a problem with (More problems with R are around the corner, for wheel builds of Sage - #31396.) This justifies another round of discussion for the proposal to downgrade the In #29170, @novoselt pointed out that supporting R is important for SageMathCell; and @kiwifb mentioned that "Suddenly dropping R/rpy2 feels rough. However, we don't have usage data to know how rough it would be." I think that we do need a bit of substantiation here given to make the case of keeping R supported as a standard package - and its cost of maintenance. Note that our R is also nontrivially patched and an update to the 4.x series is overdue, and nobody has stepped up to do this upgrade. |
comment:2
Maybe this is asking for a new type of package: standard on some platforms, optional on others. I have been "using" the system's R for a while now ("using" mean that Sage doesn't build it, not that I actually use it for anything). Can we distribute binaries that will use a system R installation? (Maybe this is a bad question, because at least on OS X, can we distribute functioning binaries in the first place?) |
Commit: |
comment:4
rpy2 3.4.x has wheels for macOS - https://pypi.org/project/rpy2/#files We should find out with what installation of R these wheels are supposed to work - hopefully R's official binary packages that are on CRAN - see https://mirror.las.iastate.edu/CRAN/ New commits:
|
comment:5
Replying to @jhpalmieri:
Binaries have been broken for a long time. I would be in favor of just following Dima's current practice of directing people to just use conda. |
Author: Matthias Koeppe |
comment:7
I am fine with that. But at the very least most of the doctests in |
comment:8
|
comment:9
There are two doctests in Tests for That's all that I can see and think of right now. |
comment:10
Instead of adding an optional tag to all doctests in these files, perhaps we should go through #30778. |
comment:11
Yes, that would be the right way to go. In the spirit of splitting, r interface stuff should be splitted in its own package eventually. I guess it is now tagged "early candidate". |
comment:12
I have reduced #30778 to a more modest version that just handles "optional" tags as file directives instead of using "sage_setup: distribution" tags. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:17
Because #30778 appears to be controversial, for the present ticket I have just added the line by line optional tags. Ready for review. |
Branch pushed to git repo; I updated commit sha1. Last 10 new commits:
|
This comment has been minimized.
This comment has been minimized.
comment:87
There seems to be a simpler bug here that I don't think is addressed yet by any of your fixes. I didn't know there was now an |
comment:88
Replying to @embray:
The simple bug was -- as you correctly suspected -- in my CI script. The testing is done through tox, which does not pass through environment variables (except for those explicitly configured to be passed through). |
comment:90
Replying to @embray:
This was done in #30375. Both |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:92
Replying to @mkoeppe:
Still, it used to be possible to set it when running |
comment:93
Replying to @embray:
I think the reasoning is that -- in contrast to |
comment:94
The present ticket needs review - it would be nice to get this into 9.3 |
comment:95
|
comment:96
Although I see |
comment:97
I think it's common practice to only show one of For our optional packages, I think we decided to list both because of the perhaps unusual semantics of |
comment:98
Replying to @mkoeppe:
And... of course because our default for optional depends on whether the package is already installed. And this information is not known at bootstrap time (when the help text is put together), only at configure time. |
Changed reviewer from François Bissey to François Bissey, John Palmieri |
comment:99
Okay, that makes sense. It works as advertised, so let's merge it. |
comment:100
Thanks! |
comment:101
Setting priority to blocker to bring this ticket to the attention of the release bot. |
Changed branch from u/mkoeppe/cygwin_standard__r_build_fails_____downgrade_r__rpy2_to_optional to |
Prompted by a build failure of
r
oncygwin-standard
in https://github.com/mkoeppe/sage/runs/1915093157we make it possible to disable R using a configure options so that one can get a working Sage installation in this way.
(The original build failure has hopefully resolved been resolved by #29537.)
Previous tickets and discussions:
Depends on #29537
Depends on #30383
CC: @embray @dimpase @orlitzky @jhpalmieri @kiwifb @novoselt @EmmanuelCharpentier @videlec @kliem
Component: porting: Cygwin
Author: Matthias Koeppe
Branch/Commit:
f04c134
Reviewer: François Bissey, John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/31409
The text was updated successfully, but these errors were encountered: