Skip to content

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

Merged
sebhmg merged 4 commits into
developfrom
DEVOPS-1065
May 28, 2026
Merged

DEVOPS-1065: configure auto-versioning in local conda recipes#46
sebhmg merged 4 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:18
@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

This PR adjusts the project’s version propagation for the conda/rattler packaging flow by moving version substitution from recipe.yaml into a generated _version.json, and enables an “experimental” build mode in the dev deploy workflow.

Changes:

  • Update recipe.yaml to load the package version from an auto-generated _version.json.
  • Update pyproject.toml (poetry-dynamic-versioning) to persist version substitution into _version.json (and adjust the _version.py placeholder).
  • Enable build-experimental for the dev conda publish reusable workflow.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
recipe.yaml Switches recipe version source to _version.json via load_from_file(...).
pyproject.toml Re-targets dynamic version substitution outputs to _version.json and _version.py.
.github/workflows/python_deploy_dev.yml Turns on build-experimental for the rattler publish workflow invocation.

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

Comment thread recipe.yaml
Comment on lines +5 to +6
# Extract version from auto-generated _version.json
version: ${{ load_from_file("_version.json").version | trim }}
Comment thread recipe.yaml
Comment on lines +5 to +6
# Extract version from auto-generated _version.json
version: ${{ load_from_file("_version.json").version | trim }}
@RomFloreani RomFloreani requested a review from sebhmg May 27, 2026 17:36
Comment thread tests/version_test.py
@sebhmg sebhmg merged commit df556c5 into develop May 28, 2026
14 of 15 checks passed
@sebhmg sebhmg deleted the DEVOPS-1065 branch May 28, 2026 02:26
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.

3 participants