-
-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into t/34946/sage__al…
…gebras_combinat_matroids___replace_imports_from_sage___all_for_namespace_packages
- Loading branch information
Showing
483 changed files
with
3,208 additions
and
2,551 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/debian | ||
{ | ||
"name": "Conda", | ||
"image": "mcr.microsoft.com/vscode/devcontainers/base:0-bullseye", | ||
|
||
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "vscode", | ||
|
||
// Setup conda environment | ||
"onCreateCommand": ".devcontainer/onCreate-conda.sh", | ||
|
||
// Install additional features. | ||
"features": { | ||
// For config options, see https://github.com/devcontainers/features/tree/main/src/conda | ||
"ghcr.io/devcontainers/features/conda": { | ||
"version": "latest", | ||
"addCondaForge": "true" | ||
} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"guyskk.language-cython", | ||
"ms-python.isort", | ||
"ms-toolsai.jupyter", | ||
"ms-python.vscode-pylance", | ||
"ms-python.pylint", | ||
"ms-python.python", | ||
"lextudio.restructuredtext", | ||
"trond-snekvik.simple-rst" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Do not keep running on errors | ||
set -e | ||
|
||
# Create conda environment | ||
./bootstrap-conda | ||
conda install mamba -n base -c conda-forge -y | ||
mamba env create --file src/environment-dev.yml || mamba env update --file src/environment-dev.yml | ||
conda init bash | ||
|
||
# Build sage | ||
conda run -n sage-dev ./bootstrap | ||
conda run -n sage-dev ./configure --with-python=/opt/conda/envs/sage-dev/bin/python --prefix=/opt/conda/envs/sage-dev | ||
conda run -n sage-dev pip install --no-build-isolation -v -v -e ./pkgs/sage-conf ./pkgs/sage-setup | ||
conda run -n sage-dev pip install --no-build-isolation -v -v -e ./src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
Oops, something went wrong.