khanlab / hippunfold

BIDS App for Hippunfold (automated hippocampal unfolding and subfield segmentation)
https://hippunfold.readthedocs.io
MIT License
47 stars 12 forks source link

Fix quality action #237

Closed kaitj closed 1 year ago

kaitj commented 1 year ago

@akhanf mentioned that the quality action has been failing when trying to install a package (see here).

Turns out this is due to a change made in the latest version of Poetry (the actions workflow doesn't pin the Poetry version used). As of v1.4.1, packages are required to use modern installation (see: https://github.com/python-poetry/poetry/issues/7686). This is potentially problematic when relying on older versions of packages and for packages who are still using non-modern installers. This PR fixes this by adding an additional step to disable the modern-installation requirement in the Poetry config.

Also used this PR as an opportunity to: