PASTAplus / web-x

The EDI Website Project
Apache License 2.0
1 stars 1 forks source link

GitHub Action Failing on flake8 Installation #55

Closed clnsmth closed 9 months ago

clnsmth commented 9 months ago

The GitHub Action web-x Build is encountering a failure during the Lint with flake8 step, specifically during the installation of flake8. It seems to be related to the selected solver (see related issue).

Run conda install flake8
Error while loading conda entry point: conda-libmamba-solver (libarchive.so.19: cannot open shared object file: No such file or directory)

CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic

Error: Process completed with exit code 1.

@servilla, could you please advise on how you would like to proceed with this? I'm happy to address this, but I'm unsure if there are specific conda environment parameters that should be maintained.

servilla commented 9 months ago

Solved by updating solver for GitHub actions to use classic (d74a055 and 40766e0)

conda install flake8 --solver=classic
conda install pytest --solver=classic
clnsmth commented 9 months ago

Nice! Thanks @servilla.