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

Commit 6cbeaa6

Browse files
author
Matthias Koeppe
committed
Merge #32416
2 parents 525c860 + c40df1a commit 6cbeaa6

File tree

392 files changed

+5405
-2210
lines changed

Some content is hidden

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

392 files changed

+5405
-2210
lines changed

.github/workflows/lint.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,3 @@ jobs:
3131
run: pip install tox relint
3232
- name: Lint using relint
3333
run: tox -e relint src/sage/
34-
lint-pyright:
35-
name: Static type check with pyright
36-
runs-on: ubuntu-latest
37-
steps:
38-
- name: Checkout
39-
uses: actions/checkout@v2
40-
- name: Set up node to install pyright
41-
uses: actions/setup-node@v1
42-
with:
43-
node-version: '12'
44-
- name: Install pyright
45-
run: npm install -g pyright
46-
- name: Lint using pyright
47-
run: pyright

.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.beta1",
5-
"version": "9.5.beta1",
4+
"title": "sagemath/sage: 9.5.beta2",
5+
"version": "9.5.beta2",
66
"upload_type": "software",
7-
"publication_date": "2021-09-13",
7+
"publication_date": "2021-09-26",
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.beta1",
18+
"identifier": "https://github.com/sagemath/sage/tree/9.5.beta2",
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.beta1, Release Date: 2021-09-13
1+
SageMath version 9.5.beta2, Release Date: 2021-09-26

build/bin/sage-dist-helpers

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ sdh_pip_install() {
240240
echo "Installing $PKG_NAME"
241241
mkdir -p dist
242242
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 "$@" || \
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 "$@" || \
244244
sdh_die "Error building a wheel for $PKG_NAME"
245245

246246
sdh_store_and_pip_install_wheel .
@@ -275,6 +275,17 @@ sdh_store_wheel() {
275275
}
276276

277277
sdh_store_and_pip_install_wheel() {
278+
local pip_options=""
279+
while [ $# -gt 0 ]; do
280+
case $1 in
281+
-*) pip_options="$pip_options $1"
282+
;;
283+
*)
284+
break
285+
;;
286+
esac
287+
shift
288+
done
278289
sdh_store_wheel "$@"
279290
if [ -n "$SAGE_SUDO" ]; then
280291
# Trac #29585: Do the SAGE_DESTDIR staging of the wheel installation
@@ -295,7 +306,7 @@ sdh_store_and_pip_install_wheel() {
295306
local sudo=""
296307
local root=""
297308
fi
298-
$sudo sage-pip-install $root "$wheel" || \
309+
$sudo sage-pip-install $root $pip_options "$wheel" || \
299310
sdh_die "Error installing ${wheel##*/}"
300311
if [ -n "${SAGE_PKG_DIR}" ]; then
301312
# Record name of installed distribution name for uninstallation.

build/bin/sage-pip-install

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@
33
# built wheel.
44

55
# Default arguments for all packages installed with `pip install`
6-
# --ignore-installed : Force pip to re-install package even if it thinks it's
7-
# already installed (for which it sometimes gets false
8-
# positives for partially-installed packages).
96
# --verbose : Display the output when running setup.py.
10-
# --no-deps : Don't install runtime dependencies from PyPI.
117
# --no-index : Don't look at the package index.
12-
# This also disables pip's version self-check.
8+
# --disable-pip-version-check : Disables pip's version self-check.
139
# --isolated : Don't read configuration files such as
1410
# ~/.pydistutils.cfg
15-
pip_install_flags="--ignore-installed --verbose --no-deps --no-index --isolated"
11+
# --no-cache-dir : Disable the cache.
12+
# (so that no previously built wheels can sneak in to
13+
# resolve runtime dependencies)
14+
pip_install_flags="--verbose --no-index --find-links=$SAGE_SPKG_WHEELS --disable-pip-version-check --isolated --no-cache-dir"
1615

1716
# Note: "sage-pip-install" is meant to be run after $(PYTHON) has
1817
# been installed (either as an spkg or as a venv over a system python3).
@@ -35,6 +34,17 @@ LOCK="$SAGE_LOCAL/var/lock/$PIP.lock"
3534
# to apply a shared lock)
3635
sage-flock -s $LOCK $PYTHON -m pip install $pip_install_flags "$@"
3736
if [ $? -ne 0 ]; then
38-
echo >&2 "Error: installing with $PIP failed"
39-
exit 3
37+
# --ignore-installed : Force pip to re-install package even if it thinks it's
38+
# already installed (for which it sometimes gets false
39+
# positives for partially-installed packages).
40+
# --no-deps : Don't install runtime dependencies from PyPI.
41+
extra_pip_install_flags="--no-deps --ignore-installed --ignore-requires-python"
42+
echo >&2 "Warning: installing with \"$PYTHON -m pip install $pip_install_flags\" failed. Retrying, adding \"$extra_pip_install_flags\""
43+
sage-flock -s $LOCK $PYTHON -m pip install $pip_install_flags $extra_pip_install_flags "$@"
44+
if [ $? -ne 0 ]; then
45+
echo >&2 "Error: installing with pip failed"
46+
exit 3
47+
else
48+
echo >&2 "Warning: The installation needed to use \"$extra_pip_install_flags\" to succeed. This means that a dependencies file in build/pkgs/ needs to be updated. Please report this to [email protected], including the build log of this package."
49+
fi
4050
fi

build/pkgs/bleach/dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$(PYTHON) | $(PYTHON_TOOLCHAIN)
1+
$(PYTHON) packaging six | $(PYTHON_TOOLCHAIN)
22

33
----------
44
All lines of this file are ignored except the first.

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=c68b33782a9f983d5cd132cdb85b9cdc424d5c04
3-
md5=be4260558a6cf800a2e9eda789efc32b
4-
cksum=344926279
2+
sha1=9b22a30a08e51ba00cd1d83434baaefd3185301e
3+
md5=0ac843dd51c77c37da876beae77af4bf
4+
cksum=1637280499
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a2af3f6a457f4c5618b72690a5c0be2b02360afb
1+
0a4f2a302c23d9c821b7be2cd6a7429075b7da60
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=2d758c5f8bf346162d13bec1d5bccfec9d27baa1
3-
md5=ec20d43af0c4ecf59dfd281c6ccc4ef0
4-
cksum=2792610748
2+
sha1=549e3162b2ba6942dede30366072d10e26643f54
3+
md5=c6487321cd2e0fd6b9f9ee7bdfa19993
4+
cksum=2255768788
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,4 +1,4 @@
1-
$(PYTHON) | $(PYTHON_TOOLCHAIN)
1+
$(PYTHON) | $(PYTHON_TOOLCHAIN) $(and $(filter-out no,$(SAGE_CHECK_database_knotinfo)), $(SAGERUNTIME) ipywidgets sympy singular gap libhomfly libbraiding matplotlib)
22

33
----------
44
All lines of this file are ignored except the first.

0 commit comments

Comments
 (0)