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
upgrade sagenb and build sagenb in sage/python3 #22431
Comments
This comment has been minimized.
This comment has been minimized.
comment:3
Given that sagenb is essentially a dead project, I don't think that it will ever be Python3 compliant. |
comment:4
I did a lot of work on python3 compliance of sagenb since the last release. At least this should prevent the build to stop on syntax errors. |
comment:5
IMHO one does not need supernatural resurrection powers to port a dead python2 project of sagenb size to python3---given that all of its python components are python3 compatible (which was not true for Twisted until a couple of years back). |
comment:6
The update of sagenb is probably dependent of #20922. |
comment:8
can we hope to make a (maybe last) release of the legacy notebook ? |
comment:9
At the least sagemath/sagenb#416 and your own sagemath/sagenb#423 would need to be merged first, right? I don't really see any reason to not keep the legacy notebook around for quite some time, granting that it will not receive much attention. We just got a support request from someone using Sage 4.6 (!) who really didn't want to upgrade; this is positively new compared to that. But I definitely agree that whatever the absolute minimum needed to get sagenb to work minimally with python3 is fine. |
comment:10
sagemath/sagenb#423 should now be ready |
comment:11
Would it be possible to make a new release of sagenb, please ? |
comment:12
Replying to @fchapoton:
I'll try. |
comment:13
Please test https://github.com/sagemath/sagenb/tree/1.0.rc0 Report issues on github, please |
comment:14
the new sagenb is on #23066 and needs review. |
comment:16
Replying to @kcrisman:
Given that Sage does not run with Python 3 yet, it's a bit early to say, no? Probably not really, for it does work without #20922 - I don't get doctest failures mentoined in comment 4 on #20922.
I also do not see any mention of |
comment:17
Haha, I thought we were closer to that now. No worries, just checking in. |
This comment has been minimized.
This comment has been minimized.
comment:19
see also sagemath/sagenb#440
|
comment:20
We should also get rid of the sagenb documentation building, which does not work in the python3 sage.. See |
comment:21
see #25382 |
comment:22
What is the current status of this ticket (as opposed to the documentation build)? I thought at least some of these issues were dealt with. If it's just the graph functionality those can certainly be disabled, as I don't think they have worked properly for some time. If it's certain dependencies that is required for py3 that is somewhat different. |
comment:23
trying to install sagenb, one gets
because it is looking for sageNB data in the python2 library.. |
comment:24
Dima, could you please make a new release of sagenb ? Currently (apart from the mathjax issue above in spkg-install) sagenb 1.0.1 installs with sage3, but fails to run because of
which has been fixed after the release of 1.0.1 |
comment:43
ping ? |
comment:44
I can try building the latest beta with python3,what should I pull in, besides the branch on this ticket? |
comment:45
Nothing else to pull, the develop branch itself build fine with python3. |
comment:46
and how do I start sagenb so that the underlying python is python 3? |
comment:47
Well, just We only need to make sure that sage3 builds and starts with the branch here. We also need to make sure that for sage2, the upgrade of sagenb does not break something inside the notebook. |
comment:48
I propose to rename this ticket to "upgrade sagenb and build sagenb in sage/python3" and keep for another ticket the goal of being able to run sagenb in sage/python3 |
comment:49
I was going to try this today on py2 to test the notebook but had some troubles upgrading Sage, see sage-devel. |
comment:50
With python3 sage, I get
|
comment:51
Thanks Dima. It seems that you got a hard time doing that.. Failing is as expected. Maybe this specific issue is already fixed by the pull request done after you made the release. But this is not so important : let us keep that for another ticket. Do you confirm that sage3 builds and starts with the branch here ? I think I did check that also. So it seems to be good to go from this point of view. So now, there only remains to see if the branch here is not going to break anything in the sage2 sagenb. |
comment:52
I have just checked again with sage3 release 8.3.b4 that sage3 builds and starts. |
comment:53
also, for me with beta4. You can give it a positive review, I think. |
This comment has been minimized.
This comment has been minimized.
Reviewer: Frédéric Chapoton, Dima Pasechnik |
comment:54
ok, let it be. I change the title and description to be more adequate to what is done here. |
Changed branch from public/ticket/22431 to |
comment:56
As a followup, in 8.3.beta6 I am having some troubles - see this post for details. I am pretty sure this isn't due to some stale process. |
Changed commit from |
comment:58
Yes, or at least with |
comment:59
could you try when undoing #25548 ? |
comment:60
You are oracular. It would be interesting to trace where exactly |
comment:61
Maybe I wasn't clear; that fixes it. Shouldn't we have a blocker for 8.3 that includes that? |
comment:62
I can only say that the description of the issue you give it too vague. |
comment:63
Ok; see #25667. |
sagenb is not compatible with python3, at least in the current version 1.0.1
The latest release 1.0.2 is certainly slightly better in this respect, but maybe still not fully py3 compliant.
Let us do the upgrade to 1.0.2. We also re-activate the build of sagenb in sagePy3, to help building the doc of sagePy3.
Side remark: to cut the ties between sagenb and sage, we need to get rid:
tarball with sagenb update: https://github.com/sagemath/sagenb/releases/download/1.0.2/sagenb-1.0.2.tar.bz2
CC: @dimpase @vbraun @jdemeyer @kcrisman @embray
Component: python3
Author: Dima Pasechnik
Branch:
ef854c1
Reviewer: Frédéric Chapoton, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/22431
The text was updated successfully, but these errors were encountered: