To validate models that I am working on I created a small github actions script based on this tool. While installation works as expected, I am not able to feed a specific numpy version to the installer within the gh action. The setup from fbc-curation v0.2.3 will lead to numpy v1.24.2. With that version I run into the following error when executing runfrog on my model:
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
I tried to explicitly install numpy v1.19.5 but that version gets uninstalled as described above.
The same error occured in a local conda environment where I tried to install fbc-curation to and then use runfrog.
What worked for me is reverting the pandas version to 1.4.4 and the numpy version to 1.19.5 after installation of fbc-curation.
To validate models that I am working on I created a small github actions script based on this tool. While installation works as expected, I am not able to feed a specific
numpy
version to the installer within the gh action. The setup from fbc-curation v0.2.3 will lead to numpy v1.24.2. With that version I run into the following error when executingrunfrog
on my model:I tried to explicitly install numpy v1.19.5 but that version gets uninstalled as described above.
The same error occured in a local conda environment where I tried to install fbc-curation to and then use
runfrog
.What worked for me is reverting the pandas version to 1.4.4 and the numpy version to 1.19.5 after installation of
fbc-curation
.