Skip to content

fix: MBCondaPackages version string doubled when include_channels=True#28

Merged
alubbock merged 2 commits intomainfrom
fix/conda-version-concat
Mar 13, 2026
Merged

fix: MBCondaPackages version string doubled when include_channels=True#28
alubbock merged 2 commits intomainfrom
fix/conda-version-concat

Conversation

@alubbock
Copy link
Copy Markdown
Owner

Summary

  • pkg_version += pkg_version + '(' + pkg_data[3] + ')' doubled the version string, producing e.g. 1.24.3py311ha0bc626_01.24.3py311ha0bc626_0(conda-forge) instead of 1.24.3py311ha0bc626_0(conda-forge)
  • Fixed to pkg_version += '(' + pkg_data[3] + ')'
  • Adds microbench/tests/test_conda.py with mocked subprocess to verify correct parsing with and without channels/build strings

@alubbock alubbock force-pushed the fix/conda-version-concat branch from 4f2cfa7 to 8acafeb Compare March 12, 2026 23:42
@alubbock alubbock force-pushed the fix/conda-version-concat branch from 7a73407 to e894603 Compare March 12, 2026 23:52
@alubbock alubbock merged commit 6d21b48 into main Mar 13, 2026
20 checks passed
@alubbock alubbock deleted the fix/conda-version-concat branch March 13, 2026 00:10
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.

1 participant