awslabs / gluonts

Probabilistic time series modeling in Python
https://ts.gluon.ai
Apache License 2.0
4.42k stars 740 forks source link

test: unify using `@pytest.mark.flaky(...)` & bump pytest plugins #3132

Closed Borda closed 3 months ago

Borda commented 4 months ago

Issue #, if available:

Description of changes: seem that there is mix of few packages and maybe better to use just pytest extension

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Please tag this pr with at least one of these labels to make our release process faster: BREAKING, new feature, bug fix, other change, dev setup

cc: @lostella

Borda commented 4 months ago

switching to pytest-rerunfailures for py3.8 support and messing with some other stuff

Borda commented 4 months ago

following suggestion from https://github.com/pytest-dev/pytest/issues/11052#issuecomment-1567323056

Borda commented 4 months ago

@lostella, it seems like seeding tests also help to gain some stability...

Borda commented 3 months ago

@lostella seems all tests are :green_circle: