Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Report run_exports in build summary #1305

Open
carterbox opened this issue Jan 6, 2025 · 0 comments
Open

Feature Request: Report run_exports in build summary #1305

carterbox opened this issue Jan 6, 2025 · 0 comments

Comments

@carterbox
Copy link

carterbox commented Jan 6, 2025

Here is an example build summary for a package which shows the resulting run dependencies of the package.

 │ ╭─ Build summary for recipe: dav1d-dev-1.5.0-h59cc2e9_0
 │ │ Artifact: /home/dching/Documents/dav1d-feedstock/output/linux-64/dav1d-dev-1.5.0-h59cc2e9_0.conda (19.77 KiB)
 │ │ Variant configuration (hash: h59cc2e9_0):
 │ │ ╭────────────────────┬──────────────────╮
 │ │ │ c_compiler         ┆ gcc              │
 │ │ │ c_compiler_version ┆ 13               │
 │ │ │ c_stdlib           ┆ sysroot          │
 │ │ │ c_stdlib_version   ┆ 2.17             │
 │ │ │ channel_targets    ┆ conda-forge main │
 │ │ │ libdav1d           ┆ 1.5.0 hd0c01bc_0 │
 │ │ │ libdav1d7          ┆ 1.5.0 hd0c01bc_0 │
 │ │ │ target_platform    ┆ linux-64         │
 │ │ ╰────────────────────┴──────────────────╯
 │ │
 │ │ Build dependencies:
 │ │ ╭─────────────────────────┬───────────────────┬─────────┬──────────────┬─────────────┬────────────╮
 │ │ │ Package                 ┆ Spec              ┆ Version ┆ Build        ┆ Channel     ┆       Size │
 │ │ ╞═════════════════════════╪═══════════════════╪═════════╪══════════════╪═════════════╪════════════╡
 │ │ │ gcc_linux-64            ┆ gcc_linux-64 13.* ┆ 13.3.0  ┆ hc28eda2_7   ┆ conda-forge ┆  31.25 KiB │
 │ │ │ _libgcc_mutex           ┆                   ┆ 0.1     ┆ conda_forge  ┆ conda-forge ┆   2.50 KiB │
 │ │ │ _openmp_mutex           ┆                   ┆ 4.5     ┆ 2_gnu        ┆ conda-forge ┆  23.07 KiB │
 │ │ │ binutils_impl_linux-64  ┆                   ┆ 2.43    ┆ h4bf12b8_2   ┆ conda-forge ┆   5.42 MiB │
 │ │ │ binutils_linux-64       ┆                   ┆ 2.43    ┆ h4852527_2   ┆ conda-forge ┆  34.13 KiB │
 │ │ │ gcc_impl_linux-64       ┆                   ┆ 13.3.0  ┆ hfea6d02_1   ┆ conda-forge ┆  64.34 MiB │
 │ │ │ kernel-headers_linux-64 ┆                   ┆ 3.10.0  ┆ he073ed8_18  ┆ conda-forge ┆ 921.37 KiB │
 │ │ │ ld_impl_linux-64        ┆                   ┆ 2.43    ┆ h712a8e2_2   ┆ conda-forge ┆ 653.53 KiB │
 │ │ │ libgcc                  ┆                   ┆ 14.2.0  ┆ h77fa898_1   ┆ conda-forge ┆ 828.85 KiB │
 │ │ │ libgcc-devel_linux-64   ┆                   ┆ 13.3.0  ┆ h84ea5a7_101 ┆ conda-forge ┆   2.48 MiB │
 │ │ │ libgomp                 ┆                   ┆ 14.2.0  ┆ h77fa898_1   ┆ conda-forge ┆ 450.19 KiB │
 │ │ │ libsanitizer            ┆                   ┆ 13.3.0  ┆ heb74ff8_1   ┆ conda-forge ┆   3.94 MiB │
 │ │ │ libstdcxx               ┆                   ┆ 14.2.0  ┆ hc0a3c3a_1   ┆ conda-forge ┆   3.71 MiB │
 │ │ │ sysroot_linux-64        ┆                   ┆ 2.17    ┆ h0157908_18  ┆ conda-forge ┆  14.46 MiB │
 │ │ │ tzdata                  ┆                   ┆ 2024b   ┆ hc8b5060_0   ┆ conda-forge ┆ 119.49 KiB │
 │ │ ╰─────────────────────────┴───────────────────┴─────────┴──────────────┴─────────────┴────────────╯
 │ │
 │ │ Host dependencies:
 │ │ ╭───────────────┬───────────────────────────────────────────┬─────────┬─────────────┬─────────────┬────────────╮
 │ │ │ Package       ┆ Spec                                      ┆ Version ┆ Build       ┆ Channel     ┆       Size │
 │ │ ╞═══════════════╪═══════════════════════════════════════════╪═════════╪═════════════╪═════════════╪════════════╡
 │ │ │ libgcc        ┆ libgcc >=13 (RE of [build: gcc_linux-64]) ┆ 14.2.0  ┆ h77fa898_1  ┆ conda-forge ┆ 828.85 KiB │
 │ │ │ _libgcc_mutex ┆                                           ┆ 0.1     ┆ conda_forge ┆ conda-forge ┆   2.50 KiB │
 │ │ │ _openmp_mutex ┆                                           ┆ 4.5     ┆ 2_gnu       ┆ conda-forge ┆  23.07 KiB │
 │ │ │ libgomp       ┆                                           ┆ 14.2.0  ┆ h77fa898_1  ┆ conda-forge ┆ 450.19 KiB │
 │ │ ╰───────────────┴───────────────────────────────────────────┴─────────┴─────────────┴─────────────┴────────────╯
 │ │
 │ │ Run dependencies:
 │ │ ╭──────────────────┬────────────────────────────────────────────────────────╮
 │ │ │ Name             ┆ Spec                                                   │
 │ │ ╞══════════════════╪════════════════════════════════════════════════════════╡
 │ │ │ Run dependencies ┆                                                        │
 │ │ │ libdav1d         ┆ ==1.5.0 hd0c01bc_0 (PS)                                │
 │ │ │ libdav1d7        ┆ ==1.5.0 hd0c01bc_0 (PS)                                │
 │ │ │ libgcc           ┆ >=13 (RE of [build: gcc_linux-64])                     │
 │ │ │ libgcc           ┆ >=13 (RE of [cache-build: gcc_linux-64])               │
 │ │ │ __glibc          ┆ >=2.17,<3.0.a0 (RE of [cache-build: sysroot_linux-64]) │
 │ │ ╰──────────────────┴────────────────────────────────────────────────────────╯
 │ │
 │ │ ⚠ warning Warnings:
 │ │ ⚠ warning Overdepending against libdav1d
 │ │ ⚠ warning Overdepending against libdav1d7
 │ │ ⚠ warning Overdepending against libgcc
 │ │ ⚠ warning Overdepending against __glibc
 │ │
 │ ╰─────────────────── (took 0 seconds)

Since this is a development package, I would like an addition section Run exports: which shows what the run exports for this package were rendered to.

Example:

 │ │ Run exports:
 │ │ ╭──────────────────┬────────────────────────────────────────────────────────╮
 │ │ │ Name             ┆ Spec                                                   │
 │ │ ╞══════════════════╪════════════════════════════════════════════════════════╡
 │ │ │ Run exports      ┆                                                        │
 │ │ │ libdav1d         ┆ >=1.5.0 (PS) (weak)                                    │
 │ │ │ libdav1d7        ┆ >=1.5.0 (PS) (weak)                                    │
 │ │ ╰──────────────────┴────────────────────────────────────────────────────────╯

The PS and weak comments are because the run_export was detemplated from pin_subpackage and the run_exports are weak (as opposed to strong)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant