Skip to content

Commit 8085a00

Browse files
committed
Merge branch 'develop' into delta_classification
2 parents 2b62c48 + 543f8d6 commit 8085a00

File tree

237 files changed

+6298
-4156
lines changed

Some content is hidden

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

237 files changed

+6298
-4156
lines changed

.github/workflows/ci-conda.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
matrix:
3535
os: [ubuntu-latest, macos-latest]
3636
python: ['3.9', '3.10', '3.11']
37-
conda-env: [environment, environment-optional]
37+
# Optional environment is disabled for now as its not yet working
38+
# environment: [environment, environment-optional]
39+
conda-env: [environment]
3840

3941
steps:
4042
- uses: actions/checkout@v3
@@ -100,19 +102,20 @@ jobs:
100102
SAGE_NUM_THREADS: 2
101103

102104
- name: Verify dependencies
103-
if: always()
105+
if: success() || failure()
104106
shell: bash -l {0}
105107
run: pip check
106108

107109
- name: Test
110+
if: success() || failure()
108111
shell: bash -l {0}
109112
run: ./sage -t --all -p0
110113

111114
- name: Print logs
115+
if: always()
112116
run: |
113117
for file in $(find . -type f -name "*.log"); do
114118
echo "::group::$file"
115119
cat "$file"
116120
echo "::endgroup::"
117121
done
118-
if: always()

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"python.linting.enabled": true,
2828
// The following pycodestyle arguments are the same as the pycodestyle-minimal
2929
// tox environnment, see the file SAGE_ROOT/src/tox.ini
30-
"python.linting.pycodestyleArgs": ["--select= E111,E21,E222,E227,E251,E271,E303,E306,E401,E502,E701,E702,E703,E71,E72,W291,W293,W391,W605"],
30+
"python.linting.pycodestyleArgs": ["--select= E111,E21,E222,E227,E25,E271,E303,E306,E401,E502,E701,E702,E703,E71,E72,W291,W293,W391,W605"],
3131
"cSpell.words": [
3232
"furo",
3333
"Conda",

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title: SageMath
44
abstract: SageMath is a free open-source mathematics software system.
55
authors:
66
- name: "The SageMath Developers"
7-
version: 10.1.beta6
7+
version: 10.1.beta7
88
doi: 10.5281/zenodo.593563
9-
date-released: 2023-07-09
9+
date-released: 2023-07-20
1010
repository-code: "https://github.com/sagemath/sage"
1111
url: "https://www.sagemath.org/"

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
SageMath version 10.1.beta6, Release Date: 2023-07-09
1+
SageMath version 10.1.beta7, Release Date: 2023-07-20

bootstrap

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,14 @@ SAGE_SPKG_FINALIZE([$pkgname], [$pkgtype], [$SPKG_SOURCE], [$SPKG_TREE_VAR])"
110110
echo 'changequote(>>>`<<<, >>>'"'"'<<<)dnl' >> $a
111111
done
112112

113-
for pkgname in $(sage-package list --has-file bootstrap); do
114-
(cd build/pkgs/$pkgname && ./bootstrap) || exit 1
113+
for pkgname in $(sage-package list --has-file bootstrap "$@"); do
114+
(cd build/pkgs/$pkgname && if [ -x bootstrap ]; then ./bootstrap; else echo >&2 "bootstrap:$LINENO: Nothing to do for $pkgname"; fi) || exit 1
115115
done
116116

117+
if [ $# != 0 ]; then
118+
return
119+
fi
120+
117121
# Default to no filter if "-q" was not passed.
118122
QUIET_SED_FILTER=""
119123
if [ "${BOOTSTRAP_QUIET}" = "yes" ]; then
@@ -126,7 +130,6 @@ SAGE_SPKG_FINALIZE([$pkgname], [$pkgtype], [$SPKG_SOURCE], [$SPKG_TREE_VAR])"
126130
# stdout alone. Basically we swap the two descriptors using a
127131
# third, filter, and then swap them back.
128132
./bootstrap-conda && \
129-
src/doc/bootstrap && \
130133
aclocal -I m4 && \
131134
automake --add-missing --copy build/make/Makefile-auto 3>&1 1>&2 2>&3 \
132135
| sed "${QUIET_SED_FILTER}" 3>&1 1>&2 2>&3 && \
@@ -236,7 +239,7 @@ save () {
236239

237240

238241
usage () {
239-
echo >&2 "Usage: $0 [-d|-D|-s] [-u <URL>] [-h] [-q]"
242+
echo >&2 "Usage: $0 [-d|-D|-s] [-u <URL>] [-h] [-q] [SPKG...]"
240243
echo >&2 ""
241244
echo >&2 "Options:"
242245
echo >&2 " -d fall back to downloading (released versions only)"
@@ -269,6 +272,7 @@ do
269272
?) usage; exit 2;;
270273
esac
271274
done
275+
shift $(($OPTIND - 1))
272276
export BOOTSTRAP_QUIET
273277
CONFBALL="upstream/configure-$CONFVERSION.tar.gz"
274278

@@ -278,14 +282,22 @@ if [ $DOWNLOAD$SAVE = yesyes ]; then
278282
exit 2
279283
fi
280284

281-
# Start cleanly (it's not a problem if this fails)
285+
if [ $# != 0 -a $DOWNLOAD$ALWAYSDOWNLOAD$SAVE != nonono ]; then
286+
echo >&2 "$0: Cannot combine -d, -D, -s, -u with SPKG arguments"
287+
usage
288+
exit 2
289+
fi
290+
291+
# Start cleanly when a full bootstrap is happening (it's not a problem if this fails)
282292
# POSIX supports two separate incompatible formats for the MAKEFLAGS
283293
# variable, so instead of guessing, we simply define our own variable
284294
# to optionally pass an "-s" (silent) flag to Make.
285-
MAKE_SILENT=""
286-
[ "${BOOTSTRAP_QUIET}" = "yes" ] && MAKE_SILENT="-s"
287-
$MAKE ${MAKE_SILENT} bootstrap-clean 2>/dev/null
288-
mkdir config 2>/dev/null
295+
if [ $# = 0 ]; then
296+
MAKE_SILENT=""
297+
[ "${BOOTSTRAP_QUIET}" = "yes" ] && MAKE_SILENT="-s"
298+
$MAKE ${MAKE_SILENT} bootstrap-clean 2>/dev/null
299+
fi
300+
mkdir -p config 2>/dev/null
289301

290302
if [ $ALWAYSDOWNLOAD = yes ]; then
291303
if [ -n "$CONFTARBALL_URL" ]; then
@@ -302,7 +314,7 @@ if [ $ALWAYSDOWNLOAD = yes ]; then
302314
bootstrap_download || exit $?
303315
fi
304316
else
305-
bootstrap
317+
bootstrap "$@"
306318
fi
307319

308320
if [ $SAVE = yes ]; then

build/pkgs/barvinok/SPKG.rst

Lines changed: 2 additions & 1 deletion

build/pkgs/barvinok/checksums.ini

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
tarball=barvinok-VERSION.tar.bz2
2-
sha1=31c50d4b2a4cebe049072fd54c6e41ccece5ec1d
3-
md5=60082222a73b2d4fd430da7b770a4072
4-
cksum=355377045
1+
tarball=barvinok-VERSION.tar.xz
2+
sha1=1e17e72732f7e96017d9ae0c3394c3c77c185f2e
3+
md5=57066c5aa5628b89345c16ed95f93d7e
4+
cksum=2863920036
5+
upstream_url=https://sourceforge.net/projects/barvinok/files/barvinok-VERSION.tar.xz
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
math/barvinok
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.41.1
1+
0.41.7

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=354d134d4bcdedba55ed2bcb1eac6ea33146ca15
3-
md5=2143a40fdce9ed5cb8b29a6232be4789
4-
cksum=304076036
2+
sha1=017780512407f8da87a091c485cf8c7162b5adaf
3+
md5=4e3e25464ee850c2593f16364bd6b206
4+
cksum=531215747

0 commit comments

Comments
 (0)