Skip to content

Conversation

@malik-irain
Copy link
Contributor

@malik-irain malik-irain commented Mar 12, 2025

Fixes #25 by re-implementing the way to get version.

It fixes the github action to check compatibility. Now it checks with branch 4.4.x and the latest main one.

Also, PyMoDAQPlugin.save_xxx_report methods now accept a parameter to chose where to save the report.

(A new release should be done when accepting the PR.)

pip install hatch pyqt5
pip install git+https://github.com/PyMoDAQ/PyMoDAQ.git@${{ matrix.pymodaq-version }}
if [[ "${{ matrix.pymodaq-version }}" = "latest" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice trick ;-)

else
pymodaq="git+https://github.com/PyMoDAQ/PyMoDAQ.git@${{ matrix.pymodaq-version }}"
fi
python src/pymodaq_plugin_manager/compatibility_checker.py "${pymodaq}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because it is installed one could use : python -m pymodaq_plugin_manager.compatibility, no?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's no big deal, I'll meage it as is

@seb5g seb5g merged commit f1c11ad into PyMoDAQ:main Mar 12, 2025
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.

(Undeclared) dependancy to pymodaq_utils

2 participants