Skip to content

Commit c1f8dbc

Browse files
committed
Replace bootstrap-conda by grayskull and update conda lock files
1 parent f48da11 commit c1f8dbc

Some content is hidden

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

41 files changed

+2487
-9909
lines changed

.ci/write-dockerfile.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ cat <<EOF
275275
FROM with-system-packages AS bootstrapped
276276
#:bootstrapping:
277277
RUN rm -rf /new /sage/.git
278-
$ADD Makefile VERSION.txt COPYING.txt condarc.yml README.md bootstrap bootstrap-conda configure.ac sage .homebrew-build-env tox.ini .gitignore /new/
278+
$ADD Makefile VERSION.txt COPYING.txt condarc.yml README.md bootstrap configure.ac sage .homebrew-build-env tox.ini .gitignore /new/
279279
$ADD config/config.rpath /new/config/config.rpath
280280
$ADD src/doc/bootstrap /new/src/doc/bootstrap
281281
$ADD src/bin /new/src/bin

.devcontainer/onCreate-conda.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ conda config --env --add channels conda-forge
66
conda config --env --set channel_priority strict
77
conda update -y --all --override-channels -c conda-forge
88
conda install mamba=1 -n base -y
9-
mamba env create -y --file environment-dev-3.11-linux.yml || mamba env update -y --file environment-dev-3.11-linux.yml
9+
mamba env create -y --file environment-3.11-linux.yml || mamba env update -y --file environment-3.11-linux.yml
1010
conda init bash
1111

1212
# Build sage

.github/workflows/ci-conda.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
use-mamba: true
7070
channels: conda-forge
7171
channel-priority: true
72-
activate-environment: sage
72+
activate-environment: sage-dev
7373
environment-file: ${{ matrix.conda-env }}-${{ matrix.python }}-${{ startsWith(matrix.os, 'macos') && (startsWith(runner.arch, 'ARM') && 'macos' || 'macos-x86_64') || 'linux' }}.yml
7474

7575
- name: Print Conda environment

.github/workflows/ci-meson.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
use-mamba: true
5555
channels: conda-forge
5656
channel-priority: true
57-
activate-environment: sage
57+
activate-environment: sage-dev
5858
environment-file: environment-${{ matrix.python }}-${{ startsWith(matrix.os, 'macos') && (startsWith(runner.arch, 'ARM') && 'macos' || 'macos-x86_64') || 'linux' }}.yml
5959

6060
- name: Print Conda environment

.github/workflows/conda-lock-update.py

-56
This file was deleted.

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
# no longer generated, but may still be in user worktrees
2828
/src/lib/pkgconfig
2929

30-
# Environment files generated by bootstrap-conda.
31-
# The files without Python version and in src are no longer generated
30+
# Conda environment files
31+
# The files without Python version, with -dev or in src are no longer generated
3232
# but may still be in users' directories.
3333
/environment.yml
3434
/environment-3.9.yml

.gitpod.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tasks:
77
- name: Setup
88
# Create conda environment, then configure and build sage
99
init: >-
10-
&& mamba env create --file environment-dev-3.11-linux.yml --prefix venv
10+
&& mamba env create --file environment-3.11-linux.yml --prefix venv
1111
&& conda config --append envs_dirs $(pwd)
1212
&& conda activate $(pwd)/venv
1313
&& ./bootstrap

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ bootstrap-clean:
174174
rm -rf config/install-sh config/compile config/config.guess config/config.sub config/missing configure build/make/Makefile-auto.in
175175
rm -f src/doc/en/installation/*.txt
176176
find src/doc/en/reference/spkg -name index.rst -prune -o -maxdepth 1 -name "*.rst" -exec rm -f {} \+
177-
for a in environment environment-optional src/environment src/environment-dev src/environment-optional; do rm -f $$a.yml $$a-3.[89].yml $$a-3.1[0-9].yml; done
177+
for a in environment environment-optional src/environment src/environment-optional; do rm -f $$a.yml $$a-3.[89].yml $$a-3.1[0-9].yml; done
178178
rm -f src/requirements.txt
179179
rm -f src/setup.cfg
180180
rm -f build/pkgs/cypari/version_requirements.txt

bootstrap

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ EOF
139139
# ONLY stderr, and to re-output the results back to stderr leaving
140140
# stdout alone. Basically we swap the two descriptors using a
141141
# third, filter, and then swap them back.
142-
./bootstrap-conda && \
143142
aclocal -I m4 && \
144143
automake --add-missing --copy build/make/Makefile-auto 3>&1 1>&2 2>&3 \
145144
| sed "${QUIET_SED_FILTER}" 3>&1 1>&2 2>&3 && \
@@ -226,7 +225,7 @@ save () {
226225
build/make/Makefile-auto.in \
227226
src/doc/en/installation/*.txt \
228227
$(find src/doc/en/reference/spkg -name index.rst -prune -o -maxdepth 1 -name "*.rst" -print) \
229-
environment-3.[89].yml environment-3.1[0-9].yml \
228+
environment-3.[89]-*.yml environment-3.1[0-9]-*.yml \
230229
src/pyproject.toml \
231230
src/requirements.txt \
232231
src/setup.cfg \
@@ -236,6 +235,7 @@ save () {
236235
build/pkgs/gmpy2/version_requirements.txt \
237236
build/pkgs/jupyter_core/version_requirements.txt \
238237
build/pkgs/memory_allocator/version_requirements.txt \
238+
build/pkgs/meson/version_requirements.txt \
239239
build/pkgs/numpy/version_requirements.txt \
240240
build/pkgs/pkgconfig/version_requirements.txt \
241241
build/pkgs/pplpy/version_requirements.txt \

bootstrap-conda

-125
This file was deleted.

0 commit comments

Comments
 (0)