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

Commit 7def5b9

Browse files
committed
Merge remote-tracking branch 'trac/develop' into u/mkoeppe/environment_yaml
2 parents 025064e + 2220595 commit 7def5b9

File tree

330 files changed

+4744
-2278
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

330 files changed

+4744
-2278
lines changed

.ci/build-docker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ docker_build() {
2626
# Docker's --cache-from does not really work with multi-stage builds: https://github.com/moby/moby/issues/34715
2727
# So we just have to rely on the local cache.
2828
time docker build -f docker/Dockerfile \
29-
--build-arg "--build-arg "MAKEFLAGS=${MAKEFLAGS}" --build-arg "SAGE_NUM_THREADS=${SAGE_NUM_THREADS}" --build-arg "MAKEFLAGS_DOCBUILD=${MAKEFLAGS}" --build-arg "SAGE_NUM_THREADS_DOCBUILD=${SAGE_NUM_THREADS_DOCBUILD}" --build-arg ARTIFACT_BASE=$ARTIFACT_BASE $@
29+
--build-arg "MAKEFLAGS=${MAKEFLAGS}" --build-arg "SAGE_NUM_THREADS=${SAGE_NUM_THREADS}" --build-arg "MAKEFLAGS_DOCBUILD=${MAKEFLAGS}" --build-arg "SAGE_NUM_THREADS_DOCBUILD=${SAGE_NUM_THREADS_DOCBUILD}" --build-arg ARTIFACT_BASE=$ARTIFACT_BASE $@
3030
}
3131

3232
# We use a multi-stage build /docker/Dockerfile. For the caching to be
@@ -53,7 +53,7 @@ docker tag "$DOCKER_IMAGE_CLI" "$DOCKER_IMAGE_BINDER"
5353
# Display the layers of this image
5454
docker history "$DOCKER_IMAGE_CLI"
5555
# Build the developer image with the build artifacts intact.
56-
# Note: It's important to build the dev image last because it might be tagged as ARTIFACT_BASE.
56+
# Note: It is important to build the dev image last because it might be tagged as ARTIFACT_BASE.
5757
docker_build --target sagemath-dev --tag "$DOCKER_IMAGE_DEV" .
5858
# Display the layers of this image
5959
docker history "$DOCKER_IMAGE_DEV"

.ci/update-env.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ if [ -n "$CI_MONKEY_PATCH" ]; then
2727
$SCRIPT
2828
fi
2929

