Skip to content

Add Conda packaging and automated Anaconda release workflow#293

Merged
harryswift01 merged 5 commits intomainfrom
292-bug-conda-release
Feb 27, 2026
Merged

Add Conda packaging and automated Anaconda release workflow#293
harryswift01 merged 5 commits intomainfrom
292-bug-conda-release

Conversation

@harryswift01
Copy link
Member

Summary

This PR will add automated Conda packaging and publishing to the release workflow so CodeEntropy can be distributed via the CCPBioSim Anaconda channel.

Changes

Add Conda build recipe:

  • Introduced conda-recipe/meta.yaml
  • Configured noarch Python build
  • Aligned package requirements with conda-forge
  • Added pip install step for waterEntropy

Add Conda release workflow:

  • Added Conda build job to release workflow
  • Automatically updates recipe version during release
  • Builds package using Miniforge
  • Uploads package to CCPBioSim Anaconda channel via API token

Documentation updates:

  • Added Conda install instructions to Getting Started guide
  • Added Conda developer environment option in Developer Guide

Impact

  • Expands distribution beyond PyPI
  • Improves reproducibility for HPC and scientific workflows
  • Provides foundation for future conda-forge packaging

@harryswift01 harryswift01 added this to the v2.0.0 milestone Feb 27, 2026
@harryswift01 harryswift01 requested a review from jimboid February 27, 2026 14:54
@harryswift01 harryswift01 self-assigned this Feb 27, 2026
@harryswift01 harryswift01 added bug Something isn't working CI Failure labels Feb 27, 2026
@harryswift01 harryswift01 linked an issue Feb 27, 2026 that may be closed by this pull request
Copy link
Member

@jimboid jimboid left a comment

Choose a reason for hiding this comment

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

Did you remove the defaults channel in this PR?

There is a warning on the previous run that failed saying something like setting 'conda-remove-defaults' to 'true'.

If you are sure this is done then merge.

@harryswift01 harryswift01 requested a review from jimboid February 27, 2026 16:08
Copy link
Member

@jimboid jimboid left a comment

Choose a reason for hiding this comment

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

This looks correct now. Fingers crossed!

@harryswift01 harryswift01 merged commit cba3d8e into main Feb 27, 2026
13 checks passed
@harryswift01 harryswift01 deleted the 292-bug-conda-release branch February 27, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working CI Failure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Conda release blocked by non-lowercase package name

2 participants