Deltares / Ribasim

Water resources modeling
https://ribasim.org/
MIT License
42 stars 5 forks source link

Try to fix missing import of pandera in Delwaq testing #1757

Closed evetion closed 2 months ago

evetion commented 2 months ago

To fix failing Delwaq pipelines.

visr commented 2 months ago

Hmm, wrapt was already in our environment hence the lock file didn't change, so it's not surprising this doesn't do anything, the same error still shows:

  .pixi\envs\dev\Lib\site-packages\pandera\__init__.py:31: in <module>
17:52:40       from pandera.decorators import check_input, check_io, check_output, check_types
17:52:40   .pixi\envs\dev\Lib\site-packages\pandera\decorators.py:25: in <module>
17:52:40       import wrapt
evetion commented 2 months ago

Yeah, I had a sinking feeling when I saw no changes to the lock file. I'm at a loss of what's happening, my gut now says that the wrapt installation is corrupt on some Windows agents (without a clear pattern though) and that pixi doesn't detect that. How it would become corrupt (pandera nor wrapt had an update in recent times) is a mystery, but I am more suspicious of the Teamcity agents than pixi?

visr commented 2 months ago

Can this be closed?

evetion commented 2 months ago

Hmm, it's seems to be one agent failing intermittently. And most PRs have this as a failing test, so this could still be useful?

evetion commented 2 months ago

Ok, let's close for now, since main has been green for a bit. It's mostly agent c-teamcity22092, I've cleaned the source on that agent, let's see what happens.