The CI workflow file uses conda to install the latest version of Python, which will produce an error when running pylint. To fix this, the python version in the CI environment is pinned to 3.10. However, conda produces another error when installing python 3.10, so I feel it's better to remove conda in the workflow and simply use pip to install the dependencies. Therefore I replaced the requirements.conda.yaml with requirements.txt to let pip install the packages.
In addition, I updated the Github actions setup-python and checkout to their latest corresponding versions.
The CI workflow file uses
conda
to install the latest version of Python, which will produce an error when runningpylint
. To fix this, the python version in the CI environment is pinned to3.10
. However,conda
produces another error when installing python 3.10, so I feel it's better to removeconda
in the workflow and simply usepip
to install the dependencies. Therefore I replaced therequirements.conda.yaml
withrequirements.txt
to letpip
install the packages.In addition, I updated the Github actions
setup-python
andcheckout
to their latest corresponding versions.