Skip to content

Commit bc0e17e

Browse files
committed
fix merge issues
2 parents 271d87d + 9116c55 commit bc0e17e

File tree

1,609 files changed

+51354
-13023
lines changed

Some content is hidden

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

1,609 files changed

+51354
-13023
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
steps:
2727
- name: Checkout
2828
id: checkout
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v3
3030

3131
- name: Prepare
3232
id: prepare
@@ -55,7 +55,7 @@ jobs:
5555

5656
- name: Set up node to install pyright
5757
if: always() && steps.prepare.outcome == 'success'
58-
uses: actions/setup-node@v1
58+
uses: actions/setup-node@v3
5959
with:
6060
node-version: '12'
6161

.github/workflows/ci-conda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
conda-env: [environment, environment-optional]
3030

3131
steps:
32-
- uses: actions/checkout@v2
32+
- uses: actions/checkout@v3
3333

3434
- name: Check for Miniconda
3535
id: check_conda

.github/workflows/ci-cygwin-minimal.yml

Lines changed: 1044 additions & 0 deletions
Large diffs are not rendered by default.

.github/workflows/ci-cygwin-standard.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,13 @@ jobs:
6161
needs: [cygwin-stage-i-a, cygwin-stage-i-b]
6262

6363
cygwin-stage-ii-e:
64-
uses: ./.github/workflows/cygwin.yml
65-
with:
66-
stage: ii-e
67-
previous_stages: i-*
68-
targets: threejs tachyon pillow jmol m4rie sympy lrcalc lcalc symmetrica cliquer libbraiding planarity rw elliptic_curves combinatorial_designs zn_poly sympow
64+
env:
65+
STAGE: ii-e
66+
PREVIOUS_STAGES: i-*
67+
TARGETS: threejs tachyon pillow jmol m4rie sympy lrcalc lcalc symmetrica cliquer libbraiding planarity rw elliptic_curves combinatorial_designs sympow
68+
LOCAL_ARTIFACT_NAME: sage-local-commit-${{ github.sha }}-cygwin-${{ matrix.pkgs }}
69+
LOGS_ARTIFACT_NAME: logs-commit-${{ github.sha }}-cygwin-${{ matrix.pkgs }}
70+
6971
needs: [cygwin-stage-i-a, cygwin-stage-i-b]
7072

7173
############################################## stage-iii ##########################################

