Skip to content

Conversation

@alex-rakowski
Copy link
Collaborator

This pull request updates the check_config workflow. Taken from #560.

This PR does the following:

Updates config_checker so that it does scrapes the required modules and optional installs from setup.py and adds generic version checking for installed versions of packages. New behavior is if we add a dependency or add a new optional set of dependencies e.g. ~"dev" : ["pytest", "black", "flake8"], it will no automatically pick up on "dev" install optional and test whether all the dependencies are met, and report the state i.e. all met or not. Previously, we had to manually update by adding a dependency or optional dependencies set to a list or dict.

Copy link
Member

@sezelt sezelt 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 like a good improvement and should improve maintainability

@sezelt sezelt merged commit 92969ed into py4dstem:dev Jan 5, 2024
bsavitzky pushed a commit to bsavitzky/py4DSTEM that referenced this pull request Mar 12, 2024
Update check_config workflow

Former-commit-id: 92969ed
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