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

Commit b49bbdf

Browse files
author
Matthias Koeppe
committed
Merge #32733
2 parents c219c17 + e2d1765 commit b49bbdf

File tree

397 files changed

+6836
-4998
lines changed

Some content is hidden

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

397 files changed

+6836
-4998
lines changed

.homebrew-build-env

Lines changed: 2 additions & 2 deletions
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 texinfo; do
5+
for l in gettext bzip2 texinfo polymake; do
66
if [ -d "$HOMEBREW/opt/$l/bin" ]; then
77
PATH="$HOMEBREW/opt/$l/bin:$PATH"
88
fi
@@ -23,7 +23,7 @@ export PKG_CONFIG_PATH
2323
LIBRARY_PATH="$HOMEBREW/lib$LIBRARY_PATH"
2424
[ -z "$CPATH" ] || CPATH=":${CPATH}"
2525
CPATH="$HOMEBREW/include$CPATH"
26-
for l in readline bzip2 ntl; do
26+
for l in readline bzip2 ntl polymake; do
2727
if [ -d "$HOMEBREW/opt/$l/lib" ]; then
2828
LIBRARY_PATH="$HOMEBREW/opt/$l/lib:$LIBRARY_PATH"
2929
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.5.beta5",
5-
"version": "9.5.beta5",
4+
"title": "sagemath/sage: 9.5.beta6",
5+
"version": "9.5.beta6",
66
"upload_type": "software",
7-
"publication_date": "2021-10-28",
7+
"publication_date": "2021-11-12",
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.5.beta5",
18+
"identifier": "https://github.com/sagemath/sage/tree/9.5.beta6",
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.5.beta5, Release Date: 2021-10-28
1+
SageMath version 9.5.beta6, Release Date: 2021-11-12