.github/workflows/ci-linux.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
with:
5252
# Build incrementally from previous stage (pre)
5353
incremental: true
54+
free_disk_space: true
5455
from_docker_repository: ghcr.io/${{ github.repository }}/
5556
from_docker_target: "with-targets-pre"
5657
docker_targets: "with-targets with-targets-optional"
@@ -82,21 +83,23 @@ jobs:
8283
with:
8384
# Build incrementally from previous stage (pre)
8485
incremental: true
86+
free_disk_space: true
8587
from_docker_repository: ghcr.io/${{ github.repository }}/
8688
from_docker_target: "with-targets-pre"
8789
docker_targets: "with-targets with-targets-optional"
8890
# FIXME: duplicated from env.TARGETS
8991
targets: build doc-html
9092
targets_optional: ptest
9193
tox_packages_factors: >-
92-
["minimal]
94+
["minimal"]
9395
docker_push_repository: ghcr.io/${{ github.repository }}/
9496

9597
maximal-pre:
9698
if: ${{ success() || failure() }}
9799
needs: [minimal]
98100
uses: ./.github/workflows/docker.yml
99101
with:
102+
free_disk_space: true
100103
# Build from scratch
101104
docker_targets: "with-system-packages configured with-targets-pre"
102105
# FIXME: duplicated from env.TARGETS
@@ -111,6 +114,7 @@ jobs:
111114
uses: ./.github/workflows/docker.yml
112115
with:
113116
incremental: true
117+
free_disk_space: true
114118
from_docker_repository: ghcr.io/${{ github.repository }}/
115119
from_docker_target: "with-targets-pre"
116120
tox_packages_factors: >-
@@ -125,6 +129,7 @@ jobs:
125129
uses: ./.github/workflows/docker.yml
126130
with:
127131
incremental: true
132+
free_disk_space: true
128133
from_docker_repository: ghcr.io/${{ github.repository }}/
129134
from_docker_target: "with-targets-pre"
130135
tox_packages_factors: >-
@@ -138,6 +143,7 @@ jobs:
138143
uses: ./.github/workflows/docker.yml
139144
with:
140145
incremental: true
146+
free_disk_space: true
141147
from_docker_repository: ghcr.io/${{ github.repository }}/
142148
from_docker_target: "with-targets-pre"
143149
tox_packages_factors: >-
@@ -151,6 +157,7 @@ jobs:
151157
uses: ./.github/workflows/docker.yml
152158
with:
153159
incremental: true
160+
free_disk_space: true
154161
from_docker_repository: ghcr.io/${{ github.repository }}/
155162
from_docker_target: "with-targets-pre"
156163
tox_packages_factors: >-
@@ -171,7 +178,7 @@ jobs:
171178
TOX_ENV: local-${{ matrix.tox_system_factor }}-${{ matrix.tox_packages_factor }}
172179
LOGS_ARTIFACT_NAME: logs-commit-${{ github.sha }}-tox-local-${{ matrix.tox_system_factor }}-${{ matrix.tox_packages_factor }}
173180
steps:
174-
- uses: actions/checkout@v2
181+
- uses: actions/checkout@v3
175182
- name: Install test prerequisites
176183
run: |
177184
sudo DEBIAN_FRONTEND=noninteractive apt-get update
@@ -185,7 +192,7 @@ jobs:
185192
run: |
186193
mkdir -p "artifacts/$LOGS_ARTIFACT_NAME"; cp -r .tox/*/log "artifacts/$LOGS_ARTIFACT_NAME"
187194
if: always()
188-
- uses: actions/upload-artifact@v1
195+
- uses: actions/upload-artifact@v3
189196
with:
190197
path: artifacts
191198
name: ${{ env.LOGS_ARTIFACT_NAME }}

.github/workflows/ci-macos.yml

Lines changed: 12 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -42,25 +42,21 @@ 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 }}
5450
LOGS_ARTIFACT_NAME: logs-commit-${{ github.sha }}-tox-local-${{ matrix.tox_env }}--${{ matrix.os }}-xcode_${{ matrix.xcode_version_factor }}
5551
steps:
56-
- uses: actions/checkout@v2
52+
- uses: actions/checkout@v3
5753
- name: Select Xcode version
5854
run: |
5955
if [ ${{ matrix.xcode_version_factor }} != default ]; then sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode_version_factor }}.app; fi
6056
- name: Install test prerequisites
6157
run: |
6258
brew install tox
63-
- uses: actions/download-artifact@v2
59+
- uses: actions/download-artifact@v3
6460
with:
6561
path: sage-local-artifact
6662
name: ${{ env.LOCAL_ARTIFACT_NAME }}
@@ -96,7 +92,7 @@ jobs:
9692
run: |
9793
mkdir -p "artifacts/$LOGS_ARTIFACT_NAME"; cp -r .tox/*/log "artifacts/$LOGS_ARTIFACT_NAME"
9894
if: always()
99-
- uses: actions/upload-artifact@v1
95+
- uses: actions/upload-artifact@v3
10096
with:
10197
path: artifacts
10298
name: ${{ env.LOGS_ARTIFACT_NAME }}
@@ -114,7 +110,7 @@ jobs:
114110
run: |
115111
mkdir -p sage-local-artifact && (cd .tox/$TOX_ENV && rm -f "local/lib64" && tar -cf - $(pwd)) > sage-local-artifact/sage-${{ env.TOX_ENV }}-${{ matrix.stage }}.tar
116112
if: contains(matrix.stage, '1')
117-
- uses: actions/upload-artifact@v2
113+
- uses: actions/upload-artifact@v3
118114
with:
119115
path: sage-local-artifact/sage-${{ env.TOX_ENV }}-${{ matrix.stage }}.tar
120116
name: ${{ env.LOCAL_ARTIFACT_NAME }}
@@ -124,7 +120,7 @@ jobs:
124120

125121
runs-on: ubuntu-latest
126122
steps:
127-
- uses: actions/checkout@v2
123+
- uses: actions/checkout@v3
128124
with:
129125
fetch-depth: 500
130126
- name: fetch tags
@@ -144,7 +140,7 @@ jobs:
144140
- name: make dist
145141
run: |
146142
./configure --enable-download-from-upstream-url && make dist
147-
- uses: actions/upload-artifact@v2
143+
- uses: actions/upload-artifact@v3
148144
with:
149145
path: "dist/*.tar.gz"
150146
name: dist
@@ -158,29 +154,17 @@ 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 }}
180164
steps:
181-
- uses: actions/checkout@v2
165+
- uses: actions/checkout@v3
182166
if: "!contains(matrix.tox_system_factor, 'nobootstrap')"
183-
- uses: actions/download-artifact@v2
167+
- uses: actions/download-artifact@v3
184168
with:
185169
path: .
186170
name: dist
@@ -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.
@@ -214,7 +191,7 @@ jobs:
214191
run: |
215192
mkdir -p "artifacts/$LOGS_ARTIFACT_NAME"; cp -r .tox/*/log "artifacts/$LOGS_ARTIFACT_NAME"
216193
if: always()
217-
- uses: actions/upload-artifact@v1
194+
- uses: actions/upload-artifact@v3
218195
with:
219196
path: artifacts
220197
name: ${{ env.LOGS_ARTIFACT_NAME }}

.github/workflows/ci-wsl.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Configure git
2121
run: git config --global core.symlinks true
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v3
2323
- name: Install Ubuntu 20.04 (in WSL)
2424
run: |
2525
(New-Object System.Net.WebClient).DownloadFile("https://aka.ms/wslubuntu2004", "Ubuntu.appx")
@@ -44,7 +44,7 @@ jobs:
4444
run: mkdir -p "artifacts/logs"; cp -r .tox/*/log "artifacts/logs"
4545
shell: bash
4646
if: always()
47-
- uses: actions/upload-artifact@v1
47+
- uses: actions/upload-artifact@v3
4848
with:
4949
path: artifacts
5050
name: logs

