Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Matrix expansion with pinned subpackages #232

Open
wolfv opened this issue Jan 28, 2022 · 2 comments
Open

Matrix expansion with pinned subpackages #232

wolfv opened this issue Jan 28, 2022 · 2 comments

Comments

@wolfv
Copy link
Member

wolfv commented Jan 28, 2022

We sometimes have a situation where a package is exactly pinning a subpackage and the pinned subpackage has multiple variants. If the matrix is not the same for the pacakge & subpackage, only one package might be created.

E.g.

conda_build_config.yaml

A:
- 1.0
- 2.0
outputs:
   package:
      name: x1
   dependencies:
      run:
         - A
    package:
       name: x2
     dependencies:
        run:
            - {{ pin_subpackage('x1', exact=True) }}

We should either warn or automatically expand the matrix for x2 with all variants of x1.

@Tobias-Fischer
Copy link
Contributor

Nice! Real life example where this has bitten us: conda-forge/bullet-feedstock#45

@wolfv
Copy link
Member Author

wolfv commented Feb 28, 2022

This is implemented in #249

Referencing some conda-build issues on this: conda/conda-build#3308 (comment)

conda/conda-build#4142

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

No branches or pull requests

2 participants