diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8e09808f08bba2..47d2cc328e8922 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,86 +1,29 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/alpine { - "image": "ghcr.io/python/devcontainer:2025.05.29.15334414373", - "onCreateCommand": [ - // Install common tooling. - "dnf", - "install", - "-y", - "which", - "zsh", - "fish", - // For umask fix below. - "/usr/bin/setfacl" - ], - "updateContentCommand": { - // Using the shell for `nproc` usage. - "python": "./configure --config-cache --with-pydebug && make -s -j `nproc`", - "docs": [ - "make", - "--directory", - "Doc", - "venv", - "html" - ] - }, - "postCreateCommand": { - // https://github.com/orgs/community/discussions/26026 - "umask fix: workspace": ["sudo", "setfacl", "-bnR", "."], - "umask fix: /tmp": ["sudo", "setfacl", "-bnR", "/tmp"] - }, - "customizations": { - "vscode": { - "extensions": [ - // Highlighting for Parser/Python.asdl. - "brettcannon.zephyr-asdl", - // Highlighting for configure.ac. - "maelvalais.autoconf", - // C auto-complete. - "ms-vscode.cpptools", - // To view HTML build of docs. - "ms-vscode.live-server", - // Python auto-complete. - "ms-python.python" - ], - "settings": { - "C_Cpp.default.compilerPath": "/usr/bin/clang", - "C_Cpp.default.cStandard": "c11", - "C_Cpp.default.defines": [ - "CONFIG_64", - "Py_BUILD_CORE" - ], - "C_Cpp.default.includePath": [ - "${workspaceFolder}/*", - "${workspaceFolder}/Include/**" - ], - // https://github.com/microsoft/vscode-cpptools/issues/10732 - "C_Cpp.errorSquiggles": "disabled", - "editor.insertSpaces": true, - "editor.rulers": [ - 80 - ], - "editor.tabSize": 4, - "editor.trimAutoWhitespace": true, - "files.associations": { - "*.h": "c" - }, - "files.encoding": "utf8", - "files.eol": "\n", - "files.insertFinalNewline": true, - "files.trimTrailingWhitespace": true, - "python.analysis.diagnosticSeverityOverrides": { - // Complains about shadowing the stdlib w/ the stdlib. - "reportShadowedImports": "none", - // Doesn't like _frozen_importlib. - "reportMissingImports": "none" - }, - "python.analysis.extraPaths": [ - "Lib" - ], - "python.defaultInterpreterPath": "./python", - "[restructuredtext]": { - "editor.tabSize": 3 - } - } - } - } + "name": "Alpine", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/base:alpine-3.20", + "features": { + "ghcr.io/wxw-matt/devcontainer-features/command_runner:0": {}, + "ghcr.io/wxw-matt/devcontainer-features/script_runner:0": {}, + "ghcr.io/nikiforovall/devcontainer-features/dotnet-csharpier:1": {}, + "ghcr.io/devcontainers-extra/features/apt-get-packages:1": {}, + "ghcr.io/dotnet/aspire-devcontainer-feature/dotnetaspire:1": {} + } + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "uname -a", + + // Configure tool-specific properties. + // "customizations": {}, + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" } diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c8a3165d690364..f33a02cd16e48a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,21 +1,12 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for more information: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +# https://containers.dev/guide/dependabot + version: 2 updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "monthly" - labels: - - "skip issue" - - "skip news" - ignore: - - dependency-name: "*" - update-types: - - "version-update:semver-minor" - - "version-update:semver-patch" - - package-ecosystem: "pip" - directory: "/Tools/" - schedule: - interval: "monthly" - labels: - - "skip issue" - - "skip news" + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly