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.1.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.1-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coprtree-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 08cb1b606ee277ea99c75701721d277024ac02d47f1b1d50940eba00c6ec90e0
MD5 3a7c33eef05882da4f550bfc24f9b171
BLAKE2b-256 34595284626fc2d4116f463c1283fb53dda03a44cb7154c27e52ee88625ba8c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for coprtree-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: coprtree-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c2062e30bb1cfcf71470762e522612485c7be94b6590989ef1acf2cf1f7e8d37
MD5 8663c4983a905413cf3758a9aa8d15b9
BLAKE2b-256 1e615b48580adcc7b7c4f75702718c01cf221123d3a6bfad70d96e421ca6c6f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for coprtree-0.1.1-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