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

Commit 4362cae

Browse files
committed
Merge branch 'develop' into t/22349/public/graphs/22349_deprecate_sorting_vertices_and_edges
2 parents 1e1ea24 + 7f71494 commit 4362cae

File tree

422 files changed

+3935
-2489
lines changed

Some content is hidden

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

422 files changed

+3935
-2489
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ on:
44
push:
55
workflow_dispatch:
66
# Allow to run manually
7+
inputs:
8+
platform:
9+
description: 'Platform'
10+
required: true
11+
default: 'ubuntu-focal-standard'
12+
docker_tag:
13+
description: 'Docker tag'
14+
required: true
15+
default: 'dev'
716

817
concurrency:
918
# Cancel previous runs of this workflow for the same branch
@@ -13,7 +22,7 @@ concurrency:
1322
jobs:
1423
build:
1524
runs-on: ubuntu-latest
16-
container: ghcr.io/sagemath/sage/sage-docker-ubuntu-focal-standard-with-targets:dev
25+
container: ghcr.io/sagemath/sage/sage-docker-${{ github.event.inputs.platform || 'ubuntu-focal-standard' }}-with-targets:${{ github.event.inputs.docker_tag || 'dev'}}
1726
steps:
1827
- name: Checkout
1928
uses: actions/checkout@v2
@@ -30,10 +39,16 @@ jobs:
3039
- name: Prepare
3140
run: |
3241
# Install test tools.
33-
# Installation of python3-venv can be removed as soon as a
34-
# base image with a release including #33822 is available
35-
apt-get update
36-
apt-get install -y git python3-venv
42+
if apt-get update && apt-get install -y git python3-venv; then
43+
# Debian-specific temporary code:
44+
# Installation of python3-venv can be removed as soon as a
45+
# base image with a release including #33822 is available
46+
:
47+
else
48+
export PATH="build/bin:$PATH"
49+
eval $(sage-print-system-package-command auto update)
50+
eval $(sage-print-system-package-command auto --spkg --yes --no-install-recommends install git)
51+
fi
3752
# Reuse built SAGE_LOCAL contained in the Docker image
3853
./bootstrap
3954
./configure --enable-build-as-root --prefix=/sage/local --with-sage-venv --enable-editable --enable-download-from-upstream-url

.github/workflows/lint.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,19 @@ jobs:
3636
run: pip install tox relint
3737
- name: Lint using relint
3838
run: tox -e relint src/sage/
39+
lint-rst:
40+
name: Validate docstring markup as RST
41+
runs-on: ubuntu-latest
42+
steps:
43+
- name: Checkout
44+
uses: actions/checkout@v2
45+
- name: Set up Python
46+
uses: actions/setup-python@v2
47+
with:
48+
python-version: 3.8
49+
- name: Install tox
50+
run: pip install tox
51+
- name: Lint using tox -e rst
52+
run: tox -e rst
53+
# Until all errors are fixed:
54+
continue-on-error: true

.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.7.beta5",
5-
"version": "9.7.beta5",
4+
"title": "sagemath/sage: 9.7.beta6",
5+
"version": "9.7.beta6",
66
"upload_type": "software",
7-
"publication_date": "2022-07-10",
7+
"publication_date": "2022-07-24",
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.7.beta5",
18+
"identifier": "https://github.com/sagemath/sage/tree/9.7.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.7.beta5, Release Date: 2022-07-10
1+
SageMath version 9.7.beta6, Release Date: 2022-07-24

bootstrap-conda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ for PKG_BASE in $(sage-package list --has-file distros/conda.txt); do
4545
fi
4646
fi
4747
done
48-
echo >&2 $0:$LINENO: generate conda enviroment files
48+
echo >&2 $0:$LINENO: generate conda environment files
4949
echo "name: sage-build" > environment.yml
5050
echo "channels:" >> environment.yml
5151
echo " - conda-forge" >> environment.yml

build/bin/sage-logger

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ if [ -n "$SAGE_SILENT_BUILD" -a ${use_prefix} = true ]; then
7979
status=$?
8080
if [[ $status != 0 ]]; then
8181
echo " [$logname] error installing, exit status $status. End of log file:"
82-
tail -n 40 "$logfile" | sed "/Please email sage-devel/,$ d;s;^; [$logname] ;" >&2
82+
tail -n 72 "$logfile" | sed "/Please email sage-devel/,$ d;s;^; [$logname] ;" >&2
8383
echo " [$logname] Full log file: $logfile"
8484
else
8585
echo " [$logname] successfully installed."

build/bin/sage-sdist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ if [ $# -gt 1 ]; then
2525
fi
2626

2727
if [ -z "$SAGE_ROOT" ]; then
28-
die "must be run from within a Sage enviroment, or with SAGE_ROOT provided"
28+
die "must be run from within a Sage environment, or with SAGE_ROOT provided"
2929
fi
3030

3131
if [ -z "$SAGE_SRC" ]; then
32-
die "must be run from within a Sage enviroment, or with SAGE_SRC provided"
32+
die "must be run from within a Sage environment, or with SAGE_SRC provided"
3333
fi
3434

3535
if [ "$#" -gt 0 ]; then

build/make/Makefile.in

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -625,17 +625,19 @@ $(1)-$(4)-no-deps:
625625
SAGE_INST_LOCAL=$$($(4)) \
626626
sage-logger -p '$$(SAGE_ROOT)/build/pkgs/$(1)/spkg-install' '$$(SAGE_LOGS)/$(1)-$(2).log' && \
627627
touch "$$($(4))/$(SPKG_INST_RELDIR)/$(1)-$(2)"; \
628-
else \
628+
else ( \
629629
echo; \
630-
echo "Error: $(1) is a dummy script package that the Sage distribution uses"; \
630+
echo "Note: $(1) is a dummy script package that the Sage distribution uses"; \
631631
echo "to provide information about equivalent system packages."; \
632632
echo "It cannot be installed using the Sage distribution."; \
633633
echo "Please install it manually, for example using the system packages"; \
634634
echo "recommended at the end of a run of './configure'"; \
635635
echo "See below for package-specific information."; \
636636
echo; \
637637
$$(SAGE_ROOT)/build/bin/sage-spkg-info $(1); \
638-
exit 1; \
638+
echo; \
639+
echo "Error: $(1) is a dummy script package and "; \
640+
echo "cannot be installed using the Sage distribution." ) | sage-logger -p 'cat; exit 1' '$$(SAGE_LOGS)/$(1)-$(2).log'; \
639641
fi
640642

641643
$(1)-no-deps: $(1)-$(4)-no-deps

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=b5a2cfbb85e9d1afd3c151429525944f1e0ca84f
3-
md5=8cf9a8e717fe11a7c6fb7aa41975a7a1
4-
cksum=2226307451
2+
sha1=7df04dc0c2e0d7cdfd767dfb86dd3a60d3af1767
3+
md5=f8e92133f5447c39196fc45a026ed49d
4+
cksum=1963708627
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
413ff13c54c4738b14d64eb7e7e6b2d06439d12c
1+
e3ababd22689e7cc6e89a01b1e8bd6d770e7b1cf

0 commit comments

Comments
 (0)