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

Commit

Permalink
Merge tag '9.5.beta7' into t/32888/feature_for_sage_groups
Browse files Browse the repository at this point in the history
SageMath version 9.5.beta7, Release Date: 2021-11-18
  • Loading branch information
Matthias Koeppe committed Nov 20, 2021
2 parents b7e82d6 + cc60cfe commit 9123f4a
Show file tree
Hide file tree
Showing 260 changed files with 2,873 additions and 1,271 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tox-experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# This list is different from the one in tox.yml:
# Trac #31526 switches gcc 4.x-based distributions to using the gcc_spkg configuration factor
# Trac #32281 removes gcc 4.x-based distributions whose binutils are unusable
tox_system_factor: [ubuntu-xenial, ubuntu-bionic, ubuntu-focal, ubuntu-groovy, ubuntu-hirsute, debian-jessie-gcc_spkg, debian-stretch, debian-buster, debian-bullseye, debian-sid, linuxmint-18, linuxmint-19, linuxmint-19.3, linuxmint-20.1, fedora-26, fedora-27, fedora-28, fedora-29, fedora-30, fedora-31, fedora-32, fedora-33, fedora-34, centos-7-gcc_spkg, centos-8, gentoo, archlinux-latest, opensuse-15, opensuse-15.3, opensuse-tumbleweed, slackware-14.2, conda-forge, ubuntu-bionic-i386, manylinux-2_24-i686, debian-buster-i386, centos-7-i386-gcc_spkg]
tox_system_factor: [ubuntu-xenial, ubuntu-bionic, ubuntu-focal, ubuntu-groovy, ubuntu-hirsute, debian-jessie-gcc_spkg, debian-stretch, debian-buster, debian-bullseye, debian-sid, linuxmint-18, linuxmint-19, linuxmint-19.3, linuxmint-20.1, fedora-26, fedora-27, fedora-28, fedora-29, fedora-30, fedora-31, fedora-32, fedora-33, fedora-34, centos-7-gcc_spkg, centos-8, gentoo-python3.9, gentoo-python3.10, archlinux-latest, opensuse-15, opensuse-15.3, opensuse-tumbleweed, slackware-14.2, conda-forge, ubuntu-bionic-i386, manylinux-2_24-i686, debian-buster-i386, centos-7-i386-gcc_spkg]
tox_packages_factor: [maximal]
targets_pattern: [0-g, h-o, p, q-z]
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tox-optional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# This list is different from the one in tox.yml:
# Trac #31526 switches gcc 4.x-based distributions to using the gcc_spkg configuration factor
# Trac #32281 removes gcc 4.x-based distributions whose binutils are unusable
tox_system_factor: [ubuntu-xenial, ubuntu-bionic, ubuntu-focal, ubuntu-groovy, ubuntu-hirsute, debian-jessie-gcc_spkg, debian-stretch, debian-buster, debian-bullseye, debian-sid, linuxmint-18, linuxmint-19, linuxmint-19.3, linuxmint-20.1, fedora-26, fedora-27, fedora-28, fedora-29, fedora-30, fedora-31, fedora-32, fedora-33, fedora-34, centos-7-gcc_spkg, centos-8, gentoo, archlinux-latest, opensuse-15, opensuse-15.3, opensuse-tumbleweed, slackware-14.2, conda-forge, ubuntu-bionic-i386, manylinux-2_24-i686, debian-buster-i386, centos-7-i386-gcc_spkg]
tox_system_factor: [ubuntu-xenial, ubuntu-bionic, ubuntu-focal, ubuntu-groovy, ubuntu-hirsute, debian-jessie-gcc_spkg, debian-stretch, debian-buster, debian-bullseye, debian-sid, linuxmint-18, linuxmint-19, linuxmint-19.3, linuxmint-20.1, fedora-26, fedora-27, fedora-28, fedora-29, fedora-30, fedora-31, fedora-32, fedora-33, fedora-34, centos-7-gcc_spkg, centos-8, gentoo-python3.9, gentoo-python3.10, archlinux-latest, opensuse-15, opensuse-15.3, opensuse-tumbleweed, slackware-14.2, conda-forge, ubuntu-bionic-i386, manylinux-2_24-i686, debian-buster-i386, centos-7-i386-gcc_spkg]
tox_packages_factor: [maximal]
targets_pattern: [0-g, h-o, p, q-z]
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
fail-fast: false
max-parallel: 20
matrix:
tox_system_factor: [ubuntu-trusty, ubuntu-xenial, ubuntu-bionic, ubuntu-focal, ubuntu-groovy, ubuntu-hirsute, ubuntu-impish, debian-jessie, debian-stretch, debian-buster, debian-bullseye, debian-sid, linuxmint-17, linuxmint-18, linuxmint-19, linuxmint-19.3, linuxmint-20.1, linuxmint-20.2, fedora-26, fedora-27, fedora-28, fedora-29, fedora-30, fedora-31, fedora-32, fedora-33, fedora-34, fedora-35, centos-7, centos-8, gentoo, gentoo-python3.7, archlinux-latest, opensuse-15, opensuse-15.3, opensuse-tumbleweed, slackware-14.2, conda-forge, ubuntu-bionic-i386, manylinux-2_24-i686, debian-buster-i386, centos-7-i386]
tox_system_factor: [ubuntu-trusty, ubuntu-xenial, ubuntu-bionic, ubuntu-focal, ubuntu-groovy, ubuntu-hirsute, ubuntu-impish, debian-jessie, debian-stretch, debian-buster, debian-bullseye, debian-sid, linuxmint-17, linuxmint-18, linuxmint-19, linuxmint-19.3, linuxmint-20.1, linuxmint-20.2, fedora-26, fedora-27, fedora-28, fedora-29, fedora-30, fedora-31, fedora-32, fedora-33, fedora-34, fedora-35, centos-7, centos-8, gentoo-python3.9, gentoo-python3.10, archlinux-latest, opensuse-15, opensuse-15.3, opensuse-tumbleweed, slackware-14.2, conda-forge, ubuntu-bionic-i386, manylinux-2_24-i686, debian-buster-i386, centos-7-i386]
tox_packages_factor: [minimal, standard]
env:
TOX_ENV: docker-${{ matrix.tox_system_factor }}-${{ matrix.tox_packages_factor }}
Expand Down
8 changes: 4 additions & 4 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"description": "Mirror of the Sage https://sagemath.org/ source tree",
"license": "other-open",
"title": "sagemath/sage: 9.5.beta6",
"version": "9.5.beta6",
"title": "sagemath/sage: 9.5.beta7",
"version": "9.5.beta7",
"upload_type": "software",
"publication_date": "2021-11-12",
"publication_date": "2021-11-18",
"creators": [
{
"affiliation": "SageMath.org",
Expand All @@ -15,7 +15,7 @@
"related_identifiers": [
{
"scheme": "url",
"identifier": "https://github.com/sagemath/sage/tree/9.5.beta6",
"identifier": "https://github.com/sagemath/sage/tree/9.5.beta7",
"relation": "isSupplementTo"
},
{
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SageMath version 9.5.beta6, Release Date: 2021-11-12
SageMath version 9.5.beta7, Release Date: 2021-11-18
14 changes: 13 additions & 1 deletion build/bin/sage-bootstrap-python
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,19 @@ if [ "$LC_ALL" = "C" -o "$LANG" = "C" -o "$LC_CTYPE" = "C" ]; then
export LANG
fi

PYTHONS="python python3 python3.8 python3.7 python2.7 python3.6 python2"
PYTHONS="python python3 python3.10 python3.9 python3.8 python3.7 python2.7 python3.6 python2"
# Trac #32405: Prefer a Python that provides ssl with SNI, which allows developers
# to download from upstream URLs (configure --enable-download-from-upstream-url),
# in particular from PyPI, which requires SNI.
for PY in $PYTHONS; do
PYTHON="$(PATH="$SAGE_ORIG_PATH" command -v $PY)"
if [ -n "$PYTHON" ]; then
if "$PYTHON" -c "import argparse; import urllib; from hashlib import sha1; from ssl import HAS_SNI; assert HAS_SNI; from os import listdir; listdir(\"$(pwd)\");" 2>/dev/null; then
exec "$PYTHON" "$@"
fi
fi
done
# Second round, no ssl/SNI test.
for PY in $PYTHONS; do
PYTHON="$(PATH="$SAGE_ORIG_PATH" command -v $PY)"
if [ -n "$PYTHON" ]; then
Expand Down
6 changes: 6 additions & 0 deletions build/bin/sage-dist-helpers
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,12 @@ sdh_pip_install() {
sdh_store_and_pip_install_wheel $install_options .
}

sdh_pip_editable_install() {
echo "Installing $PKG_NAME (editable mode)"
python3 -m pip install --verbose --no-deps --no-index --no-build-isolation --isolated --editable "$@" || \
sdh_die "Error installing $PKG_NAME"
}

sdh_store_wheel() {
if [ -n "$SAGE_DESTDIR" ]; then
local sudo=""
Expand Down
44 changes: 23 additions & 21 deletions build/make/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ SAGE_SPKG = sage-spkg
# These are added to SAGE_SPKG in the call
SAGE_SPKG_OPTIONS = @SAGE_SPKG_OPTIONS@

# Where the Sage distribution installs documentation.
# set to empty if --disable-doc is used
SAGE_DOCS = $(SAGE_LOCAL)

# Where the Sage distribution installs Python packages.
# This can be overridden by 'make SAGE_VENV=/some/venv'.
SAGE_VENV = @SAGE_VENV@
Expand Down Expand Up @@ -142,7 +146,7 @@ SCRIPT_PACKAGES = @SAGE_SCRIPT_PACKAGES@
# inst_git = $(INST)/.dummy

$(foreach pkgname,$(BUILT_PACKAGES),\
$(eval inst_$(pkgname) = $(foreach tree, $(trees_$(pkgname)), $($(tree))/$(SPKG_INST_RELDIR)/$(pkgname)-$(vers_$(pkgname)))))
$(eval inst_$(pkgname) = $(foreach tree, $(trees_$(pkgname)), $(and $($(tree)), $($(tree))/$(SPKG_INST_RELDIR)/$(pkgname)-$(vers_$(pkgname))))))
$(foreach pkgname,$(DUMMY_PACKAGES),\
$(eval inst_$(pkgname) = $(SAGE_LOCAL)/$(SPKG_INST_RELDIR)/.dummy))

Expand All @@ -157,7 +161,7 @@ $(SAGE_LOCAL)/$(SPKG_INST_RELDIR)/.dummy:


# Filtered by installation tree
$(foreach tree,SAGE_LOCAL SAGE_VENV, \
$(foreach tree,SAGE_LOCAL SAGE_VENV SAGE_DOCS, \
$(eval $(tree)_INSTALLED_PACKAGE_INSTS = \
$(foreach pkgname,$(INSTALLED_PACKAGES), \
$(if $(findstring $(tree),$(trees_$(pkgname))), \
Expand Down Expand Up @@ -228,11 +232,11 @@ build-start: all-build
base-toolchain: _clean-broken-gcc base
+$(MAKE_REC) toolchain

# All targets except for the base packages
# All targets except for the base packages and except the documentation
all-sage: \
sagelib \
$(INSTALLED_PACKAGE_INSTS) \
$(UNINSTALLED_PACKAGES_CLEANS)
$(SAGE_LOCAL_INSTALLED_PACKAGE_INSTS) $(SAGE_LOCAL_UNINSTALLED_PACKAGES_CLEANS) \
$(SAGE_VENV_INSTALLED_PACKAGE_INSTS) $(SAGE_VENV_UNINSTALLED_PACKAGES_CLEANS)

# Same but filtered by installation trees:
all-build-local: toolchain-deps
Expand All @@ -245,6 +249,11 @@ all-build-venv: toolchain-deps

all-sage-venv: $(SAGE_VENV_INSTALLED_PACKAGE_INSTS) $(SAGE_VENV_UNINSTALLED_PACKAGES_CLEANS)

all-build-docs: toolchain-deps
+$(MAKE_REC) all-sage-docs

all-sage-docs: $(SAGE_DOCS_INSTALLED_PACKAGE_INSTS) $(SAGE_DOCS_UNINSTALLED_PACKAGES_CLEANS)

# Download all packages which should be inside an sdist tarball (the -B
# option to make forces all targets to be built unconditionally)
download-for-sdist:
Expand Down Expand Up @@ -316,35 +325,28 @@ base: $(inst_patch) $(inst_pkgconf)
#
# $ ./sage --docbuild -H

# Building the documentation has many dependencies, because all
# documented modules are imported and because we use matplotlib to
# produce plots.
DOC_DEPENDENCIES = sagelib sage_docbuild $(inst_sphinx) \
| $(SAGERUNTIME) $(inst_maxima) $(inst_networkx) $(inst_scipy) $(inst_sympy) \
$(inst_matplotlib) $(inst_pillow) $(inst_mathjax) $(inst_mpmath) \
$(inst_ipykernel) $(inst_jupyter_client) $(inst_conway_polynomials) \
$(inst_tachyon) $(inst_jmol) $(inst_thebe) $(inst_ipywidgets)

doc: doc-html
doc: $(SAGE_DOCS_INSTALLED_PACKAGE_INSTS) $(SAGE_DOCS_UNINSTALLED_PACKAGES_CLEANS)

doc-html: $(DOC_DEPENDENCIES)
$(AM_V_at)cd "$(SAGE_SRC)/doc" && sage-logger -p "$(MAKE) doc-html" $(SAGE_ROOT)/logs/dochtml.log
# All doc-building is delegated to the script packages
# sagemath_doc_html, sagemath_doc_pdf
doc-html: sagemath_doc_html

# 'doc-html-no-plot': build docs without building the graphics coming
# from the '.. plot' directive, in case you want to save a few
# megabytes of disk space. 'doc-clean' is a prerequisite because the
# presence of graphics is cached in src/doc/output.
doc-html-no-plot: doc-clean
$(AM_V_at)sage-logger -p "$(MAKE) SAGE_DOCBUILD_OPTS=\"$(SAGE_DOCBUILD_OPTS) --no-plot\" doc-html" $(SAGE_ROOT)/logs/dochtml.log
+$(MAKE_REC) SAGE_DOCBUILD_OPTS="$(SAGE_DOCBUILD_OPTS) --no-plot" doc-html

# Using mathjax is actually the default, but this target can be used
# to override an environment setting of SAGE_DOC_MATHJAX=no
doc-html-mathjax:
$(AM_V_at)sage-logger -p "$(MAKE) SAGE_DOCBUILD_OPTS=\"$(SAGE_DOCBUILD_OPTS) -j\" doc-html" $(SAGE_ROOT)/logs/dochtml.log
+$(MAKE_REC) SAGE_DOCBUILD_OPTS="$(SAGE_DOCBUILD_OPTS) -j" doc-html

# Keep target 'doc-html-jsmath' for backwards compatibility.
doc-html-jsmath: doc-html-mathjax

doc-pdf: $(DOC_DEPENDENCIES)
$(AM_V_at)cd "$(SAGE_SRC)/doc" && sage-logger -p "$(MAKE) doc-pdf" $(SAGE_ROOT)/logs/docpdf.log
doc-pdf: sagemath_doc_pdf

doc-clean: doc-src-clean doc-output-clean

Expand Down
6 changes: 3 additions & 3 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=configure-VERSION.tar.gz
sha1=bdfd5753a2548365230216455d9a543fe238f092
md5=49ffa01e32a876dd4feea975d822351e
cksum=3517586928
sha1=d9fff88398cb15f16c7dcb3b6180163bb206a699
md5=585dece094717b58049a2bfaf9811162
cksum=3669459096
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fda367752b5e7afa3ec0fda483b162645192e008
cdb3614b34926cee3c4cc918313678d3deea4e8d
3 changes: 2 additions & 1 deletion build/pkgs/flit_core/spkg-install.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
cd src
sdh_pip_install .
# We use --no-deps to suppress a warning regarding tomli.
sdh_pip_install --no-deps .
6 changes: 3 additions & 3 deletions build/pkgs/gmp/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=gmp-VERSION.tar.xz
sha1=052a5411dc74054240eec58132d2cf41211d0ff6
md5=a325e3f09e6d91e62101e59f9bda3ec1
cksum=942462047
sha1=0578d48607ec0e272177d175fd1807c30b00fdf2
md5=0b82665c4a92fd2ade7440c13fcaa42b
cksum=1546558141
upstream_url=https://gmplib.org/download/gmp/gmp-VERSION.tar.xz
2 changes: 1 addition & 1 deletion build/pkgs/gmp/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.2.0
6.2.1
1 change: 1 addition & 0 deletions build/pkgs/memory_allocator/distros/conda.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
memory-allocator
6 changes: 3 additions & 3 deletions build/pkgs/networkx/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=networkx-VERSION.tar.gz
sha1=5a39af7b0b6a6180b733c280b0ee70b9868a8566
md5=ac9cf192fc525bb877a042a684091d72
cksum=1918700937
sha1=659f640c03fe52c98fa7a1d03fe3a6f6bbce2015
md5=407eb28c54e08725559754ca7ab185e0
cksum=3378468789
upstream_url=https://pypi.io/packages/source/n/networkx/networkx-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/networkx/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.2
2.6.3
6 changes: 3 additions & 3 deletions build/pkgs/numpy/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=numpy-VERSION.zip
sha1=c7eb91a2232f7843301c355795860baaa0280909
md5=5638d5dae3ca387be562912312db842e
cksum=2204147896
sha1=91a1faeb617601453ebf6e2855e5ce6bf94d3588
md5=b3c4477a027d5b6fba5e1065064fd076
cksum=1917168823
upstream_url=https://pypi.io/packages/source/n/numpy/numpy-VERSION.zip
2 changes: 1 addition & 1 deletion build/pkgs/numpy/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.21.2
1.21.4
1 change: 1 addition & 0 deletions build/pkgs/python3/trees.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_VENV
7 changes: 6 additions & 1 deletion build/pkgs/sage_conf/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@ if [ $? -ne 0 ]; then
echo >&2 "Is $SAGE_ROOT the correct SAGE_ROOT?"
exit 1
fi
cd src && sdh_pip_install .
cd src
if [ "$SAGE_EDITABLE" = yes ]; then
sdh_pip_editable_install .
else
sdh_pip_install .
fi
7 changes: 6 additions & 1 deletion build/pkgs/sage_docbuild/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@ if [ $? -ne 0 ]; then
echo >&2 "Is $SAGE_ROOT the correct SAGE_ROOT?"
exit 1
fi
cd src && sdh_pip_install .
cd src
if [ "$SAGE_EDITABLE" = yes ]; then
sdh_pip_editable_install .
else
sdh_pip_install .
fi
7 changes: 6 additions & 1 deletion build/pkgs/sage_setup/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@ if [ $? -ne 0 ]; then
echo >&2 "Is $SAGE_ROOT the correct SAGE_ROOT?"
exit 1
fi
cd src && sdh_pip_install .
cd src
if [ "$SAGE_EDITABLE" = yes ]; then
sdh_pip_editable_install .
else
sdh_pip_install .
fi
2 changes: 1 addition & 1 deletion build/pkgs/sagelib/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9.5.beta6
9.5.beta7
10 changes: 10 additions & 0 deletions build/pkgs/sagemath_doc_html/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
sagemath_doc_html: SageMath documentation in HTML format
========================================================

Upon installation, this package builds the SageMath documentation
in HTML format.

It is a standard package. It is built on every invocation
of ``make`` or ``make all``, but not on ``make build``.
The documentation build can also be run separately using
``make doc-html``.
5 changes: 5 additions & 0 deletions build/pkgs/sagemath_doc_html/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sagelib sphinx | $(SAGERUNTIME) maxima networkx scipy sympy matplotlib pillow mathjax mpmath ipykernel jupyter_client conway_polynomials tachyon jmol thebe ipywidgets sage_docbuild

# Building the documentation has many dependencies, because all
# documented modules are imported and because we use matplotlib to
# produce plots.
17 changes: 17 additions & 0 deletions build/pkgs/sagemath_doc_html/spkg-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#! /usr/bin/env bash

# When building documentation, use MathJax by default. To turn it off,
# set SAGE_DOC_MATHJAX to be "no" or "False".
if [ -z "$SAGE_DOC_MATHJAX" ]; then
# For backwards compatibility, we use the value of SAGE_DOC_JSMATH
# if it is set.
if [ -n "$SAGE_DOC_JSMATH" ]; then
SAGE_DOC_MATHJAX="$SAGE_DOC_JSMATH"
else
SAGE_DOC_MATHJAX="True"
fi
export SAGE_DOC_MATHJAX
fi

cd $SAGE_ROOT/src/doc
$MAKE doc-html
1 change: 1 addition & 0 deletions build/pkgs/sagemath_doc_html/trees.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_DOCS
1 change: 1 addition & 0 deletions build/pkgs/sagemath_doc_html/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
9 changes: 9 additions & 0 deletions build/pkgs/sagemath_doc_pdf/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
sagemath_doc_pdf: SageMath documentation in PDF format
======================================================

Upon installation, this package builds the SageMath documentation
in PDF format.

It is an optional package. It can be enabled at configuration time
using ``./configure --enable-sagemath_doc_pdf``. Alternatively,
it can be installed by using ``make doc-pdf``.
1 change: 1 addition & 0 deletions build/pkgs/sagemath_doc_pdf/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sagemath_doc_html
7 changes: 7 additions & 0 deletions build/pkgs/sagemath_doc_pdf/spkg-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /usr/bin/env bash
# This must be set; otherwise, sage.docs.conf uses sphinx.ext.imgmath,
# which leads to errors.
export SAGE_DOC_MATHJAX=yes

cd $SAGE_ROOT/src/doc
$MAKE doc-pdf
1 change: 1 addition & 0 deletions build/pkgs/sagemath_doc_pdf/trees.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_DOCS
1 change: 1 addition & 0 deletions build/pkgs/sagemath_doc_pdf/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
optional
6 changes: 3 additions & 3 deletions build/pkgs/traitlets/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=traitlets-VERSION.tar.gz
sha1=08d9b2db5b0cf7794e9c4ca76f7981cccc3233b6
md5=19483ec0685e837912cff128209aa845
cksum=3463913536
sha1=86d03557843700d6dd0657371d15f0520c2f392f
md5=31f7fd84518fe08cb40ab18f6dde0d54
cksum=1147319509
upstream_url=https://pypi.io/packages/source/t/traitlets/traitlets-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/traitlets/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.1.0
5.1.1
12 changes: 8 additions & 4 deletions m4/sage_spkg_collect.m4
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,14 @@ for DIR in $SAGE_ROOT/build/pkgs/*; do
dnl trees. For example, if we decide to create a separate tree for a venv with the
dnl Jupyter notebook, then packages such as jupyter_core would have to be installed into
dnl two trees.
SPKG_TREE_VAR=SAGE_LOCAL
if test -f "$DIR/requirements.txt" -o -f "$DIR/install-requires.txt" -o "$SPKG_NAME" = python3; then
dnl A Python package or spkg installation of python3 itself
SPKG_TREE_VAR=SAGE_VENV
if test -f "$DIR/trees.txt"; then
SPKG_TREE_VAR="$(sed "s/#.*//;" "$DIR/trees.txt")"
else
SPKG_TREE_VAR=SAGE_LOCAL
if test -f "$DIR/requirements.txt" -o -f "$DIR/install-requires.txt"; then
dnl A Python package
SPKG_TREE_VAR=SAGE_VENV
fi
fi
SAGE_PACKAGE_TREES="${SAGE_PACKAGE_TREES}$(printf '\ntrees_')${SPKG_NAME} = ${SPKG_TREE_VAR}"
Expand Down
2 changes: 1 addition & 1 deletion src/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9.5.beta6
9.5.beta7
13 changes: 0 additions & 13 deletions src/bin/sage-env
Original file line number Diff line number Diff line change
Expand Up @@ -636,19 +636,6 @@ export MAKE

export PIP_FORMAT="columns"

# When building documentation, use MathJax by default. To turn it off,
# set SAGE_DOC_MATHJAX to be "no" or "False".
if [ -z "$SAGE_DOC_MATHJAX" ]; then
# For backwards compatibility, we use the value of SAGE_DOC_JSMATH
# if it is set.
if [ -n "$SAGE_DOC_JSMATH" ]; then
SAGE_DOC_MATHJAX="$SAGE_DOC_JSMATH"
else
SAGE_DOC_MATHJAX="True"
fi
export SAGE_DOC_MATHJAX
fi

# Set the cysignals crash logs directory
if [ -z "$CYSIGNALS_CRASH_LOGS" ]; then
export CYSIGNALS_CRASH_LOGS="$DOT_SAGE/crash_logs"
Expand Down
Loading

0 comments on commit 9123f4a

Please sign in to comment.