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

Finish cuda migration, fixes for linter #221

Merged
merged 4 commits into from
Dec 2, 2024
Merged

Conversation

minrk
Copy link
Member

@minrk minrk commented Nov 26, 2024

didn't happen automatically since I think we had patches in the migrator

no longer need special skip
@conda-forge-admin

This comment was marked as outdated.

- can only parse if conditionals are not indented
- fewer conditionals, instead set variables
- make sure variables we use are 'defined'
@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.

@@ -94,22 +103,22 @@ requirements:
- fftw * mpi_{{ mpi }}_*
- cuda-version {{ cuda_compiler_version }} # [cuda_compiler_version != "None"]
- cudatoolkit # [(cuda_compiler_version or "").startswith("11")]
{% if cuda_major >= 12 %}
{% if cuda_major >= 12 %}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The currently used parser doesn't handle jinja conditions when they are indented. This is a bug: conda-incubator/conda-recipe-manager#258

@minrk minrk changed the title Finish cuda migration Finish cuda migration, fixes for linter Dec 2, 2024
@minrk minrk merged commit 7f9ad1a into conda-forge:main Dec 2, 2024
47 checks passed
@minrk minrk deleted the finish-cuda branch December 2, 2024 09:09
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