Closed fabcor-maxiv closed 8 months ago
I agree with @rhfogh and as I said previously if I'm not mistaken the pre-commit
scripts runs in a separate environment specified by the pre-commit config file so it should not be effected by what's in the conda environment. That is also why I previously asked what the exact problem was so that we can deal with it correctly.
Edit: I might of-course be mistaken and there is a Python version issue to deal with but it then becomes a bit more complicated for the reason @rhfogh highlights above, but we need to know what the issue was.
Since the Python range is
>=3.8,<3.11
inconda-environment.yml
(and in the Poetry config inpyproject.toml
as well), the version installed by default will be Python 3.10.It makes sense to use the same version in the pre-commit hooks.
GitHub: fix https://github.com/mxcube/mxcubecore/issues/836