30-
WITH_PYTHON=${WITH_PYTHON:-2}
31-
3230
# From the docker documentation: "A tag name must be valid ASCII and may
3331
# contain lowercase and uppercase letters, digits, underscores, periods and
3432
# dashes. A tag name may not start with a period or a dash and may contain a
@@ -38,10 +36,6 @@ export DOCKER_TAG=`echo $DOCKER_TAG | tr -d '[:space:]' | tr -c '[:alnum:]_.-' '
3836
[[ -z "$DOCKER_TAG" ]] && export DOCKER_TAG=none
3937
[[ "$DOCKER_TAG" = "master" ]] && export DOCKER_TAG=latest
4038

41-
if [ $WITH_PYTHON = 3 ]; then
42-
export DOCKER_TAG=${DOCKER_TAG}-py3
43-
fi
44-
4539
export DOCKER_IMAGE_CLI=${DOCKER_NAMESPACE:-sagemath}/sagemath:$DOCKER_TAG
4640
export DOCKER_IMAGE_DEV=${DOCKER_NAMESPACE:-sagemath}/sagemath-dev:$DOCKER_TAG
4741

.gitignore

Lines changed: 58 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
/logs
55
/upstream
66

7-
#############################
8-
# Autotools generated files #
9-
#############################
7+
# Autotools generated files
108
/aclocal.m4
119
/autom4te.cache/
1210
/config/
@@ -25,10 +23,6 @@
2523
/src/environment.yml
2624
/src/environment-optional.yml
2725

28-
###################
29-
# Temporary Files #
30-
###################
31-
3226
# Various editors
3327
*~
3428

@@ -48,7 +42,7 @@
4842
.iml
4943

5044
# VSCode
51-
.vscode
45+
.vscode/*
5246

5347
# XCode
5448
xcuserdata/
@@ -82,43 +76,79 @@ $RECYCLE.BIN/
8276
# SublimeText
8377
*.sublime-workspace
8478

85-
# mypy
86-
**/.mypy_cache/
87-
88-
#################
89-
# SageMathCloud #
90-
#################
79+
# SageMathCloud
9180
*.sage-chat
9281
*.sage-history
9382
*.syncdoc*
9483

95-
###########
96-
# Jupyter #
97-
###########
84+
# Jupyter
9885
.ipynb_checkpoints
9986
Untitled*.ipynb
10087

101-
#############################
102-
# GitLab CI generated files #
103-
#############################
88+
# GitLab CI generated files
10489
gitlab-build-docker.log
10590

106-
/src/.cython_version
107-
/src/build
108-
/src/Makefile
109-
/src/bin/sage-env-config
110-
/build/bin/sage-build-env-config
91+
# Byte-compiled / optimized / DLL files
92+
__pycache__/
93+
*.py[cod]
94+
*$py.class
95+
96+
# Generated Cython files
97+
*.so
98+
src/sage/**/*.c
99+
src/sage/**/*.cpp
100+
src/sage/modular/arithgroup/farey_symbol.h
101+
!src/sage/cpython/debugimpl.c
102+
!src/sage/graphs/base/boost_interface.cpp
103+
!src/sage/graphs/cliquer/cl.c
104+
!src/sage/graphs/graph_decompositions/tdlib/sage_tdlib.cpp
105+
!src/sage/libs/eclib/wrap.cpp
106+
!src/sage/misc/inherit_comparison_impl.c
107+
!src/sage/modular/arithgroup/farey.cpp
108+
!src/sage/modular/arithgroup/sl2z.cpp
109+
!src/sage/rings/bernmm/bern_modp.cpp
110+
!src/sage/rings/bernmm/bern_modp_util.cpp
111+
!src/sage/rings/bernmm/bern_rat.cpp
112+
!src/sage/rings/bernmm/bernmm-test.cpp
113+
!src/sage/rings/padics/transcendantal.c
114+
!src/sage/rings/polynomial/weil/power_sums.c
115+
!src/sage/schemes/hyperelliptic_curves/hypellfrob/hypellfrob.cpp
116+
!src/sage/schemes/hyperelliptic_curves/hypellfrob/recurrences_ntl.cpp
117+
!src/sage/schemes/hyperelliptic_curves/hypellfrob/recurrences_zn_poly.cpp
118+
!src/sage/stats/distributions/dgs_bern.c
119+
!src/sage/stats/distributions/dgs_gauss_dp.c
120+
!src/sage/stats/distributions/dgs_gauss_mp.c
121+
122+
# Temporary build files
123+
build/temp.*/
124+
build/bin/sage-build-env-config
111125

112126
/build/pkgs/*/src/build
113127
/build/pkgs/*/src/dist
114128
/build/pkgs/*/src/MANIFEST
115129
/build/pkgs/*/src/*.egg-info
116130
/build/pkgs/*/src/.tox
117131

118-
#######################
119-
# tox generated files #
120-
#######################
132+
# Distribution / packaging
133+
src/*.egg-info/
134+
/src/.cython_version
135+
/src/build
136+
/src/Makefile
137+
/src/bin/sage-env-config
138+
139+
# Virtual environments
140+
src/.env
141+
src/.venv
142+
src/env/
143+
src/venv/
144+
src/ENV/
145+
src/env.bak/
146+
src/venv.bak/
147+
148+
# mypy
149+
**/.mypy_cache/
121150

151+
# tox generated files
122152
/.tox
123153
/prefix
124154
worktree*

.homebrew-build-env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# that activate keg-only homebrew package installations
33

44
HOMEBREW=`brew --prefix` || return 1
5-
for l in gettext bzip2; do
5+
for l in gettext bzip2 texinfo; do
66
if [ -d "$HOMEBREW/opt/$l/bin" ]; then
77
PATH="$HOMEBREW/opt/$l/bin:$PATH"
88
fi

.zenodo.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"description": "Mirror of the Sage https://sagemath.org/ source tree",
33
"license": "other-open",
4-
"title": "sagemath/sage: 9.3.beta0",
5-
"version": "9.3.beta0",
4+
"title": "sagemath/sage: 9.3.beta1",
5+
"version": "9.3.beta1",
66
"upload_type": "software",
7-
"publication_date": "2020-11-01",
7+
"publication_date": "2020-11-07",
88
"creators": [
99
{
1010
"affiliation": "SageMath.org",
@@ -15,7 +15,7 @@
1515
"related_identifiers": [
1616
{
1717
"scheme": "url",
18-
"identifier": "https://github.com/sagemath/sage/tree/9.3.beta0",
18+
"identifier": "https://github.com/sagemath/sage/tree/9.3.beta1",
1919
"relation": "isSupplementTo"
2020
},
2121
{

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
SageMath version 9.3.beta0, Release Date: 2020-11-01
1+
SageMath version 9.3.beta1, Release Date: 2020-11-07

bootstrap

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -260,13 +260,6 @@ MAKE_SILENT=""
260260
$MAKE ${MAKE_SILENT} bootstrap-clean 2>/dev/null
261261
mkdir config 2>/dev/null
262262

263-
# If Sage has not been built yet, this will fail due to a missing
264-
# sage-env-config.
265-
if [ -f src/bin/sage-env-config ]; then
266-
. src/bin/sage-env-config
267-
. src/bin/sage-env
268-
fi
269-
270263
if [ $ALWAYSDOWNLOAD = yes ]; then
271264
if [ -n "$CONFTARBALL_URL" ]; then
272265
URL="$CONFTARBALL_URL"/configure-$CONFVERSION.tar.gz

build/bin/sage-guess-package-system

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# First test for user-installable package systems, then system package systems
44
if conda --version > /dev/null 2>&1; then
55
if [ -z "$CONDA_DEFAULT_ENV" ]; then
6-
echo >&2 -n "(ignoring conda because no environment is active) "
6+
printf >&2 "(ignoring conda because no environment is active) "
77
else
88
echo conda
99
exit

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=8e62a22481989ce61bb06adab0ce926c555604c5
3-
md5=3ea78ce307e26ca687652bc8d6bde85d
4-
cksum=791004627
2+
sha1=13ac5ae7fa66fb0f1dc4fb09b4c5c6d72918a3ef
3+
md5=67b20028087b39225833e6a7fe2553fe
4+
cksum=832894188
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f1e553872604276da99fb4dc017b515766c38532
1+
8e72e1b9c9b3e9b84c29245666493e0a1bd48cab

0 commit comments

Comments
 (0)