Skip to content

Align prepmd Packaging and Release Workflow with Other CCPBioSim Repositories#32

Open
harryswift01 wants to merge 4 commits into
mainfrom
31-resolve-release-workflow-configuration
Open

Align prepmd Packaging and Release Workflow with Other CCPBioSim Repositories#32
harryswift01 wants to merge 4 commits into
mainfrom
31-resolve-release-workflow-configuration

Conversation

@harryswift01

Copy link
Copy Markdown
Member

Summary

This PR updates prepmd’s packaging and release setup to align more closely with the approach used by other CCPBioSim repos.

Changes

Package configuration

  • Switched the project build backend to Flit.
  • Added dynamic versioning using prepmd.__version__.
  • Simplified prepmd/__init__.py by removing eager imports of all submodules.
  • Retained the existing prepmd, runmd, and prep-license command-line entry points.

Conda packaging

  • Updated the Conda recipe to build the package using Flit.
  • Added the required prepmd runtime dependencies.
  • Kept openff-toolkit as a Conda runtime dependency.
  • Added import and command-line checks to the Conda package tests.
  • Configured dependency resolution through conda-forge.

Release workflow

  • Added automated version updates for prepmd/__init__.py and CITATION.cff.
  • Added automatic Git tagging and GitHub release creation.
  • Added automated Conda package building and publishing to Anaconda.org.
  • Kept the Conda recipe version as a placeholder that is replaced during the release workflow.

Impact

  • Makes prepmd’s packaging and release process more consistent with other CCPBioSim repos.
  • Avoids importing every prepmd module during a basic package import.
  • Reduces import failures caused by optional or heavyweight dependencies.
  • Provides a more consistent and repeatable Conda release process.

@harryswift01
harryswift01 requested a review from Rob-Welch July 15, 2026 15:23
@harryswift01 harryswift01 self-assigned this Jul 15, 2026
@harryswift01 harryswift01 linked an issue Jul 15, 2026 that may be closed by this pull request
@harryswift01 harryswift01 changed the title Align PrepMD Packaging and Release Workflow with Other CCPBioSim Repositories Align prepmd Packaging and Release Workflow with Other CCPBioSim Repositories Jul 16, 2026
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.

Resolve release workflow configuration

1 participant