Skip to content

Commit

Permalink
Merge branch 'develop' into i/35531/left_right_confusion_ore_polynomial
Browse files Browse the repository at this point in the history
  • Loading branch information
kwankyu committed May 31, 2023
2 parents 1ffd68c + 3202f65 commit 2f42904
Show file tree
Hide file tree
Showing 657 changed files with 32,609 additions and 25,234 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Build & Test
on:
pull_request:
push:
branches: ['**']
# Ignore pushes on tags to prevent two uploads of codecov reports
tags-ignore: ['**']
workflow_dispatch:
# Allow to run manually
inputs:
Expand Down Expand Up @@ -91,7 +94,7 @@ jobs:
if: always() && steps.build.outcome == 'success'
run: |
../sage -python -m pip install coverage
../sage -python -m coverage run ./bin/sage-runtests --all -p2
../sage -python -m coverage run ./bin/sage-runtests --all -p2 --random-seed=286735480429121101562228604801325644303
working-directory: ./src

- name: Prepare coverage results
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ env:
TARGETS: build doc-html
TARGETS_OPTIONAL: ptest

permissions:
packages: write

jobs:

standard-pre:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/doc-publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Triggers after the documentation build has finished,
# Triggers after the documentation build has finished,
# taking the artifact and uploading it to netlify
name: Publish documentation

Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
});
var fs = require('fs');
fs.writeFileSync('${{github.workspace}}/docs.zip', Buffer.from(download.data));
- name: Extract docs
run: unzip docs.zip -d docs && unzip docs/docs.zip -d docs/docs

