Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 52c15f5

Browse files
committed
Merge branch 't/18110/improve__unable_to_convert_string__error_message' into t/18084/fix_bad_library_uses_if_var__
2 parents f680be3 + abc5a70 commit 52c15f5

File tree

27 files changed

+285
-92
lines changed

27 files changed

+285
-92
lines changed

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Sage version 6.6.rc1, released 2015-03-27
1+
Sage version 6.6.rc2, released 2015-04-02

build/deps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ $(INST)/$(M4RIE): $(INST)/$(M4RI) $(INST)/$(GIVARO) $(INST)/$(NTL)
460460
$(INST)/$(ZNPOLY): $(INST)/$(SAGE_MP_LIBRARY) | $(INST)/$(PYTHON)
461461
+$(PIPE) "$(SAGE_SPKG) $(ZNPOLY) 2>&1" "tee -a $(SAGE_LOGS)/$(ZNPOLY).log"
462462

463-
$(INST)/$(SAGENB): $(INST)/$(PYTHON) $(INST)/$(SETUPTOOLS) $(INST)/$(PEXPECT) \
463+
$(INST)/$(SAGENB): $(INST)/$(PIP) $(INST)/$(PEXPECT) \
464464
$(INST)/$(JINJA2) $(INST)/$(SPHINX) $(INST)/$(DOCUTILS)
465465
+$(PIPE) "$(SAGE_SPKG) $(SAGENB) 2>&1" "tee -a $(SAGE_LOGS)/$(SAGENB).log"
466466

build/pkgs/configure/checksums.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
tarball=configure-VERSION.tar.gz
2-
sha1=73f6e52f728f2586564746c77e94224a71b64b9a
3-
md5=bf32b13ff7c9aa6d72584397f4596b3a
4-
cksum=2050435266
2+
sha1=6b6e8457815b8e910102b18d107563f2c38a6156
3+
md5=f430b72dfc9ee0bfeb75f16dbf5dfda7
4+
cksum=2088594908
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
78
1+
79
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.0
1+
3.0.0.p1
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
See https://github.com/ipython/ipython/pull/8208
2+
3+
Catch termios.error in pager
4+
5+
This error is raised by termios.tcgetattr on really old Linux versions
6+
(here: Ubuntu 8.04.4) in doctests, that is, without a real stdout.
7+
8+
diff --git a/IPython/core/page.py b/IPython/core/page.py
9+
index 2a0305e..067b540 100644
10+
--- a/IPython/core/page.py
11+
+++ b/IPython/core/page.py
12+
@@ -100,7 +100,10 @@ def _detect_screen_size(screen_lines_def):
13+
# flags each time), we just save the initial terminal state and
14+
# unconditionally reset it every time. It's cheaper than making
15+
# the checks.
16+
- term_flags = termios.tcgetattr(sys.stdout)
17+
+ try:
18+
+ term_flags = termios.tcgetattr(sys.stdout)
19+
+ except termios.error as err:
20+
+ raise TypeError
21+
22+
# Curses modifies the stdout buffer size by default, which messes
23+
# up Python's normal stdout buffering. This would manifest itself

build/pkgs/sagenb/spkg-install

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,21 @@ if [ $SAGE64 = "yes" ]; then
3333
export CXXFLAGS="$CXXFLAGS $CFLAG64"
3434
export LDFLAGS="$LDFLAGS $CFLAG64"
3535
fi
36-
3736
# End boilerplate
3837

38+
# delete old sagenb install, if any
39+
rm -rf "${SAGE_LOCAL}/lib/python/site-packages"/sagenb*
3940

40-
41-
# Install dependencies
42-
for PKG in $(cat src/install_order); do
43-
easy_install -H None "src/$PKG" || die "Error installing $PKG !"
44-
done
45-
PKG=$(ls -1 src | GREP_OPTIONS= grep sagenb-)
46-
47-
# Install sagenb into site-packages
48-
easy_install -H None "src/$PKG" || die "Error installing sagenb !"
41+
# install new sagenb
42+
pip install --no-index \
43+
--find-links="file://$(pwd)/src/" sagenb
44+
if [ $? -ne 0 ]; then
45+
echo >&2 "Error: Installing SageNB failed."
46+
exit 1
47+
fi
4948

5049
# let sagenb use mathjax spkg
51-
SAGENB_VERSION=$(cat ${SAGE_ROOT}/build/pkgs/sagenb/package-version.txt)
52-
PYTHON_MAJOR_VERSION=$(cat ${SAGE_ROOT}/build/pkgs/python/package-version.txt | sed 's/\.[^.]*$//g')
53-
cd ${SAGE_LOCAL}/lib/python/site-packages/sagenb-${SAGENB_VERSION}-py${PYTHON_MAJOR_VERSION}.egg/sagenb/data
50+
cd "${SAGE_LOCAL}/lib/python/site-packages/sagenb/data"
5451
# the following line can be removed once sagenb does not ship mathjax anymore.
5552
rm -rf mathjax
56-
ln -s ../../../../../../share/mathjax/ mathjax
57-
53+
ln -s ../../../../../share/mathjax/ mathjax

src/bin/sage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ fi
365365

366366
if [ "$1" = '-v' -o "$1" = '-version' -o "$1" = '--version' ]; then
367367
. "$SAGE_LOCAL"/bin/sage-version.sh
368-
echo "Sage Version ${SAGE_VERSION}, Release Date: ${SAGE_RELEASE_DATE}"
368+
echo "SageMath Version ${SAGE_VERSION}, Release Date: ${SAGE_RELEASE_DATE}"
369369
exit 0
370370
fi
371371

src/bin/sage-banner

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
┌────────────────────────────────────────────────────────────────────┐
2-
Sage Version 6.6.rc1, Release Date: 2015-03-27
2+
SageMath Version 6.6.rc2, Release Date: 2015-04-02
33
│ Type "notebook()" for the browser-based notebook interface. │
44
│ Type "help()" for help. │
55
└────────────────────────────────────────────────────────────────────┘

src/bin/sage-version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sage version information for shell scripts
22
# This file is auto-generated by the sage-update-version script, do not edit!
3-
SAGE_VERSION='6.6.rc1'
4-
SAGE_RELEASE_DATE='2015-03-27'
3+
SAGE_VERSION='6.6.rc2'
4+
SAGE_RELEASE_DATE='2015-04-02'

0 commit comments

Comments
 (0)