Skip to content

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

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

DEVOPS-1065: configure auto-versioning in local conda recipes#125
sebhmg merged 4 commits into
developfrom
DEVOPS-1065

Conversation

@RomFloreani

@RomFloreani RomFloreani commented May 27, 2026

Copy link
Copy Markdown

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

Copilot AI left a comment

Copy link
Copy Markdown

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 conda recipe/versioning flow to derive the conda package version from an auto-generated _version.json, aligning conda builds with poetry-dynamic-versioning outputs.

Changes:

  • Switch conda recipe.yaml to load the package version from _version.json instead of a hardcoded placeholder.
  • Reconfigure poetry-dynamic-versioning substitution to target _version.json (and update initial placeholder content).
  • Enable build-experimental in the dev conda publish GitHub workflow.

Reviewed changes

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

File Description
recipe.yaml Loads conda recipe version from _version.json via load_from_file(...).
pyproject.toml Redirects dynamic version substitution to _version.json and updates initial version placeholders.
.github/workflows/python_deploy_dev.yml Passes build-experimental: true to the reusable conda publish workflow.

💡 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 pyproject.toml
initial-content = """
# Version placeholder that will be replaced during substitution
__version__ = "0.0.0"
__version__ = "0.0.0.dev0"
Comment thread pyproject.toml

[tool.poetry-dynamic-versioning.files."recipe.yaml"]
[tool.poetry-dynamic-versioning.files."_version.json"]
persistent-substitution = true
@codecov

codecov Bot commented May 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.93%. Comparing base (b53c653) to head (1e70438).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #125      +/-   ##
===========================================
+ Coverage    92.83%   92.93%   +0.10%     
===========================================
  Files           27       27              
  Lines         1507     1501       -6     
===========================================
- Hits          1399     1395       -4     
+ Misses         108      106       -2     
Files with missing lines Coverage Δ
tests/version_test.py 81.39% <100.00%> (+1.80%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@RomFloreani RomFloreani requested a review from sebhmg May 27, 2026 17:37
Comment thread tests/version_test.py
@sebhmg sebhmg merged commit c269f71 into develop May 28, 2026
19 checks passed
@sebhmg sebhmg deleted the DEVOPS-1065 branch May 28, 2026 02:20
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