Skip to content

Commit 5b98e92

Browse files
committed
Merge branch 'develop' into p/36144/p/rework-on-live-sage-documentation
2 parents c21421f + b7c1c8f commit 5b98e92

File tree

743 files changed

+6630
-4603
lines changed

Some content is hidden

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

743 files changed

+6630
-4603
lines changed

.devcontainer/onCreate-conda.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44
# Create conda environment
55
./bootstrap-conda
66
conda install mamba -n base -c conda-forge -y
7-
mamba env create --file src/environment-dev.yml || mamba env update --file src/environment-dev.yml
7+
mamba env create --file src/environment-dev-3.11.yml || mamba env update --file src/environment-dev-3.11.yml
88
conda init bash
99

1010
# Build sage

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ name: Build & Test
22

33
on:
44
pull_request:
5+
merge_group:
56
push:
6-
branches: ['**']
7+
branches:
8+
- master
9+
- develop
710
# Ignore pushes on tags to prevent two uploads of codecov reports
811
tags-ignore: ['**']
912
workflow_dispatch:
@@ -38,7 +41,9 @@ jobs:
3841
- name: Store CI fixes in upstream artifact
3942
run: |
4043
mkdir -p upstream
41-
git format-patch --stdout test_base > upstream/ci_fixes.patch
44+
if git format-patch --stdout test_base > ci_fixes.patch; then
45+
cp ci_fixes.patch upstream/
46+
fi
4247
- uses: actions/upload-artifact@v3
4348
with:
4449
path: upstream

.github/workflows/ci-conda.yml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@ on:
77
branches:
88
- 'public/build/**-runci'
99
pull_request:
10-
types:
11-
# Defaults
12-
- opened
13-
- synchronize
14-
- reopened
15-
# When a CI label is added
16-
- labeled
1710
workflow_dispatch:
1811
# Allow to run manually
1912

@@ -27,20 +20,9 @@ jobs:
2720
name: Conda
2821
runs-on: ${{ matrix.os }}
2922

30-
# Run on push, workflow dispatch and when certain labels are added or are present
31-
if: |
32-
github.event_name != 'pull_request' ||
33-
((github.event.action != 'labeled' &&
34-
(contains(github.event.pull_request.labels.*.name, 'c: packages: standard') ||
35-
contains(github.event.pull_request.labels.*.name, 'c: packages: optional') ||
36-
contains(github.event.pull_request.labels.*.name, 's: run conda ci'))) ||
37-
(github.event.action == 'labeled' &&
38-
(github.event.label.name == 'c: packages: optional' ||
39-
github.event.label.name == 'c: packages: standard' ||
40-
github.event.label.name == 's: run conda ci')))
41-
4223
strategy:
43-
fail-fast: false
24+
fail-fast: ${{ github.event_name == 'pull_request' }}
25+
max-parallel: ${{ github.event_name == 'pull_request' && 2 || 6 }}
4426
matrix:
4527
os: [ubuntu-latest, macos-latest]
4628
python: ['3.9', '3.10', '3.11']
@@ -77,7 +59,7 @@ jobs:
7759
with:
7860
path: ~/conda_pkgs_dir
7961
key:
80-
${{ runner.os }}-conda-${{ hashFiles('src/environment.yml') }}
62+
${{ runner.os }}-conda-${{ hashFiles('src/environment-3.11.yml') }}
8163

8264
- name: Setup Conda
8365
uses: conda-incubator/setup-miniconda@v2
@@ -86,8 +68,8 @@ jobs:
8668
mamba-version: "*"
8769
channels: conda-forge,defaults
8870
channel-priority: true
89-
activate-environment: sage-build
90-
environment-file: src/${{ matrix.conda-env }}.yml
71+
activate-environment: sage
72+
environment-file: src/${{ matrix.conda-env }}-${{ matrix.python }}.yml
9173

9274
- name: Print Conda environment
9375
shell: bash -l {0}
@@ -101,7 +83,7 @@ jobs:
10183
run: |
10284
./bootstrap
10385
echo "::add-matcher::.github/workflows/configure-systempackage-problem-matcher.json"
104-
./configure --enable-build-as-root --with-python=$CONDA_PREFIX/bin/python --prefix=$CONDA_PREFIX $(for pkg in $(./sage -package list :standard: --has-file spkg-configure.m4 --has-file distros/conda.txt --exclude rpy2); do echo --with-system-$pkg=force; done)
86+
./configure --enable-build-as-root --with-python=$CONDA_PREFIX/bin/python --prefix=$CONDA_PREFIX --enable-system-site-packages $(for pkg in $(./sage -package list :standard: --has-file spkg-configure.m4 --has-file distros/conda.txt --exclude rpy2); do echo --with-system-$pkg=force; done)
10587
echo "::remove-matcher owner=configure-system-package-warning::"
10688
echo "::remove-matcher owner=configure-system-package-error::"
10789

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

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

.github/workflows/ci-wsl.yml

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

0 commit comments

Comments
 (0)