Closed e14f4152-4982-4ace-8c95-73a0599b109b closed 14 years ago
Author: Mitesh Patel
Description changed:
---
+++
@@ -1 +1,6 @@
-New spkg.
+The new spkg is at
+
+* http://boxen.math.washington.edu/home/mpatel/trac/8051/sagenb-0.7.spkg
+
+Merged tickets: #7249, #7962, #7969, #3154, #3083, #6182, #5263, #7631, #6353, #7207, #8000, #4450, #7848, #7963, #7752, #7996, #6475, #5675, #7435, #3844, #6368, #7434
+
If it's possible, I'd like to get into 0.7.1 as many of the now remaining "needs review" tickets as we can. I'm rebasing these now.
Replying to @qed777:
If it's possible, I'd like to get into 0.7.1 as many of the now remaining "needs review" tickets as we can. I'm rebasing these now.
Here's a possible queue:
trac_7784-hgignore_update.patch
trac_5712-interrupt-notification.5.patch
trac_6069-missing_pub_ws.2.patch
trac_8038-email_plus_addressing_v2.patch
trac_7506-notebook_object-documentation.2.patch
trac_693-spawn_notebook.3.patch
trac_5177-delete-cell-dirs.3.patch
Blockedby: 7249
Changed blockedby from 7249 to none
Description changed:
---
+++
@@ -1,6 +1,8 @@
The new spkg is at
-* http://boxen.math.washington.edu/home/mpatel/trac/8051/sagenb-0.7.spkg
+* http://boxen.math.washington.edu/home/mpatel/trac/8051/sagenb-0.7.1.spkg
-Merged tickets: #7249, #7962, #7969, #3154, #3083, #6182, #5263, #7631, #6353, #7207, #8000, #4450, #7848, #7963, #7752, #7996, #6475, #5675, #7435, #3844, #6368, #7434
+Merged in 0.7: #7249, #7962, #7969, #3154, #3083, #6182, #5263, #7631, #6353, #7207, #8000, #4450, #7848, #7963, #7752, #7996, #6475, #5675, #7435, #3844, #6368, #7434.
+Merged in 0.7.1: #8103.
+
Description changed:
---
+++
@@ -6,3 +6,4 @@
Merged in 0.7.1: #8103.
+**Note:** Please first review #3083's "notruncate" patch.
I just noticed that long 'eval'
docstrings are truncated. I'll add a reviewer patch to #3083.
Description changed:
---
+++
@@ -1,9 +1,9 @@
The new spkg is at
-* http://boxen.math.washington.edu/home/mpatel/trac/8051/sagenb-0.7.1.spkg
+* [http://boxen.math.washington.edu/home/mpatel/trac/8051/sagenb-0.7.2.spkg](http://boxen.math.washington.edu/home/mpatel/trac/8051/sagenb-0.7.1.spkg)
Merged in 0.7: #7249, #7962, #7969, #3154, #3083, #6182, #5263, #7631, #6353, #7207, #8000, #4450, #7848, #7963, #7752, #7996, #6475, #5675, #7435, #3844, #6368, #7434.
Merged in 0.7.1: #8103.
-**Note:** Please first review #3083's "notruncate" patch.
+Merged in 0.7.2: #3083's "notruncate" patch.
All tickets got positive review and have been merged. So what should be reviewed in this ticket?
I installed the spkg, seems to work fine (but I did not test everything), is this enough to give positive review?
btw: the link from description "says" http://boxen.math.washington.edu/home/mpatel/trac/8051/sagenb-0.7.2.spkg but it points to http://boxen.math.washington.edu/home/mpatel/trac/8051/sagenb-0.7.1.spkg
Replying to @robert-marik:
All tickets got positive review and have been merged. So what should be reviewed in this ticket?
You need to make sure that you can successfully install the updated spkg.
I installed the spkg, seems to work fine (but I did not test everything), is this enough to give positive review?
I would say, all doctests must pass as well. In any case, if you can't run all doctests after installing the updated spkg, I can do that. A correct link to the updated spkg is
http://boxen.math.washington.edu/home/mpatel/trac/8051/sagenb-0.7.2.spkg
I don't understand why the spkg is not managed by Mercurial:
[mvngu@mod sagenb-0.7.2]$ hg st
abort: There is no Mercurial repository here (.hg not found)!
The file spkg-install
should have its executable bits on:
[mvngu@mod sagenb-0.7.2]$ ls -g spkg-install
-rw-r--r-- 1 mvngu 348 2010-01-30 16:37 spkg-install
And SPKG.txt
is very sketchy about update details.
I suggest
hg log
.sage -t -sagenb
.Ideally, you should run the SageNB Selenium tests, too. But they require special extra setup. I'll make simplifying that setup a separate ticket.
Thanks for pointing out the link error. I've updated it.
The repository is in sagenb-0.7.2/src/sagenb
. We auto-generate the package with sagenb-0.7.2/src/sagenb/spkg-dist
.
I suggest that I make a separate ticket to update SPKG.txt.
See #7784 about
$ hg stat
? release_notes.txt
? setup.cfg
Replying to @qed777:
I suggest that I make a separate ticket to update SPKG.txt.
Or I can do this here later today.
I'll fix the spkg-install
problem, too.
Reviewer: Robert Mařík, Minh Van Nguyen
Please see #7784 for the changes. If/when that ticket gets a positive review, I'll create SageNB 0.7.3 and post it here.
By the way, it seems that for the near future, I may be the only very active SageNB developer. I'd be very happy to be proved (proven?) wrong! There are many tasks to complete --- there are several cool new notebook features to implement. It's not possible for me to cover them all, and I'd like to avoid stalling ongoing development.
To this end, I'll try to make it easier for Sage developers to review notebook tickets or make other contributions. Please let me know what would help. For example, I can make experimental spkgs that contain the latest patches in the queue. Those who wish just to test the cumulative changes can install the package with sage -f sagenb-*.spkg
. But reviewers can also open the spkg, pop / push patches, and comment on specific ticket(s). In either case, we'll get useful information about how the notebook behaves in a wider gamut of browser-OS combinations. We'll also get more end user feedback.
Experimental spkgs would be good. I think the best way to get more testing/review would be a good guide to applying patches, testing spkgs, etc.
Is there a mailing list or wiki page for coordinating development effort?
Replying to @sagetrac-acleone:
Is there a mailing list or wiki page for coordinating development effort?
A relevant mailing is sage-devel. Most of the time, that list receives high volume traffic on development discussion. For coordinating release effort, the sage-release mailing list is appropriate. Some effort is underway to expand the Sage documentation with information to help beginners getting started with Sage development. The relevant tickets are:
Both sage-devel and sage-notebook are good places. I suppose we should move this discussion to sage-notebook.
One source for ideas is SageTasks, but it may be getting old.
Addendum: Of course, we should also try to attract energetic developers who'd contribute fresh ideas, techniques, etc., to the SageNB project.
While I'm here, I'd also like to suggest using alpha.sagenb.org
or creating ouch.sagenb.org
to test a bleeding-edge SageNB. This could be a notebook with all positively reviewed patches applied or, more interestingly, an experimental spkg.
We could also set up a corresponding repository, different from http://boxen.math.washington.edu:8100/, to which to push experimental features and from which to backport what works. A potential problem here is that Mercurial changesets are immutable. But we might not care about keeping the history of this repository clean.
Just some thoughts.
Installs fine, works fine with jsmath image fonts, tests paseed, cannot check the rest, since I have probably old hg in my Debian Linux
sage@um-bc107:~/sagenb-0.7.2/src/sagenb$ hg log
abort: requirement 'fncache' not supported!
sage@um-bc107:~/sagenb-0.7.2/src/sagenb$ hg status
abort: requirement 'fncache' not supported!
Can someone finish testing? I think that this is very important ticket and nice sage notebook is important to attract new users (and new developers). Thank you for working on it.
If you have a spare moment, please review #7784, which is "blocking" this ticket.
You can use sage -hg
instead of hg
.
Minh -- Even with #8036, it's very likely the PDF reference manual won't build with this spkg, owing to #7249's Unicode doctests. I'm not sure what we should do about this.
Description changed:
---
+++
@@ -1,9 +1,11 @@
The new spkg is at
-* [http://boxen.math.washington.edu/home/mpatel/trac/8051/sagenb-0.7.2.spkg](http://boxen.math.washington.edu/home/mpatel/trac/8051/sagenb-0.7.1.spkg)
+* http://boxen.math.washington.edu/home/mpatel/trac/8051/sagenb-0.7.3.spkg
Merged in 0.7: #7249, #7962, #7969, #3154, #3083, #6182, #5263, #7631, #6353, #7207, #8000, #4450, #7848, #7963, #7752, #7996, #6475, #5675, #7435, #3844, #6368, #7434.
Merged in 0.7.1: #8103.
Merged in 0.7.2: #3083's "notruncate" patch.
+
+Merged in 0.7.3: #7784.
Replying to @qed777:
Minh -- Even with #8036, it's very likely the PDF reference manual won't build with this spkg, owing to #7249's Unicode doctests. I'm not sure what we should do about this.
The release deadline for Sage 4.3.2 is Saturday 06th February 2010, which means there's not much time for sorting out failures when building the PDF version of the reference manual. I think sagenb-0.7.3.spkg needs to wait for after Sage 4.3.2 is done.
Please see #8167. If/when that ticket gets a positive review, I'll make 0.7.4...
I've posted SageNB 0.7.4 for review.
Description changed:
---
+++
@@ -1,6 +1,6 @@
The new spkg is at
-* http://boxen.math.washington.edu/home/mpatel/trac/8051/sagenb-0.7.3.spkg
+* http://boxen.math.washington.edu/home/mpatel/trac/8051/sagenb-0.7.4.spkg
Merged in 0.7: #7249, #7962, #7969, #3154, #3083, #6182, #5263, #7631, #6353, #7207, #8000, #4450, #7848, #7963, #7752, #7996, #6475, #5675, #7435, #3844, #6368, #7434.
@@ -9,3 +9,5 @@
Merged in 0.7.2: #3083's "notruncate" patch.
Merged in 0.7.3: #7784.
+
+Merged in 0.7.4: #8167, #8102, #8160.
Thanks for the update. But now I have too many sage notebooks
[marik@um-bc107 ../lib/python/site-packages]$ pwd
/opt/sage/local/lib/python/site-packages
[marik@um-bc107 ../lib/python/site-packages]$ ls -ld sagenb*
drwxr-xr-x 4 marik marik 4096 1. úno 17.16 sagenb-0.6-py2.6.egg
drwxr-xr-x 4 marik marik 4096 2. úno 19.33 sagenb-0.7.2-py2.6.egg
drwxr-xr-x 4 marik marik 4096 5. úno 09.13 sagenb-0.7.4-py2.6.egg
How do I know, which one is actually used? Jsmath image fonts failed to install intro correct directory. Should the old sage notebook be removed, first? Should this be tested on fresh install only?
We install the sagenb package with setuptools (PyPI), which updates SAGE_LOCAL/lib/python/site-packages/easy-install.pth
. This file contains paths prepended to sys.path
on startup.
You can query the installed version with
sage: from sagenb.misc.misc import SAGENB_VERSION
sage: SAGENB_VERSION
which is essentially
sage: from pkg_resources import Requirement, working_set
sage: w = working_set.find(Requirement.parse('sagenb'))
sage: w.version
Moreover, w.location
gives the install directory.
I'm checking the fonts now...
sagenb 0.7.4 installed correctly for me. All doc and selenium tests passed. Still problems building the PDF docs but Ihaven't applied any of the unicode patches (using vanilla sage-4.3.2.alpha1).
Changed reviewer from Robert Mařík, Minh Van Nguyen to Robert Mařík, Minh Van Nguyen, Alex Leone
On the fonts: What is the output of
egrep "Copying jsMath image"\|"Installed.*sagenb" $SAGE_ROOT/install.log
?
Replying to @sagetrac-acleone:
sagenb 0.7.4 installed correctly for me. All doc and selenium tests passed. Still problems building the PDF docs but Ihaven't applied any of the unicode patches (using vanilla sage-4.3.2.alpha1).
Positive review?
$ egrep "Copying jsMath image"\|"Installed.*sagenb" ~/sage-dev/sage-4.3.2.alpha1/install.log
Installed /home/alex/sage-dev/sage-4.3.2.alpha1/local/lib/python2.6/site-packages/sagenb-0.6-py2.6.egg
Strange.
sage: from sagenb.misc.misc import SAGENB_VERSION
sage: SAGENB_VERSION
'0.7.4'
Here's how I installed:
make
on an unmodified 4.3.2.alpha1
$ tar -jxvf sagenb-0.7.4.spkg
$ cd sagenb-0.7.4/src/sagenb/
$ sage -python setup.py develop
Tested with sage -t -sagenb
Selenium tests with sage -python sagenb/testing/run_tests.py
Checking the PDF build with sage -docbuild all pdf
I think this is OK, because the SAGE_LOCAL/bin/sage-spkg
script invoked by sage -f
updates SAGE_ROOT/install.log
but the sage -python setup.py
commands do not.
The "Use image fonts" option is disabled (greyed out) in jsMath - is this a problem?
jsMath v3.6c (Unicode fonts)
Are the image fonts installed? In twist.py
, we set the boolean
jsmath_image_fonts = is_package_installed("jsmath-image-fonts")
which propagates to jsmath.js
. This should enable the option if the spkg is installed. But the fonts need to be installed in the right place...
Ok then, LGTM.
I decided to try something random to see if I was running the right notebook. So I tried #3154 first, and it appears that it is NOT fixed by this notebook upgrade. Other things I tried are fixed though.
Description changed:
---
+++
@@ -2,7 +2,7 @@
* http://boxen.math.washington.edu/home/mpatel/trac/8051/sagenb-0.7.4.spkg
-Merged in 0.7: #7249, #7962, #7969, #3154, #3083, #6182, #5263, #7631, #6353, #7207, #8000, #4450, #7848, #7963, #7752, #7996, #6475, #5675, #7435, #3844, #6368, #7434.
+Merged in 0.7: #7249, #7962, #7969, #4217, #3083, #6182, #5263, #7631, #6353, #7207, #8000, #4450, #7848, #7963, #7752, #7996, #6475, #5675, #7435, #3844, #6368, #7434.
Merged in 0.7.1: #8103.
It turns out that I merged #4217, not #3154, into SageNB 0.7. I didn't notice that #4217's commit string was copied from #3154 by mistake. I used hg log
to make the list of merged tickets in the description.
Merged: sage-4.3.2
The new spkg is at
Merged in 0.7: #7249, #7962, #7969, #4217, #3083, #6182, #5263, #7631, #6353, #7207, #8000, #4450, #7848, #7963, #7752, #7996, #6475, #5675, #7435, #3844, #6368, #7434.
Merged in 0.7.1: #8103.
Merged in 0.7.2: #3083's "notruncate" patch.
Merged in 0.7.3: #7784.
Merged in 0.7.4: #8167, #8102, #8160.
Component: notebook
Author: Mitesh Patel
Reviewer: Robert Mařík, Minh Van Nguyen, Alex Leone
Merged: sage-4.3.2
Issue created by migration from https://trac.sagemath.org/ticket/8051