Skip to content

Modernise build system#500

Merged
lohedges merged 42 commits intodevelfrom
feature_rattler
Feb 12, 2026
Merged

Modernise build system#500
lohedges merged 42 commits intodevelfrom
feature_rattler

Conversation

@lohedges
Copy link
Contributor

@lohedges lohedges commented Feb 9, 2026

This PR modernises the BioSimSpace build system by switching to pixi for environment creation/maintenance and rattler-build for building conda packages. This builds on top of the changes to the Sire build system introduced here. In addition, the PR also removes the outdated setup.py installation by introducing the a standard src/BioSimSpace layout using a pyproject.tom. I've also switched to using versioningit for package versioning for consistency with other downstream OpenBioSim packages.

Other unrelated changes are:

  • Import Process base class through the sub-module __init__ to avoid lazy-loading issues.
  • Sort imports to avoid Sandpit drift. The refactor to local imports script didn't have a sorting rule, so the imports in the Sandpit are randomised with respect to the core code, despite the rest of the code being identical. This makes it hard to diff the files.
  • Add support for the recent namd3, which was released in late 2025.

This is the first time the CI will be run, so there might be minor issues to iron out.

Closes #358

  • I confirm that I have merged the latest version of devel into this branch before issuing this pull request (e.g. by running git pull origin devel): [y]
  • I confirm that I have added a test for any new functionality in this pull request: [y]
  • I confirm that I have added documentation (e.g. a new tutorial page or detailed guide) for any new functionality in this pull request: [y]
  • I confirm that I have permission to release this code under the GPL3 license: [y]

@lohedges lohedges added bug Something isn't working enhancement New feature or request labels Feb 9, 2026
@lohedges
Copy link
Contributor Author

Finally fixed all the CI issues, what an absolute pain. Turns out the version of rattler-build that comes with their own action had a load of weird bugs. Changing everything to manually install via pixi works, although there are some differences in the way the test environment handles PYTHONPATH, etc. Will merge this tomorrow and move on to the other packages.

@lohedges lohedges merged commit 44276a7 into devel Feb 12, 2026
@lohedges lohedges deleted the feature_rattler branch February 12, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] MIssing Windows conda packages

1 participant