Skip to content

Release 0.4.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 19:15
· 22 commits to main since this release
241887e
  • feat: support running pycontainer-build with uv (#268) (241887e)
  • feat: add opt-in base image signature verification (#213) (af122ba)
  • feat: warn when stored image or layer size exceeds thresholds (#220) (a4ea710)
  • feat: add opt-in image signing (partial) (#211) (1953bb8)
  • feat: publish v0.4.0 to PyPI with trusted publishing (#267) (1db0ad9)
  • feat: select uv.lock root extras for dependency staging (#260) (96306a9)
  • feat: validate image process identity and add --image-user (#256) (7f0a0a0)
  • ci: cancel superseded main runs and select relevant checks (#266) (9c6be98)
  • fix: allow Windows amd64 scanner hosts with Grype 0.122.1 (#254) (00f3742)
  • chore(deps-dev): bump typescript-eslint in /plugins/vscode-pycontainer (#264) (45da797)
  • feat: install PDM static_urls wheels from recorded URLs (#259) (5c96d28)
  • feat: configure Docker health-check image metadata (#257) (30a6666)
  • feat: add strict and TOML Dockerfile imports (#255) (f175f59)
  • chore(deps-dev): bump poetry from 2.5.1 to 2.5.2 (#262) (3ab4576)
  • chore(deps): bump pre-commit from 4.5.1 to 4.7.0 (#263) (bbd1965)
  • chore(deps-dev): bump @types/node in /plugins/vscode-pycontainer (#261) (c9807b4)
  • fix: reject Windows image build targets before side effects (#258) (80dee40)
  • fix(website): redirect /docs/ to the quickstart (#252) (923aaf4)
  • feat: add branded pycontainer website and searchable docs (#251) (a8b31ae)
  • test: allow added pytest flags in Windows headroom contract (b965b19)
  • fix: allow Windows CI test headroom (204dd91)
  • perf: streamline CI test execution (5100881)
  • fix: preserve conservative listener option boundaries (748619c)
  • fix: omit unvalidated names from PDM guard diagnostics (d79eb8a)
  • fix: reject PDM recorded artifact URLs before selection (63540cf)
  • fix: redact port keys before encoding validation findings (36f52fb)
  • fix: treat Unix-only gunicorn binds as unknown (d8af12a)
  • fix: redact build-argument defaults in config key collision errors (7c344c7)
  • fix: support pip 25 and 26 configuration snapshots (a287417)
  • fix: reject unsafe init targets and preserve errors (fd3ccd7)
  • fix: preserve init output permissions (ea198e0)
  • fix: keep init staging private before validation (a4d5ca8)
  • fix: validate and atomically publish init configs (fc57671)
  • fix: ignore filtered pip system-install override in cache (01dfb72)
  • fix: redact build arguments in image validation diagnostics (b5e2a54)
  • ci: keep hook validation in the test matrix (dcc37f4)
  • test: align hook diagnostics with portable paths (8f100bd)
  • fix: retain known argument redactions when resolution fails (d5b600b)
  • fix: redact build argument values in validation source labels (c66ddc3)
  • test: cover locked stub stripping across indexes (2e1e8d2)
  • test: declare synthetic base Python implementation (1c0b846)
  • fix: restrict plain-HTTP lock indexes to loopback and contain pdm.toml (a9ed0d4)
  • fix: reject selected symlinks that climb above the context root (03dd425)
  • fix: keep unsupported manifest digest headers opaque (beb8775)
  • fix: bind multi-platform builds to one verified base snapshot (31ea5af)
  • fix: do not rule out venv extras from a finite creator-host sample (#142) (38757dc)
  • fix: preserve dependency cache source identity (15bed6e)
  • fix: store POSIX link text and reject '..' after descending in selected symlink targets (230b2fb)
  • test: cover dot-dot link target through a pruned directory link with both files selected (7ed2ff9)
  • fix: exclude links from resolved symlink-target membership (32ee3a2)
  • fix: require selected symlink targets to match by resolved identity (8093423)
  • test: align linked-source and requirements-alias tests with traversal rules; docs: context link semantics (5cbad29)
  • test(bench): cover a known nonzero matched-probe saving (427118d)
  • test: use short ids for release-notes size-boundary cases (de70a4c)
  • fix: stop build context traversal at directory links and unsafe symlinks (9c351ba)
  • test: update metadata auth fixture for scoped pulls (eb0aa20)
  • fix(bench): derive concurrency savings from matched probes and seed identical bases (b80abc0)
  • fix: constrain lock manifests to build context (e094d79)
  • test: accept include_generic_environment in dependency staging auth stub (cca1f66)
  • test: cover conflicting scan descriptor fields (6d35cac)
  • fix: scan multi-tag manifest references safely (2393e53)
  • test: preserve verified codename fixture provenance (ed66b44)
  • test: add native lockfile runtime evidence (333516f)
  • test: verify CMD-only imports in a real OCI runtime (c2a63f2)
  • fix: exchange tokens and follow blob redirects outside HTTPError handlers (a4932ed)
  • fix: refresh dependency source for repeated dry runs (2555fb9)
  • test: forward packaging _eval_op arguments in injected error (43aed67)
  • test: support older pip configuration keys (1b0c686)
  • test: cover global and site pip configuration isolation (27b58b2)
  • test: return requirement files from Conda install doubles (e84f10c)
  • test: make virtualenv extra evaluation error path deterministic (ae13c35)
  • fix: isolate registry authentication replay exception context (545b4d0)
  • test: cover host pip injection and target overrides for locked installs (15287cb)
  • fix: normalize virtualenv extra markers with PEP 508 semantics (bc4089a)
  • fix: reject libc evidence hidden by foreign database links (beceb4f)
  • test: isolate squash verifier subprocess mock (e21676f)
  • fix: guard dependency cache from ambient startup (df8050d)
  • fix: allow placeholder query tokens and isolate pip pinning self-test probes (bcde639)
  • fix: use UTF-8 output for hosted squash check (d4063a7)
  • test: verify Windows-built squash layouts on Linux (bd0c122)
  • test: cover unrelated database links for both libc families (cc15b4f)
  • fix: fail closed on oversized shipped pip inputs instead of scanning a prefix (1989ebd)
  • fix: scope libc ancestor checks to the target database (17bc8de)
  • test: reconcile direct-URL rejection order with main's venv closure checks (1decaed)
  • test: verify cached manifest identity (c9ccff0)
  • test: exercise merged closure and index references (bf795f7)
  • test: prove host pip requirement injection cannot add packages (9468f83)
  • test: cover tagged runtime image metadata (d6f385f)
  • fix: preserve dependency cache source identity (a06f655)
  • test: cover target markers per locked index (7eee255)
  • fix: preserve libc provenance for local base images (113535b)
  • feat: support local OCI layout and docker-save base images (#117) (52958d4)
  • fix: evaluate dependency environment markers for the target platform (#178) (e9d7951)
  • test: verify --cache-dir save/restore portability (#184) (edbf5da)
  • Enable Knowledge Base (#237) (fa1c39e)
  • fix: fail closed on unverified base image libc and ABI (#176) (692d574)
  • fix: validate supplemental tar sizes before normalization (db4d46e)
  • fix: reject invalid raw PAX sizes across Python versions (c53f310)
  • fix: derive unversioned Python libc from verified base layers (b69070e)
  • fix: never report system packages present from hidden or uncertain base metadata (53928fa)
  • docs: clarify system package groundwork limits (83ca18e)
  • build(deps): bump astral-sh/setup-uv from 10.3.3 to 10.4.0 (c0ab984)
  • fix: validate locked dependency graphs (63a9eac)
  • fix: reject unproven Alpine libc before dependency staging (92e6002)
  • fix: report invalid project metadata during init (2d9b69a)
  • fix: bound Debian wheel tags by earliest base images (5278d9a)
  • docs: pin hook to latest validator parent (e1657bc)
  • fix: keep Windows hosts for POSIX-layout venvs without a POSIX home (42f8edc)
  • fix: treat ambiguous listener option forms as unknown (c0046f6)
  • fix: harden registry error reporting (d416e4b)
  • fix: use conservative trixie libc floor (cc945fd)
  • fix: keep generic destination credentials out of base-image pulls (1ad6a09)
  • fix: enforce venv constraints, metadata version and legacy extra spellings (2c3e48a)
  • fix: prevent Conda detection and prefix bypasses (8df8907)
  • fix: scope CI credentials to destination registry (15696b8)
  • fix(oci): encode references invalid in OCI layouts (b28b7d8)
  • fix: isolate dev-loop verification and disable Tilt pruning (dbee075)
  • fix: preserve literal config values and redact build output (0f9aeed)
  • fix: report unreadable config paths in build (bab49a6)
  • fix: preserve config precedence and safe TOML imports (45f7502)
  • docs: pin hook example to latest validator (194964d)
  • fix: validate Azure registry login server scope (530a449)
  • fix: narrow virtualenv host candidates by site-packages layout (d773e19)
  • fix: preserve mixed package launcher records (a09d6a4)
  • fix: select OCI manifests shared by multiple tags by digest (9769503)
  • test: cover explicitly selected unconfigured pyproject (d674bfa)
  • fix: report non-table project metadata as a configuration diagnostic (5058d28)
  • fix(vscode): avoid TypeScript native peer conflict (ef1ce72)
  • fix: reject bare image-ID style image references (93d7caa)
  • docs: scope execution probe container evidence (52f8767)
  • fix: bound manifest reads to the descriptor size or 16 MiB (b46ba95)
  • test: install blob opener traps after client construction (0ed3a44)
  • fix(registry): retain client TLS context for the blob opener (d34c1e5)
  • fix: converge registry transport validation and concurrent authentication (005f31e)
  • feat: detect exposed-port conflicts in image validation (6e7c6bd)
  • test: reject HTTPS mirror downgrade redirects (490755d)
  • fix: invalidate application cache when hardlink topology changes (99e0005)
  • test: cover mirror redirect credential isolation (a8d0204)
  • test: cover HTTPS registry mirror trust (cb6ace1)
  • fix(registry): synchronize lazy blob opener initialization (7953de8)
  • fix(registry): build blob opener eagerly to avoid first-use race (339c939)
  • fix: generate Linux console scripts with LF on Windows (8d9ba84)
  • test: cover armv7 provenance failures (41c33ad)
  • feat: generate deployment artifacts (5f39900)
  • fix: remove unsafe package transport prototype (9892d70)
  • docs: link Windows console-script limitation (c08e7c6)
  • feat: add Skaffold and Tilt custom-builder integrations (9e4644c)
  • docs: keep strict no-host-mount boundary for #31 (9753bdb)
  • docs: record #22 pseudo-device mount boundary for #31 (e56aa2b)
  • feat: add fail-closed system package install prerequisites (081825b)
  • test: accept keyword arguments in squash fake dependency installer (c2f394c)
  • fix: fail closed on missing base tag provenance (6cf96e0)
  • feat: add init templates and interactive configuration wizard (ef54f92)
  • docs: record real linux/amd64 Grype acceptance evidence (fdcf4c8)
  • fix: carry pull-level tag provenance into per-platform ABI checks (db2ff8a)
  • fix: verify Grype target platform and kernel-header option echo (365c772)
  • fix: preserve explicit distroless entrypoint with cmd (1e45c24)
  • feat: pull base images through configured registry mirrors (7b8c535)
  • test: cover derived SARIF in real scanner acceptance (b5fa994)
  • fix: match Grype 0.119.0 database and default-ignore contract (1ba33eb)
  • feat: embed release notes in image labels (2020885)
  • fix: run configured cmd under the base entrypoint like Docker (4e3fd8d)
  • feat: add offline image validation (293e32b)
  • fix: match Grype 0.119.0 diffID layer identity contract (2b9ce51)
  • test: require explicit ABI and libc metadata for local base images (b0bbe7a)
  • fix: include cryptography Windows wheels in test lockfile (5e3b3cc)
  • fix: match either OCI index reference annotation (47c8768)
  • feat: match OCI references by containerd image name annotation (571974f)
  • feat: add editor and task runner examples (f11312e)
  • feat: configure OCI metadata and label precedence (eebbb9b)
  • feat: add private local build history (e0b6394)
  • fix: isolate synthetic benchmarks from ambient pip settings (229d866)
  • feat: add StopSignal/Volumes config and explicit import shell (6f4d29e)
  • feat: add registry delete and semver prune commands (1b73ad0)
  • feat(bench): add latency and bandwidth registry network benchmarks (dfbb071)
  • fix(registry): reuse one blob opener per client (2bf8d12)
  • feat: add opt-in HTTP registries and custom registry CA trust (b028781)
  • feat: add fail-closed experimental vulnerability scanning (55adc8d)
  • feat: detect unsupported Conda dependency inputs (096db7b)
  • feat: surface registry rate-limit and quota errors (0e65520)
  • fix: populate GIT_COMMIT in Jenkins example and add CI example structure tests (16f2b5b)
  • docs: add GitLab Jenkins and CircleCI pipeline examples (98f70d7)
  • docs: pin libc codename mappings to immutable sources (b863aaa)
  • chore: restore uv.lock accidentally rewritten by a local index override (82d1302)
  • fix: detect and redact package-index tokens in URL paths (f62abbd)
  • fix: fail closed on ambiguous virtualenv extras (c56fe25)
  • docs: record execution backend host probe results (13cf694)
  • ci: isolate overlay capabilities and D-Bus need in probe (1a4dcc7)
  • ci: grant overlay mounter DAC capabilities in probe container (82e60bd)
  • ci: record overlay mount errno, tmpfs upper and kernel log in probe (5405e81)
  • test: make missing-CLI hook test hermetic and document strict table selection (942693b)
  • ci: probe AppArmor attachments, overlay whiteouts and cgroup limits via crun (8fd85b1)
  • feat: reuse hash-pinned dependency layers from the local cache (dfbbb90)
  • fix: write layer analysis before tags and predict squash size from emitted headers (04e3dc6)
  • ci: add observational execution backend host probe (7049b84)
  • feat: authenticate to private package indexes without leaking credentials (89239d9)
  • feat: emit opt-in runtime security deployment fragments (b92c7ca)
  • fix: reject explicit config files without a supported table (1354482)
  • test: exercise offline pre-commit validation and document installation (c90563e)
  • docs: document layer squashing semantics and trade-offs (4478adc)
  • feat: add opt-in builder layer squashing and layer analysis (e126c2c)
  • feat: select compatible libc wheel tags for target images (9f1d09d)
  • fix: verify virtualenv dependency closure for the target platform (43a35ae)
  • fix: verify virtualenv dependency markers for the target platform (cf78c09)
  • test: cover target-marked locked dependencies across indexes (f3fc7c0)
  • test: cover multi-tag shared-manifest OCI layout selection (0d0cc7c)
  • feat: publish offline configuration pre-commit hook (6c8abab)
  • fix: attribute tag validation errors to the correct setting (8ef0df0)
  • fix: clarify virtualenv exclusion for multi-platform builds (4b51f2a)
  • feat: add offline validate config command with shared resolver (8b54a44)
  • test: cover armv7 virtualenv publication guard (d79f794)
  • fix: reject non-launcher escaping RECORD paths when stripping stubs (493d419)
  • fix(oci): expose every local tag on an index.json descriptor (d6a21e4)
  • fix: reject multi-platform virtualenv dependency staging (fa00b93)
  • fix: reject placeholders in lockfile index host or path (abbf8c3)
  • feat: optionally strip type stubs from the dependency layer (c33d02c)
  • feat: support linux/arm/v7 in multi-platform image indexes (8532885)
  • feat: enforce per-package lockfile artifact sources (c898ad7)
  • test: verify every multi-platform layout tag is selectable (e739580)
  • fix: report partial index tag publication (bb57fb3)
  • fix: require target metadata for unverified image identities (3b111d5)
  • fix: evaluate dependency environment markers for the target platform (6120694)
  • fix(ci): bind runtime evidence to workflow attempt (6d465d0)
  • fix: preserve base tag provenance only for registry tag pulls across index platforms (527d945)
  • fix(oci): annotate manifest descriptor with ref.name (a040ffb)
  • fix: scope registry credentials to exact GHCR and ACR hosts (83b5b72)
  • fix: preserve plugin dry-run and explicit uv indexes (429e363)
  • chore: restore uv.lock (2912df3)
  • fix: fail closed on ambiguous digest-only base image libc (527f588)
  • fix: fail index builds when a local OCI base layout changes mid-build (99ff9c3)
  • fix: validate lockfile indexes and dry-run freshness (2f8113e)
  • docs: remove resolved config precedence limitation (997b874)
  • ci: gate releases on native OCI runtime startup evidence (5fab922)
  • feat: resolve declared build arguments safely (d2f6281)
  • fix: enforce local image bounds before staging (742e2ba)
  • fix: verify compressed base DiffIDs for image indexes and document limits (186d2c7)
  • feat: build multi-platform OCI image indexes for linux/amd64 and linux/arm64 (b525d7b)
  • chore: restore root uv.lock (a7a75c3)
  • fix: harden lockfile index URLs, uv graph completeness and wheel-only hashes (a06e99f)
  • feat: stage dependencies from lockfiles and warn on unhashed requirements (fca2eeb)
  • test: exercise CLI override of a [tool.pycontainer] platform value (4a03a50)
  • test: track Poetry and Pipenv lock fixtures (e7546f2)
  • feat: add lockfile core for reproducible dependency staging (5ccd701)
  • feat: expose local archive platform for inspection (b2f2c6e)
  • fix: build --config reads imported [tool.pycontainer] settings (0b4a6bb)
  • feat: support local OCI layout and docker-save base images (7421cec)
  • fix(vscode): invoke the TypeScript 7 compiler explicitly (dcbd3e8)
  • Revert "chore: use Microsoft npm feed proxy for package installs (#114)" (#115) (7bdec10)
  • chore: use Microsoft npm feed proxy for package installs (#114) (a987d42)
  • build(deps-dev): bump @types/node in /plugins/vscode-pycontainer (#100) (f30eed2)
  • fix(vscode): load node and vscode types explicitly for TypeScript 7 (7a57563)
  • fix(vscode): complete the ESLint 10 migration (914a25e)
  • build(deps-dev): bump typescript in /plugins/vscode-pycontainer (dbd0496)
  • build(deps-dev): bump eslint in /plugins/vscode-pycontainer (5eb1c14)
  • build(deps-dev): align @typescript-eslint/eslint-plugin with parser v8 (659d326)
  • build(deps-dev): bump @vscode/vsce in /plugins/vscode-pycontainer (#98) (8e87508)
  • test: track generated requirements exclude in Aspire contract (#113) (3bb8ae1)
  • fix: avoid CLI crash on status symbols with legacy output encodings (#112) (298aa16)
  • fix: always use an explicit requirements file even when excluded (#111) (751b9eb)
  • fix: drop launcher entries from staged RECORD files (#110) (fec6369)
  • fix: tolerate files pip moves during staging limit checks (#109) (b9fa3c9)
  • test: pin CLI contract used by PyContainer.Aspire.Hosting and notify it on changes (#107) (ad9f8c4)
  • feat: add Dockerfile import subcommand (23dccaf)
  • feat: support multiple tags and semver expansion in one build (8799d1e)
  • docs: describe multiple tag support (477f495)
  • feat: add system package declaration, auto-detection and base image verification (b21356f)
  • build(deps-dev): bump @typescript-eslint/parser (ef6f017)
  • build: harden packaging and action provenance (#95) (94088aa)
  • fix(registry): select exact base image platforms (#94) (d3ee7e0)
  • fix: restore plugin integration contracts (#93) (ef5c934)
  • fix: align SBOM formats and shipped package inventory (#92) (63c2a99)
  • feat: stream and verify registry blob transfers (#90) (683a285)
  • feat(deps): stage target-compatible runtime dependencies (#89) (0d22309)
  • fix(discovery): bound build context file selection (#88) (0ba8a48)
  • fix(auth): preserve registry basic credentials (#87) (048ac0c)
  • fix(builder): publish layers atomically across rebuilds (#86) (5be053b)
  • fix(cli): preserve config-file values when omitted (#85) (0388d81)
  • fix(cache): make local layer reuse content-safe (#84) (35ce72b)
  • fix(oci): append generated layer diffids (#83) (ed5b424)
  • ci: add offline PR validation and reproducible baseline (#82) (4aae6f9)
  • docs: document performance audit and maintenance roadmap (#81) (7169bbb)
  • feat: Update installation instructions to include usage of uv and uvx for faster setup (628f623)
  • feat: Add local testing instructions for OCI images using Skopeo and Podman (9edbd87)
  • feat: Enhance local development guide with testing options for OCI images (0ea4c30)

Target runtime verification

Commit: 241887ed82e2f884c030c954fc5e813d67e8c43f

Each validated target built an image with pycontainer, imported the OCI
layout with Skopeo into a native Docker daemon, and started a container
that ran a staged dependency entry point.

Target Base image Image manifest Docker Skopeo Run
linux/amd64 python:3.11-slim sha256:14cb05c393d63666ca7c5bb4b50a030a0f00ae940103ab15c7d8a0f1a0aacb69 28.0.4 skopeo version 1.13.3 logs
linux/arm64 python:3.11-slim sha256:3146f32191a17df5c2214ebf48ceacad222b232524b423e240d56c27009dde5d 28.0.4 skopeo version 1.13.3 logs