Package: optuna / 4.1.0-1

Metadata

Package Version Patches format
optuna 4.1.0-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Dirty hacky workaround for timing issues in tests.patch | (download)

tests/storages_tests/test_storages.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 dirty, hacky workaround for timing issues in tests

This terrible hack is a workaround to avoid tests randomly failing due
to upstream assuming infinite clock precision. This way we at least
reduce the risk of tests randomly failing.

Of far greater worry is upstream's use of datetime.now as if it were
monotonic [1,2].

[1] https://github.com/optuna/optuna/issues/4455

[2] https://github.com/optuna/optuna/issues/4460