Skip to content

Require cma - #88

Merged
edkerk merged 3 commits into
developfrom
fix/require-cma
Nov 6, 2026
Merged

edkerk merged 3 commits into
developfrom
fix/require-cma

Conversation

@edkerk

@edkerk edkerk commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

cma is a dependency of geckopy, and the extra evotune is removed. import geckopy imports cma through geckopy.gather_kcats.review and geckopy.kcat_tuning.evotune. cma is a pure-Python package with a wheel of 347 KB that requires numpy only.

cma warns on import when matplotlib is absent, and the base install has no matplotlib. The import in evotune/tuning.py ignores that one message.

The README, the evotune guide and the tutorial no longer name the extra. A CI job installs geckopy without extras and imports it with the matplotlib warning as an error.

cma is a dependency of geckopy and the extra evotune is removed. import geckopy raised ModuleNotFoundError without the extra, because review_assignment imports a module of the evotune subpackage. A CI job installs geckopy without extras and imports it.
Importing cma without matplotlib no longer warns on import geckopy, and the CI job imports geckopy with that warning as an error. cma stands in alphabetical order in the dependencies, and the changelog and the evotune guide state the current dependency.
@edkerk
edkerk merged commit c666b5d into develop Nov 6, 2026
8 checks passed
@edkerk
edkerk deleted the fix/require-cma branch November 6, 2026 14:01
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