Skip to content

Conversation

@h-vetinari
Copy link
Member

For a long time this feedstock has contained a note about a conda-build bug:

# Building with blis fails due to a conda-build bug
{% if blas_impl != 'blis' %}
- {{ pin_subpackage("liblapack", exact=True) }}
- {{ pin_subpackage("liblapacke", exact=True) }}
- {{ pin_subpackage("libcblas", exact=True) }}
- {{ pin_subpackage("libblas", exact=True) }}
{% else %}
- blis 0.9.0
{% endif %}

if [[ "${blas_impl}" == "blis" ]]; then
# conda-build can't install a correct environment for testing
conda install -c conda-forge "libblas=*=*blis" "libcblas=*=*blis" "liblapack=*=*netlib" "liblapacke=*=*netlib" --use-local --yes -p $PREFIX
fi

This is to document the issue publicly, which (AFAICT) boils down to an incorrect merge of the different (but not actually conflicting) variants being at play.

@conda-forge-webservices
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@h-vetinari
Copy link
Member Author

Interestingly, the bug seems to have been fixed in conda-build 🥳

@h-vetinari
Copy link
Member Author

Ah, celebrated too soon - I picked this into #114 and now the failure is back:

  File "C:\Miniforge\lib\site-packages\conda_build\render.py", line 749, in finalize_metadata
    _simplify_to_exact_constraints(m)
  File "C:\Miniforge\lib\site-packages\conda_build\render.py", line 598, in _simplify_to_exact_constraints
    raise ValueError(f"Conflicting exact pins: {exact_pins}")
ValueError: Conflicting exact pins: [['3.11.0', '0_h7bd1d87_netlib'], ['3.11.0', '0_win64_blis'], ['3.11.0', '0_h7bd1d87_netlib']]

@h-vetinari h-vetinari force-pushed the conda_build_issue_demo branch from 0877ec0 to 9c83a46 Compare December 19, 2024 04:57
@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipe/meta.yaml:

  • ℹ️ The recipe is not parsable by parser conda-souschef (grayskull). This parser is not currently used by conda-forge, but may be in the future. We are collecting information to see which recipes are compatible with grayskull.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12406531693. Examine the logs at this URL for more detail.

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

Successfully merging this pull request may close these issues.

2 participants