Skip to content

Commit d74528c

Browse files
author
Matthias Koeppe
committed
Merge tag '9.8.beta4' into t/34658/update_numpy_to_1_23_4
SageMath version 9.8.beta4, Release Date: 2022-11-21
2 parents bbf5f95 + 84f02af commit d74528c

File tree

489 files changed

+13803
-3643
lines changed

Some content is hidden

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

489 files changed

+13803
-3643
lines changed

.github/workflows/ci-macos.yml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,8 @@ jobs:
4242
# python3_xcode is only accepted if enough packages are available from the system
4343
# --> to test "minimal", we would need https://trac.sagemath.org/ticket/30949
4444
tox_env: [homebrew-macos-usrlocal-minimal, homebrew-macos-usrlocal-standard, homebrew-macos-usrlocal-maximal, homebrew-macos-usrlocal-python3_xcode-standard, conda-forge-macos-minimal, conda-forge-macos-standard, conda-forge-macos-maximal]
45-
# As of 2021-12, default xcode
46-
# - on macos-10.15: 12.4
47-
# - on macos-latest (= macos-11): 13.1
48-
# https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xcode
4945
xcode_version_factor: [default]
50-
os: [ macos-10.15, macos-latest ]
46+
os: [ macos-11, macos-12 ]
5147
env:
5248
TOX_ENV: local-${{ matrix.tox_env }}
5349
LOCAL_ARTIFACT_NAME: sage-local-commit-${{ github.sha }}-tox-local-${{ matrix.tox_env }}-${{ matrix.os }}-xcode_${{ matrix.xcode_version_factor }}
@@ -158,22 +154,10 @@ jobs:
158154
fail-fast: false
159155
max-parallel: 4
160156
matrix:
161-
os: [ macos-10.15, macos-11.0 ]
162-
tox_system_factor: [macos-nobootstrap, macos-nobootstrap-python3_pythonorg]
157+
os: [ macos-11, macos-12 ]
158+
tox_system_factor: [macos-nobootstrap]
163159
tox_packages_factor: [minimal]
164-
# As of 2021-03, default is 12.4
165-
# https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xcode
166160
xcode_version_factor: [default]
167-
include:
168-
# Test xcode 11.7 only on macos-10.15
169-
- tox_system_factor: macos-nobootstrap
170-
tox_packages_factor: minimal
171-
xcode_version_factor: 11.7
172-
os: macos-10.15
173-
- tox_system_factor: macos-nobootstrap-python3_pythonorg
174-
tox_packages_factor: minimal
175-
xcode_version_factor: 11.7
176-
os: macos-10.15
177161
env:
178162
TOX_ENV: local-${{ matrix.tox_system_factor }}-${{ matrix.tox_packages_factor }}
179163
LOGS_ARTIFACT_NAME: logs-commit-${{ github.sha }}-tox-local-${{ matrix.tox_system_factor }}-${{ matrix.tox_packages_factor }}-xcode_${{ matrix.xcode_version_factor }}
@@ -198,13 +182,6 @@ jobs:
198182
- name: Install test prerequisites
199183
run: |
200184
sudo /usr/bin/python3 -m pip install tox
201-
- name: Install python3 from python.org
202-
# As of 2020-03-30 (https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md),
203-
# Python 3.7.7 is installed on GitHub Actions runners. But we install our own copy from the python.org binary package.
204-
run: |
205-
curl -o python3.pkg https://www.python.org/ftp/python/3.7.7/python-3.7.7-macosx10.9.pkg
206-
sudo installer -verbose -pkg python3.pkg -target /
207-
if: contains(matrix.tox_system_factor, 'python3_pythonorg')
208185
- name: Build and test with tox
209186
# We use a high parallelization on purpose in order to catch possible parallelization bugs in the build scripts.
210187
# For doctesting, we use a lower parallelization to avoid timeouts.

.lgtm.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.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.8.beta3",
5-
"version": "9.8.beta3",
4+
"title": "sagemath/sage: 9.8.beta4",
5+
"version": "9.8.beta4",
66
"upload_type": "software",
7-
"publication_date": "2022-10-30",
7+
"publication_date": "2022-11-21",
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.8.beta3",
18+
"identifier": "https://github.com/sagemath/sage/tree/9.8.beta4",
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.8.beta3, Release Date: 2022-10-30
1+
SageMath version 9.8.beta4, Release Date: 2022-11-21

build/bin/write-dockerfile.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,15 @@ EOF
6363
RUN sed -i.bak $DIST_UPGRADE /etc/apt/sources.list && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
6464
EOF
6565
fi
66-
if [ -n "$EXTRA_REPOSITORY" ]; then
66+
if [ -n "$EXTRA_REPOSITORIES" ]; then
6767
cat <<EOF
6868
RUN $UPDATE $INSTALL software-properties-common && ($INSTALL gpg gpg-agent || echo "(ignored)")
69-
RUN $SUDO add-apt-repository $EXTRA_REPOSITORY
7069
EOF
70+
for repo in $EXTRA_REPOSITORIES; do
71+
cat <<EOF
72+
RUN $SUDO add-apt-repository $repo
73+
EOF
74+
done
7175
fi
7276
esac
7377
;;

build/make/Makefile.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,9 @@ $(foreach pkgname, $(NORMAL_PACKAGES) $(SCRIPT_PACKAGES),\
443443
#
444444
# Since Python's self-tests seem to fail on all platforms, we disable
445445
# its test suite by default.
446+
# meson_python 0.10.0 fails on some platforms, so we reduce it to warnings.
446447
# However, if SAGE_CHECK=warn, we do not do that.
447-
SAGE_CHECK_PACKAGES_DEFAULT_yes := !python3
448+
SAGE_CHECK_PACKAGES_DEFAULT_yes := !python3,?meson_python
448449
SAGE_CHECK_PACKAGES_DEFAULT_warn :=
449450
SAGE_CHECK_PACKAGES_DEFAULT_no :=
450451
comma := ,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
python3.10
22
python3.10-dev
3+
python3.10-distutils
34
python3.10-venv
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
python3.11
22
python3.11-dev
3+
python3.11-distutils
34
python3.11-venv
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python312
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python312

0 commit comments

Comments
 (0)