build/bin/sage-dist-helpers

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,12 @@
5656
# be given as arguments. If $SAGE_DESTDIR is not set then the command is
5757
# run with $SAGE_SUDO, if set.
5858
#
59-
# - sdh_pip_install [...]
59+
# - sdh_pip_install [--no-deps] [--build-isolation] [...]
6060
#
61-
# Runs `pip install` with the given arguments, as well as additional
62-
# default arguments used for installing packages into Sage with pip.
63-
# Currently this is just a wrapper around the `sage-pip-install` command.
61+
# Builds a wheel using `pip wheel` with the given options [...], then installs
62+
# the wheel. Unless the special option --build-isolation is given,
63+
# the wheel is built using the option --no-build-isolation.
64+
# If the special option --no-deps is given, it is passed to pip install.
6465
# If $SAGE_DESTDIR is not set then the command is run with $SAGE_SUDO, if
6566
# set.
6667
#
@@ -240,10 +241,31 @@ sdh_pip_install() {
240241
echo "Installing $PKG_NAME"
241242
mkdir -p dist
242243
rm -f dist/*.whl
243-
python3 -m pip wheel --use-feature=in-tree-build --wheel-dir=dist --no-binary :all: --verbose --no-deps --no-index --isolated --no-build-isolation --ignore-requires-python "$@" || \
244+
install_options=""
245+
# pip has --no-build-isolation but no flag that turns the default back on...
246+
build_isolation_option="--no-build-isolation --no-binary :all:"
247+
while [ $# -gt 0 ]; do
248+
case "$1" in
249+
--build-isolation)
250+
# If a package requests build isolation, we allow it to provision
251+
# its build environment using the stored wheels.
252+
# We pass --find-links and remove the --no-binary option.
253+
# The SPKG needs to declare "setuptools_wheel" as a dependency.
254+
build_isolation_option="--find-links=$SAGE_SPKG_WHEELS"
255+
;;
256+
--no-deps)
257+
install_options="$install_options $1"
258+
;;
259+
*)
260+
break
261+
;;
262+
esac
263+
shift
264+
done
265+
python3 -m pip wheel --use-feature=in-tree-build --wheel-dir=dist --verbose --no-deps --no-index --isolated --ignore-requires-python $build_isolation_option "$@" || \
244266
sdh_die "Error building a wheel for $PKG_NAME"
245267

246-
sdh_store_and_pip_install_wheel .
268+
sdh_store_and_pip_install_wheel $install_options .
247269
}
248270

249271
sdh_store_wheel() {

build/bin/sage-spkg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,15 +498,14 @@ export PKG_NAME="$PKG_NAME"
498498
export PKG_BASE="$PKG_BASE"
499499
export PKG_VER="$PKG_VER"
500500
501-
for lib in "\$SAGE_ROOT/build/bin/sage-dist-helpers" "\$SAGE_SRC/bin/sage-env-config" "\$SAGE_SRC/bin/sage-env" "\$SAGE_ROOT/build/bin/sage-build-env-config" "\$SAGE_ROOT/build/bin/sage-build-env"; do
501+
for lib in "\$SAGE_ROOT/build/bin/sage-dist-helpers" "\$SAGE_SRC/bin/sage-src-env-config" "\$SAGE_SRC/bin/sage-env-config" "\$SAGE_SRC/bin/sage-env" "\$SAGE_ROOT/build/bin/sage-build-env-config" "\$SAGE_ROOT/build/bin/sage-build-env"; do
502502
source "\$lib"
503503
if [ \$? -ne 0 ]; then
504504
echo >&2 "Error: failed to source \$lib"
505505
echo >&2 "Is \$SAGE_ROOT the correct SAGE_ROOT?"
506506
exit 1
507507
fi
508508
done
509-
export PATH="$SAGE_INST_LOCAL/bin:$PATH"
510509
511510
export SAGE_INST_LOCAL="$SAGE_INST_LOCAL"
512511
@@ -773,6 +772,7 @@ if [ "$SAGE_CHECK" = "yes" -o "$SAGE_CHECK" = "warn" ]; then
773772
if [ $? -ne 0 ]; then
774773
TEST_SUITE_RESULT="failed"
775774
if [ "$SAGE_CHECK" = "warn" ]; then
775+
# The following warning message must be consistent with SAGE_ROOT/build/make/install (see trac:32781)
776776
error_msg "Warning: Failures testing package $PKG_NAME (ignored)" "make check"
777777
else
778778
error_msg "Error testing package $PKG_NAME" "make check"

build/make/install

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ EOF
122122

123123
elif [ "$SAGE_CHECK" = "warn" ]; then
124124
echo "SAGE_CHECK=warn, so scanning the log files. This may take a few seconds."
125-
warnings=`look_for_errors "$SAGE_LOGS/*.log" 20 "^Warning: Error testing" package`
125+
# The following warning message must be consistent with SAGE_ROOT/build/bin/sage-spkg (see trac:32781)
126+
warnings=`look_for_errors "$SAGE_LOGS/*.log" 20 "^Warning: Failures testing package" package`
126127
if [ -n "$warnings" ]; then
127128
cat >&2 <<EOF
128129
***************************************************************

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=ab6592f2216c48049bbbcfb3a42c3e157f44d917
3-
md5=fc3a50e0f47802e55969eade44648af4
4-
cksum=3704729867
2+
sha1=bdfd5753a2548365230216455d9a543fe238f092
3+
md5=49ffa01e32a876dd4feea975d822351e
4+
cksum=3517586928
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c5a87834e7e2939b878a5134cd240e6c712bd573
1+
fda367752b5e7afa3ec0fda483b162645192e008
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tarball=database_knotinfo-VERSION.tar.gz
2-
sha1=549e3162b2ba6942dede30366072d10e26643f54
3-
md5=c6487321cd2e0fd6b9f9ee7bdfa19993
4-
cksum=2255768788
2+
sha1=187e6b5ee2a935e3a50bc7648b181dfc7cb7bfa2
3+
md5=90822e09a1a84c8dbb84e20773c367f1
4+
cksum=1855405219
55
upstream_url=https://pypi.io/packages/source/d/database_knotinfo/database_knotinfo-VERSION.tar.gz
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021.9.1
1+
2021.10.1

0 commit comments

Comments
 (0)