clearml: pkg messages breaks doctests
We have some problems with Trains pushing messages via sys.stdout
instead commonly used sys.stderr
. The case is with doctests where the output is compared to the expected value and with just minor package update a message text change it breaks our tests like this example:
064 >>> logger.log_metrics({"val_loss": 1.23}, step=0)
Expected nothing
Got:
TRAINS new version available: upgrade to v0.14.1rc2 is recommended!
a simples solution on our side is to freeze version but it would limit Trains users so I would appreciate to change the streaming channel or be able to configure it https://github.com/PyTorchLightning/pytorch-lightning/pull/1087/checks?check_run_id=532067360
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (9 by maintainers)
well not very happy about it but fine :] so could you please remake tests in lightning from
doctest
to standardunittests
👼