OGGM / oggm

Open Global Glacier Model
http://oggm.org
BSD 3-Clause "New" or "Revised" License
223 stars 105 forks source link

Difficulties to pass the test after installation - 2022-05-06 #1416

Open nchampollion opened 2 years ago

nchampollion commented 2 years ago

I installed OGGM on an linux environment, and lot of tests failed. I had to make several changes especially about the tolerance in order that the tests success. I do not understand the reason why (changes in some data for example) and if I am the only one in that case.

Here is the test output

List of changes I had to do.

In test_models.py:

In test_prepro.py:

In test_shop.py:

I did not do a pull request because I think some of my changes are not good but let me know.

TimoRoth commented 2 years ago

I've been observing those issues on Anaconda for a while now, and it seems like everytime I check if they are resolved, more tests fail. Meanwhile, an environment that was manually installed via pip, with all the same latest versions, works perfectly fine. As do our Docker images.

I'm once again at the end of my wits with getting Anaconda to behave, I have no idea what's wrong. It must be something Anaconda-Specific. But what specifically? I don't know.

nchampollion commented 2 years ago

Thanks Timo. I installed manually this morning with pip (and python 3.9.12), and it works perfectly fine without test errors.