Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove WASI from the dev container#55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
corona10 merged 1 commit intopython:mainfrombrettcannon:remove-wasi
Sep 21, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions.github/workflows/ci.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,14 +8,15 @@ on:
branches: [main]

jobs:
build_devcontainer:
name: Build and test (Devcontainer)
build_dev_container:
name: Build and test (Dev container)
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-24.04-arm]
runs-on: ${{ matrix.os }}
env:
# Dummy tag; version does not matter.
TAG: cpython-devcontainer:1.0.0-${{ github.run_id }}
steps:
- name: Checkout Push to Registry action
Expand All@@ -28,10 +29,8 @@ jobs:
context: ./devcontainer
load: true
tags: ${{ env.TAG }}
- name: Test WASI SDK
run: docker run --rm ${{ env.TAG }} /opt/wasi-sdk/bin/clang --version
- name: Test Wasmtime
run: docker run --rm ${{ env.TAG }} wasmtime --version
- name: Test clang
run: docker run --rm ${{ env.TAG }} clang --version

build_autoconf:
name: Build and test (Autoconf)
Expand Down
15 changes: 2 additions & 13 deletionsdevcontainer/Dockerfile
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,26 +3,15 @@ FROM docker.io/library/fedora:41
LABEL org.opencontainers.image.base.name="docker.io/library/fedora:41"
LABEL org.opencontainers.image.source="https://github.com/python/cpython-devcontainers"
LABEL org.opencontainers.image.title="CPython development container"
LABEL org.opencontainers.image.description="CPython development container with the tooling to work on Linuxor WASIbuilds."
LABEL org.opencontainers.image.description="CPython development container with the tooling to work on Linux builds."
LABEL org.opencontainers.image.authors="Brett Cannon"

ARG TARGETARCH

ENV CC=clang

# Remove a video codec repository to speed up installs.
RUN dnf config-manager setopt fedora-cisco-openh264.enabled=False

# Update only after consulting with WASI support maintainers (see PEP 11).
ENV WASI_SDK_VERSION=24

# Update as desired.
ENV WASMTIME_VERSION=35.0.0
ENV WASMTIME_HOME=/opt/wasmtime


RUN mkdir -p /opt/cpython-devcontainer/bin
COPY --chmod=755 install-builddeps.shinstall-wasi.sh/opt/cpython-devcontainer/bin/
COPY --chmod=755 install-builddeps.sh /opt/cpython-devcontainer/bin/

RUN /opt/cpython-devcontainer/bin/install-builddeps.sh
RUN /opt/cpython-devcontainer/bin/install-wasi.sh
5 changes: 5 additions & 0 deletionsdevcontainer/README.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
A container for developing CPython for Linux.

Various common utilities are included to make getting started easier.
See https://devguide.python.org/getting-started/setup-building/#using-a-container
for instructions on ways to use this container.
34 changes: 0 additions & 34 deletionsdevcontainer/install-wasi.sh
View file
Open in desktop

This file was deleted.


[8]ページ先頭

©2009-2025 Movatter.jp