Expand All @@ -72,9 +72,8 @@ jobs:
header: preview-comment
recreate: true
message: |
[Documentation preview for this PR](${{ steps.deploy-netlify.outputs.NETLIFY_URL }}) is ready! :tada:
Built with commit: ${{ steps.source-run-info.outputs.sourceHeadSha }}
[Documentation preview for this PR](${{ steps.deploy-netlify.outputs.NETLIFY_URL }}) (built with commit ${{ steps.source-run-info.outputs.sourceHeadSha }}) is ready! :tada:
- name: Update deployment status PR check
uses: myrotvorets/set-commit-status-action@1.1.6
if: ${{ always() }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ jobs:
repository: ${{ inputs.sage_repo }}
ref: ${{ inputs.sage_ref }}
fetch-depth: 10000
- name: fetch tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: free disk space
run: |
df -h
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"python.linting.enabled": true,
// The following pycodestyle arguments are the same as the pycodestyle-minimal
// tox environnment, see the file SAGE_ROOT/src/tox.ini
"python.linting.pycodestyleArgs": ["--select=E111,E306,E401,E701,E702,E703,W291,W391,W605,E711,E712,E713,E721,E722"],
"python.linting.pycodestyleArgs": ["--select= E111,E211,E271,E303,E306,E401,E502,E701,E702,E703,E714,W291,W293,W391,W605,E711,E712,E713,E721,E722"],
"cSpell.words": [
"furo",
"Conda",
Expand Down
8 changes: 4 additions & 4 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"description": "Mirror of the Sage https://sagemath.org/ source tree",
"license": "other-open",
"title": "sagemath/sage: 10.0",
"version": "10.0",
"title": "sagemath/sage: 10.1.beta1",
"version": "10.1.beta1",
"upload_type": "software",
"publication_date": "2023-05-20",
"publication_date": "2023-05-28",
"creators": [
{
"affiliation": "SageMath.org",
Expand All @@ -15,7 +15,7 @@
"related_identifiers": [
{
"scheme": "url",
"identifier": "https://github.com/sagemath/sage/tree/10.0",
"identifier": "https://github.com/sagemath/sage/tree/10.1.beta1",
"relation": "isSupplementTo"
},
{
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SageMath version 10.0, Release Date: 2023-05-20
SageMath version 10.1.beta1, Release Date: 2023-05-28
2 changes: 1 addition & 1 deletion bootstrap-conda
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ OPTIONAL_SYSTEM_PACKAGES=
SAGELIB_SYSTEM_PACKAGES=
SAGELIB_OPTIONAL_SYSTEM_PACKAGES=
DEVELOP_SYSTEM_PACKAGES=
for PKG_BASE in $(sage-package list --has-file distros/conda.txt); do
for PKG_BASE in $(sage-package list --has-file distros/conda.txt --exclude _sagemath); do
PKG_SCRIPTS=build/pkgs/$PKG_BASE
SYSTEM_PACKAGES_FILE=$PKG_SCRIPTS/distros/conda.txt
PKG_TYPE=$(cat $PKG_SCRIPTS/type)
Expand Down
7 changes: 4 additions & 3 deletions build/pkgs/4ti2/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=4ti2-VERSION.tar.gz
sha1=9a9a6913bcd52b667355a7df7fa954ca101054cb
md5=90def0d6b01a0247e439356777467497
cksum=439147307
sha1=3d41f30ea3ef94c293eae30c087494269fc1a6b9
md5=1215872325ddfc561865ecb22b2bccb2
cksum=2439180289
upstream_url=https://github.com/4ti2/4ti2/releases/download/Release_1_6_10/4ti2-1.6.10.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/4ti2/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.7.p0
1.6.10
5 changes: 4 additions & 1 deletion build/pkgs/_bootstrap/distros/conda.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Packages needed for ./bootstrap
autoconf automake libtool
autoconf
automake
libtool
pkg-config
1 change: 1 addition & 0 deletions build/pkgs/_bootstrap/distros/slackware.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
autoconf
automake
libtool
pkg-config
1 change: 1 addition & 0 deletions build/pkgs/_bootstrap/distros/void.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Packages needed for ./bootstrap
autoconf automake libtool
xtools mk-configure
pkg-config
1 change: 0 additions & 1 deletion build/pkgs/_prereq/distros/conda.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ perl
python
tar
bc
pkg-config
1 change: 0 additions & 1 deletion build/pkgs/_prereq/distros/slackware.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ python3 # on slackware-current
flex
# for https upstream_url downloads
ca-certificates
pkg-config
libxml2
cyrus-sasl
1 change: 0 additions & 1 deletion build/pkgs/_prereq/distros/void.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ libgomp-devel
m4
make
perl
pkg-config
python3
tar
which
6 changes: 3 additions & 3 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=configure-VERSION.tar.gz
sha1=7460b5a298a1d6e1e22816174a89526fd3baeb6f
md5=adab6d06997313cc52c8da7dfbcf94b2
cksum=2723491418
sha1=3420eff6767e23f15913f1293a1686a66d816453
md5=56ba700a555b960eec313fa20261433e
cksum=3706935509
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8476c4695880ff35d9e534e916d2841a67cba0de
21e8f9faf13b5d278c4289a7f818c8aa43d47c19
2 changes: 1 addition & 1 deletion build/pkgs/ecl/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(MP_LIBRARY) readline gc libffi
$(MP_LIBRARY) readline gc libffi info

----------
All lines of this file are ignored except the first.
5 changes: 1 addition & 4 deletions build/pkgs/ecl/spkg-configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ SAGE_SPKG_CONFIGURE([ecl], [
AC_SUBST(SAGE_ECL_CONFIG, [$ECL_CONFIG])
fi
# Maxima cannot yet be provided by the system, so we always use
# Kenzo cannot yet be provided by the system, so we always use
# the SAGE_LOCAL path for now.
AC_SUBST(SAGE_MAXIMA_FAS, ['${prefix}'/lib/ecl/maxima.fas])
# Likewise for the optional Kenzo SPKG
AC_SUBST(SAGE_KENZO_FAS, ['${prefix}'/lib/ecl/kenzo.fas])
])
12 changes: 0 additions & 12 deletions build/pkgs/ecl/spkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,6 @@ cp "$SAGE_ROOT"/config/config.* src

if [ x"$SAGE_SPKG_INSTALL_DOCS" != xyes ] ; then
ECL_CONFIGURE="$ECL_CONFIGURE --enable-manual=no"
else
# ECL 2020 needs modern makeinfo
command -v texi2any >/dev/null 2>&1
if [ $? -ne 0 ]; then # texi2any not found -> makeinfo too old, if present
ECL_CONFIGURE="$ECL_CONFIGURE --enable-manual=no"
else
if makeinfo -c foo 2>&1 | grep -q invalid; then
# makeinfo found but does not support all options that ecl
# likes to use
ECL_CONFIGURE="$ECL_CONFIGURE --enable-manual=no"
fi
fi
fi

sdh_configure $SAGE_CONFIGURE_GMP \
Expand Down
2 changes: 1 addition & 1 deletion build/pkgs/gcc/spkg-configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ SAGE_SPKG_CONFIGURE_BASE([gcc], [
fi
AC_SUBST(CFLAGS_MARCH)
# Determine wether compiler supports OpenMP.
# Determine whether compiler supports OpenMP.
AC_LANG_PUSH([C])
AX_OPENMP([
AC_SUBST(OPENMP_CFLAGS)
Expand Down
2 changes: 1 addition & 1 deletion build/pkgs/giac/spkg-configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SAGE_SPKG_CONFIGURE([giac], [
m4_pushdef([GIAC_MAX_VERSION], [1.9.999])
AC_CACHE_CHECK([for giac >= ]GIAC_MIN_VERSION[, <= ]GIAC_MAX_VERSION, [ac_cv_path_GIAC], [
AC_PATH_PROGS_FEATURE_CHECK([GIAC], [giac], [
giac_version=$($ac_path_GIAC --version 2> /dev/null | tail -1)
giac_version=$($ac_path_GIAC --version 2> /dev/null | tail -n 1)
AS_IF([test -n "$giac_version"], [
AX_COMPARE_VERSION([$giac_version], [ge], GIAC_MIN_VERSION, [
AX_COMPARE_VERSION([$giac_version], [le], GIAC_MAX_VERSION, [
Expand Down
2 changes: 1 addition & 1 deletion build/pkgs/info/distros/fedora.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
texinfo
texinfo info
12 changes: 11 additions & 1 deletion build/pkgs/info/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
SAGE_SPKG_CONFIGURE([info], [
AC_PATH_PROG(INFO, info)
AS_IF([test -z "${INFO}"], [sage_spkg_install_info=yes])
AS_IF([test -z "${INFO}"], [sage_spkg_install_info=yes
], [
dnl very old makeinfo are not texi2any, newer are symlinks to texi2any
AC_PATH_PROG(TEXI2ANY, texi2any)
AS_IF([test -z "${TEXI2ANY}"], [sage_spkg_install_info=yes
], [
AS_IF([makeinfo -c foo 2>&1 | grep -q invalid], [
dnl makeinfo found, but too old, and does not support all options that ecl likes to use
sage_spkg_install_info=yes])
])
])
])
2 changes: 1 addition & 1 deletion build/pkgs/info/spkg-install.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cd src/info
cd src
sdh_make_install
2 changes: 1 addition & 1 deletion build/pkgs/info/type
Original file line number Diff line number Diff line change
@@ -1 +1 @@
optional
standard
2 changes: 1 addition & 1 deletion build/pkgs/jupyter_packaging/distros/conda.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
jupyter-packaging
# jupyter-packaging # only a build dependency, not needed at runtime; conda package does not support Python 3.11 as of 2023-05
7 changes: 1 addition & 6 deletions build/pkgs/libgd/SPKG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,4 @@ Upstream Contact

- https://libgd.github.io
- Pierre Joye (http://blog.thepimp.net)
- http://libgd.bitbucket.org/

Special Update/Build Instructions
---------------------------------

See spkg-src script.
- https://github.com/libgd/libgd
6 changes: 3 additions & 3 deletions build/pkgs/libgd/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=libgd-VERSION.tar.xz
sha1=dddf5e9d25cb0b20b8642d5cbcfad67f8903532f
md5=0ee844caca06bb02bf4b4dabdfab4fb1
cksum=902217083
sha1=7ce6ecb5aed26c08246a37b6351c886ab4b51ca2
md5=7a58b54d375eda236414201252a0ee3c
cksum=1360697583
upstream_url=https://github.com/libgd/libgd/releases/download/gd-VERSION/libgd-VERSION.tar.xz
2 changes: 1 addition & 1 deletion build/pkgs/libgd/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
libpng freetype xz
libpng xz

# xz needed to unpack tarball when sage-bootstrap-python is Python < 3.3
----------
Expand Down
2 changes: 1 addition & 1 deletion build/pkgs/libgd/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.2
2.3.3
24 changes: 6 additions & 18 deletions build/pkgs/libgd/spkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,13 @@ cd src

export CFLAGS="-g $CFLAGS"

if [ "$UNAME" = "CYGWIN" ]; then
# Compiling with vpx support creates a broken library in some cases
# because the vpx package itself is broken on some older Cygwin versions;
# we don't need this feature so safer to just disable
# https://github.com/sagemath/sage/issues/27970
LIBGD_CONFIGURE="--without-vpx $LIBGD_CONFIGURE"
fi
if [ -n "$SAGE_FREETYPE_PREFIX" ]; then
LIBGD_CONFIGURE="--with-freetype=$SAGE_FREETYPE_PREFIX $LIBGD_CONFIGURE"
else
LIBGD_CONFIGURE="--with-freetype=yes $LIBGD_CONFIGURE"
fi

# We explicitly disable X and fontconfig support, since (1) X is not a SAGE dependency,
# and (2) the gd build fails on a lot of OS X PPC machines when X is enabled.
# Also, libgd will try to link against system libavif/libvmaf and fail
# on Fedora 34
# We explicitly disable X, fontconfig, and support of various formats/libraries.
# We only need png.
# see https://github.com/libgd/libgd/blob/master/configure.ac
sdh_configure --without-jpeg --without-xpm --without-x --without-fontconfig \
--without-avif \
--without-avif --without-freetype --without-raqm --without-liq \
--without-tiff --without-webp --without-heif \
--disable-gd-formats \
--with-zlib="$SAGE_LOCAL" $LIBGD_CONFIGURE
sdh_make
sdh_make_install
34 changes: 0 additions & 34 deletions build/pkgs/libgd/spkg-src

This file was deleted.

6 changes: 3 additions & 3 deletions build/pkgs/maxima/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=maxima-VERSION.tar.gz
sha1=ed15d5285794413ba94412079eca3d0fa55a47bf
md5=9b9ae1dace55b1386739dabaa9122e60
cksum=1765409766
sha1=1010594e6d6082bbd8efaac1b7756ec1721a4ed5
md5=3c01f1daa6936e11d8713fef7751d3fe
cksum=2420393096
upstream_url=https://sourceforge.net/projects/maxima/files/Maxima-source/VERSION-source/maxima-VERSION.tar.gz/download
2 changes: 1 addition & 1 deletion build/pkgs/maxima/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ecl
ecl info

----------
All lines of this file are ignored except the first.
2 changes: 1 addition & 1 deletion build/pkgs/maxima/distros/arch.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
maxima-ecl
maxima-fas
1 change: 1 addition & 0 deletions build/pkgs/maxima/distros/cygwin.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
maxima
1 change: 1 addition & 0 deletions build/pkgs/maxima/distros/freebsd.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
math/maxima
2 changes: 2 additions & 0 deletions build/pkgs/maxima/distros/gentoo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sci-mathematics/maxima[ecls]

2 changes: 1 addition & 1 deletion build/pkgs/maxima/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.45.0.p0
5.46.0
15 changes: 0 additions & 15 deletions build/pkgs/maxima/patches/matrixexp.patch

This file was deleted.

Loading

0 comments on commit 2f42904

Please sign in to comment.