.github/workflows/cygwin.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ jobs:
7373
choco install git python39 python39-pip --source cygwin
7474
7575
- name: Check out SageMath
76-
uses: actions/checkout@v2
76+
uses: actions/checkout@v3
7777
with:
7878
repository: ${{ inputs.sage_repo }}
7979
ref: ${{ inputs.sage_ref }}
8080
fetch-depth: 2000
8181

8282
- name: Check out git-trac-command
83-
uses: actions/checkout@v2
83+
uses: actions/checkout@v3
8484
with:
8585
repository: sagemath/git-trac-command
8686
path: git-trac-command
@@ -95,7 +95,7 @@ jobs:
9595
if: inputs.sage_trac_git != ''
9696

9797
- name: Download upstream artifact
98-
uses: actions/download-artifact@v2
98+
uses: actions/download-artifact@v3
9999
with:
100100
path: upstream
101101
name: ${{ inputs.upstream_artifact }}
@@ -106,7 +106,7 @@ jobs:
106106
if: inputs.upstream_artifact
107107

108108
- name: Download sage-local artifact
109-
uses: actions/download-artifact@v2
109+
uses: actions/download-artifact@v3
110110
with:
111111
name: ${{ env.LOCAL_ARTIFACT_NAME }}
112112
path: C:\\tools\\cygwin\\tmp
@@ -124,7 +124,7 @@ jobs:
124124
run: |
125125
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && mkdir -p "artifacts/$LOGS_ARTIFACT_NAME"; for a in "${{ env.SAGE_LOCAL }}"/var/tmp/sage/build/*; do if [ -d "$a" ]; then tar -c --remove-files -f "artifacts/$LOGS_ARTIFACT_NAME/"$(basename "$a")".tar" "$a"; fi; done; cp -r logs/* "artifacts/$LOGS_ARTIFACT_NAME"'
126126
if: always()
127-
- uses: actions/upload-artifact@v2
127+
- uses: actions/upload-artifact@v3
128128
with:
129129
path: artifacts
130130
name: ${{ env.LOGS_ARTIFACT_NAME }}
@@ -142,7 +142,7 @@ jobs:
142142
run: |
143143
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f "${{ env.SAGE_LOCAL }}"/lib64; tar -cf /tmp/sage-local-${{ inputs.stage }}.tar --listed-incremental=/tmp/sage-local.snar "${{ env.SAGE_LOCAL }}"'
144144
if: always()
145-
- uses: actions/upload-artifact@v2
145+
- uses: actions/upload-artifact@v3
146146
# upload-artifact@v2 does not support whitespace in file names.
147147
# so we tar up the directory ourselves
148148
with:

0 commit comments

Comments
 (0)