Skip to content

Address module export dependencies#402

Merged
MartinWheelerMT merged 2 commits intomainfrom
address-module-export-dependencies
Feb 2, 2026
Merged

Address module export dependencies#402
MartinWheelerMT merged 2 commits intomainfrom
address-module-export-dependencies

Conversation

@MartinWheelerMT
Copy link
Collaborator

@MartinWheelerMT MartinWheelerMT commented Feb 2, 2026

What

  • Switch from setup.py to pyproject.toml as this is now the preferred method in python.
  • Update dependency versions in pyproject.toml to match those being used by the module.
  • Rebuild mhs/common for the current changes.
  • Rebuild dependent lock files.

Why

Setup.py files were specifying the local package dependencies as having different versions exported than than the pipfile. As, when this package is imported it uses these specified values, not the pipfile to determine dependencies. This should now be aligned. Modern python also uses pyproject.toml files instead of setup.py files so have migrated to this structure.

All dependent lock files we required to be regenerated.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Internal change (non-breaking change with no effect on the functionality affecting end users)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have updated the Changelog with details of my change in the UNRELEASED section if this change will affect end users

@MartinWheelerMT MartinWheelerMT requested a review from a team as a code owner February 2, 2026 14:25
* Switch from `setup.py` to `pyproject.toml` as this is now the preferred method in python.
* Update dependency versions in `pyproject.toml` to match those being used by the module.
* Rebuild `mhs/common` for the current changes.
* Rebuild dependent lock files.
@MartinWheelerMT MartinWheelerMT force-pushed the address-module-export-dependencies branch from 0a3b5b7 to 28592da Compare February 2, 2026 14:27
@MartinWheelerMT MartinWheelerMT enabled auto-merge (squash) February 2, 2026 14:39
@MartinWheelerMT MartinWheelerMT merged commit 2aa8842 into main Feb 2, 2026
13 checks passed
@MartinWheelerMT MartinWheelerMT deleted the address-module-export-dependencies branch February 2, 2026 15:11
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.

2 participants