Skip to content

fix: context rendering with variant - #2544

Open
wolfv wants to merge 1 commit into
conda-forge:mainfrom
wolfv:variant-in-context-rb
Open

fix: context rendering with variant#2544
wolfv wants to merge 1 commit into
conda-forge:mainfrom
wolfv:variant-in-context-rb

Conversation

@wolfv

@wolfv wolfv commented May 4, 2026

Copy link
Copy Markdown
Member

@baszalmstra found an issue converting the vc-feedstock to v1 recipe. The context section requires some values coming from the variant definition.

Rendering the context without the variant failed the rerendering.

This still needs some testing. Alternatively, we could be more lenient in rattler-build-conda-compat and ignore lines in context that fail to render. Sister PR: conda-forge/rattler-build-conda-compat#121

Checklist

  • Added a news entry
  • Regenerated schema JSON if schema altered (python -m conda_smithy.schema)
  • Regenerated linter documentation if any rules were added, removed or modified (python -m conda_smithy.linter.messages)

@wolfv
wolfv requested a review from a team as a code owner May 4, 2026 08:51

@beckermr beckermr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This needs a test and current tests are failing.

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