Skip to main content

Resolve a package's dependency tree into parallel Fedora Copr build levels

Project description

Coprtree

The resolver library

Requirements

sudo dnf install python3-dnf

Setup virtual environment

uv venv --system-site-packages

Usage

from coprtree.coprtree import resolve_dependencies
from coprtree.models import BuildTarget, BuildEnv

levels = resolve_dependencies(
    BuildTarget(provider="pypi.org", name="pydantic-ai"),
    BuildEnv(chroot="fedora-44-x86_64", copr_project="OWNER/PROJECT"),
)

provider is an ecosyste.ms registry id: pypi.org or metacpan.org.

Packages within a level do not depend on each other and can be built in parallel, and every level depends only on the ones before it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coprtree-0.1.2.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coprtree-0.1.2-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file coprtree-0.1.2.tar.gz.

File metadata

  • Download URL: coprtree-0.1.2.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for coprtree-0.1.2.tar.gz
Algorithm Hash digest
SHA256 23fed7e864a23e935a26ccd21ea5df16b35efc4430072d864e355978ca2a6987
MD5 98fb4c3142b356cdfcfec1fd22f548aa
BLAKE2b-256 c5e41e30285abaf23ed49804f93e74136c9c977aaadbd02cc3f720e1c491d157

See more details on using hashes here.

Provenance

The following attestation bundles were made for coprtree-0.1.2.tar.gz:

Publisher: release.yml on sundaram123krishnan/coprtree

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file coprtree-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: coprtree-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for coprtree-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 516897dcfcac57f9453e69e8d8218770e0aa8d464fcaf3ec61e23ff546131b33
MD5 7decbf0903ab6a25d1f90a225b960ebc
BLAKE2b-256 346ddbdc4af8ef62f1f3c065fb710d831953181b595445b2a06a7839c9ea23b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for coprtree-0.1.2-py3-none-any.whl:

Publisher: release.yml on sundaram123krishnan/coprtree

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page