Skip to content

DEVOPS-1065: configure auto-versioning in local conda recipes#67

Open
RomFloreani wants to merge 3 commits into
developfrom
DEVOPS-1065
Open

DEVOPS-1065: configure auto-versioning in local conda recipes#67
RomFloreani wants to merge 3 commits into
developfrom
DEVOPS-1065

Conversation

@RomFloreani
Copy link
Copy Markdown
Contributor

@RomFloreani RomFloreani commented May 27, 2026

DEVOPS-1065 - configure auto-versioning in local conda recipes

Copilot AI review requested due to automatic review settings May 27, 2026 13:17
@github-actions github-actions Bot changed the title DEVOPS-1065 DEVOPS-1065: configure auto-versioning in local conda recipes May 27, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the project’s versioning flow so the conda recipe derives its version from an auto-generated JSON file, aligning conda packaging with Poetry dynamic versioning, and tweaks the dev deployment workflow to use an experimental build path.

Changes:

  • Switch recipe.yaml to read context.version from _version.json instead of a hardcoded placeholder.
  • Update Poetry dynamic versioning substitution to generate and substitute _version.json (instead of substituting recipe.yaml).
  • Enable build-experimental: true for the dev conda publish reusable workflow.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
recipe.yaml Reads the conda recipe version from _version.json via load_from_file(...).
pyproject.toml Reconfigures poetry-dynamic-versioning substitution targets/patterns and adds _version.json initial content.
.github/workflows/python_deploy_dev.yml Enables the experimental build input for the conda publish reusable workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread recipe.yaml
Comment on lines +5 to +7
# Extract version from auto-generated _version.json
version: ${{ load_from_file("_version.json").version | trim }}
python_min: '3.12'
@RomFloreani RomFloreani requested a review from sebhmg May 27, 2026 17:37
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