-
-
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
cygwin: Do not use system R #29486
Comments
This comment has been minimized.
This comment has been minimized.
comment:3
Did you try the updated rpy2 package from #29441? |
comment:4
I haven't because this upgrade cannot be used for the 9.1 release cycle; but you can by using the testing infrastructure ticket #29403 |
comment:6
Still a problem. I'm trying now whether an update to 2.8.6 (last py2-compatible release) helps |
comment:7
Same with 2.8.6 |
comment:8
Trying #29441 now |
comment:9
OK, rpy2 3.2.7 from #29441 installs OK on Cygwin. |
This comment has been minimized.
This comment has been minimized.
Commit: |
New commits:
|
Author: Matthias Koeppe |
comment:15
We can't use #29441 because the new version is py3 only. |
comment:16
This leads to a policy question: does this failure on Cygwin mean that people on OS X, linux, etc., are deprived of having a Sage installation of R? (Does anyone download a Sage binary expecting to get a functioning installation of R?) Actually, why should R be optional; shouldn't it just be rpy2? |
comment:17
Yes, we could just make rpy2 optional, that would be fine with me. I don't really know if we have any users of R and of rpy2. |
comment:18
And unfortunately nobody responded to my message on sage-devel last month |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:21
OK, how about this version |
comment:22
Users of SageMathCell certainly do care about having R available and Sage interface to it functional (which, I believe, is based on rpy2 now). It also seemed to me that 9.1 does not have to support Python2, am I wrong on this? |
comment:23
Replying to @novoselt:
You can still choose to install it, like any other optional package
9.1 still supports Python 2 - see https://wiki.sagemath.org/ReleaseTours/sage-9.1 |
comment:24
Replying to @mkoeppe:
My point was however that users care about it. If they care about it in the context of SageMathCell, it is feasible that they care in other cases as well... |
comment:25
They can install it, and also nothing would stop our binary distributions from installing it, like any other optional packages |
comment:26
There is barely any integration of R into Sage. There's |
comment:27
Replying to @mkoeppe:
Um, I think dropping Python 2 support would be less noticeable than dropping R installation anywhere. |
comment:28
We can drop support now and then reinstate once #29441 is ready (and we've made the transition to Python 3 only). Or we can keep the support now and have a broken build on Cygwin. Are those the two choices? The ticket description is vague: if we build Sage's R with Cygwin, does everything work; that is, is it only a problem of the system R on Cygwin? |
comment:29
Replying to @jhpalmieri:
Yes.
This should be checked. If it works with R from the sage spkg, then disabling use of the system package would be a 3rd option, probably the best one. |
comment:32
Suddenly dropping R/rpy2 fells rough. However, we don't have usage data to know how rough it would be. I'd prefer the third option if it proves workable. Otherwise is it possible to have it optional so that it doesn't build on cygwin but build elsewhere? |
comment:33
Replying to @mkoeppe:
It seems that this would work, but I have to check more |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:36
OK, new approach |
comment:37
Thank you for figuring it out! |
comment:38
OK, this works on non-Cygwin. Now to test on Cygwin... |
comment:39
Cygwin tests on https://github.com/dimpase/sage/actions/runs/83451150 |
Reviewer: Dima Pasechnik |
comment:41
OK, this works |
comment:42
Great, I'm very happy with this alternate approach! |
comment:43
Thanks! |
Changed branch from u/mkoeppe/downgrade_r__rpy2_to__optional__because_rpy2_fails_to_build_on_cygwin_standard to |
For package
rpy2
(versions 2.8.x) there is an unresolved build failure on cygwin when using system R (cygwin-standard
).This can be seen on the GitHub Actions workflow from #29403 but has also been reproduced locally. Details below.
This ticket disables use of system R on cygwin. This should be reverted with the #29441 upgrade to more recent
rpy2
(python-3 only).Full logs can be downloaded at:
The sage-local artifact that has been built can be downloaded at
Previous tickets: https://trac.sagemath.org/search?q=rpy2+cygwin&noquickjump=1&branch=on&milestone=on&ticket=on&wiki=on
CC: @EmmanuelCharpentier @videlec @tscrim @jpflori @embray @vbraun @dimpase @jhpalmieri @darijgr @kiwifb
Component: porting: Cygwin
Author: Matthias Koeppe
Branch/Commit:
032eb86
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/29486
The text was updated successfully, but these errors were encountered: