📦 Dependency Management Enhancements

Open
#48 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
8/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
python
Domain
build-system

Research direction

This is a parent tracking issue, not a single change: it collects lockfile support (#59, #32), runtime staging (#74), system packages (#64, #31), layer splitting (#33) and SBOM work (#76). Start by reading the staging code that produces the target-compatible dependency set, since the thread says everything else depends on it. Do not start here; pick one linked sub-issue with a merged-PR path, and treat this issue as done only when all sub-issues are closed.

Written by the indexing model from the issue text.

Description

dependencies enhancement parent-issue

This parent issue tracks dependency management improvements for Python packages.

Overview

Better handling of Python dependencies including lockfiles, private registries, and conditional dependencies.

Key Features Needed

  • Lockfile support (Poetry, Pipenv, uv)
  • Virtual environment packaging
  • Wheel caching
  • System package installation
  • Private PyPI registries
  • Conditional dependencies (extras)

Priority

High - Lockfile support is critical for reproducible builds.

Parent issue for dependency management features.

Maintenance refresh: 2026-11-19

Runtime staging #74 must produce actually importable target-compatible dependencies before lockfiles #59 or layer splitting #33. Copying requirements.txt is not installation. SBOM inventory #76 must derive from staged packages, not host pip freeze.

Consolidation and tracking: 2026-11-22

Older duplicate #30 is consolidated here.

Tracked
  • Done foundation: #74 target-compatible staging; #64 system package declaration/verification (does not install).
  • #59 and #32 lockfiles (open duplicate candidates, v0.4.0; consolidate before implementation).
  • #31 actual apt/apk installation (Future).
  • Related, owned elsewhere: #25 build-time vs runtime dependencies (#19), #33 dependency layer splitting (#49), #76 SBOM from staged inventory.
Unscoped (no issue yet)
  • Virtual environment packaging beyond the current pure-Python existing-venv staging (native packages are rejected today).
  • Wheel caching across builds: define cache key (target platform, Python ABI, index URL, hashes) and reuse the verified cache from #70/#75.
  • Private package index authentication: credential source, no secrets in layers/SBOM/logs (relates #16).
  • Conditional dependencies (extras): selection syntax in CLI/TOML and how extras appear in staging and SBOM.

Category closure criteria: close only when (1) every tracked sub-issue is closed with a linked merged PR, or with a recorded not-planned rationale; and (2) each unscoped item below either links to its own delivered issue/PR (with tests or docs) or has a dated comment here declining or deferring it and naming the dropped scope. A single merged feature does not close this category. New work for an unscoped item gets its own issue, added as a sub-issue here.

Triage update: 2026-12-03

  • #32, #143, #144, and #147 are closed; #59 and #146 remain open. The older #59/#32 overlap note predates #32's closure.
Dominant language
Python
Stars
10
Forks
1
Avg merge
1d 19h
Merged PRs (30d)
129

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from spboyer/pycontainer-build

All issues in spboyer/pycontainer-build

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.