Skip to content

Conversation

@baszalmstra
Copy link
Contributor

Add comprehensive documentation for the match() function in the Jinja functions reference section. This function enables version comparisons using conda's version matching syntax.

The documentation includes:

  • Function syntax and parameters with support for operators (==, !=, <, <=, >, >=), wildcards (*), and comma-separated combinations
  • Multiple practical usage examples including skip conditions, conditional dependencies, version ranges, and wildcard patterns
  • Important note clarifying that match() conditions for dependencies are resolved during package build time, not at install time
  • Note about following conda's standard version matching rules

Fixes #1800

AI Disclosure

Written by claude code web

Add comprehensive documentation for the match() function in the Jinja
functions reference section. This function enables version comparisons
using conda's version matching syntax.

The documentation includes:
- Function syntax and parameters with support for operators (==, !=, <,
  <=, >, >=), wildcards (*), and comma-separated combinations
- Multiple practical usage examples including skip conditions,
  conditional dependencies, version ranges, and wildcard patterns
- Important note clarifying that match() conditions for dependencies
  are resolved during package build time, not at install time
- Note about following conda's standard version matching rules

Fixes prefix-dev#1800
@baszalmstra baszalmstra changed the title docs: add documentation for the match() Jinja function docs: add documentation for the match() Jinja function Nov 6, 2025
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.

Document match function in the Jinja functions section

2 participants