Skip to content

Commit c7a507d

Browse files
author
Release Manager
committed
gh-36959: `.devcontainer/downstream-archlinux-latest`: Fix maxima Dev container configurations `.devcontainer/downstream-*` give easy access to Sage as provided by downstream packagers (see https://doc.sage math.org/html/en/developer/portability_testing.html#using-our-pre-built- docker-images-for-development-in-vs-code, bottom). Unfortunately maxima is defective when the archlinux sage package is installed in the official archlinux Docker container because of NoExtract directives that make the maxima help system inoperable. Here we apply the same fix that we used in #36391 for the portability CI: Removing the NoExtract directives before installing the package. <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes #1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [ ] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #36959 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee
2 parents 3251d98 + 966fb86 commit c7a507d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.devcontainer/downstream-archlinux-latest/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "archlinux:latest downstream Sage",
44
"image": "archlinux:latest",
55
// Create an empty bashrc to avoid the error "No such file or directory" when opening a terminal.
6-
"onCreateCommand": "EXTRA_SYSTEM_PACKAGES='sagemath sagemath-doc' EXTRA_SAGE_PACKAGES='notebook pip' .devcontainer/onCreate.sh && touch ~/.bashrc",
6+
"onCreateCommand": "sed -i '/^NoExtract/d' /etc/pacman.conf; EXTRA_SYSTEM_PACKAGES='sagemath sagemath-doc' EXTRA_SAGE_PACKAGES='notebook pip' .devcontainer/onCreate.sh && touch ~/.bashrc",
77
// There's no SAGE_LOCAL, so remove the symlink 'prefix'.
88
"updateContentCommand": "rm -f prefix && ln -sf /usr venv",
99
"extensions": [

0 commit comments

Comments
 (0)