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

Uploaded Python 3

File details

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

File metadata

  • Download URL: coprtree-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 a1f109006cf27d44493929381452c38c966045503d0bd3e75a47799a40cf986f
MD5 34e3d8888dbd38f5d39fbec6e4b9467f
BLAKE2b-256 6ad731d422b59cabb8d5a3f798d3d6e1f00459accaf36b82514d890ae8c40599

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: coprtree-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa570db22ebd2fdfd2ef9f6a34e0b59f22011f4b17efe410e6d55ab4cfd85e74
MD5 afa932cd8422821efb1eba9ff9be68b8
BLAKE2b-256 75a1d6f59114a984a7b0afdef34b26a5533938bc02e473e247c2ce50fe895502

See more details on using hashes here.

Provenance

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