awslabs / gluonts

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

Ignore cpflows dependencies in test workflows, fix numpy 2 incompatibilities. #3227

Closed lostella closed 1 month ago

lostella commented 1 month ago

Issue #, if available: CPFlows is a dependency for gluonts.torch.model.mqf2, but it comes with dependencies constraints that hold us back. So for example, not the latest numpy version was used in CI tests.

Description of changes: Ignore dependencies of CPFlows in GitHub workflows. Fix incompatibilities with the latest numpy.

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

lostella commented 1 month ago

Latest numpy being installed https://github.com/awslabs/gluonts/actions/runs/11381924102/job/31664375765?pr=3227#step:4:298

Need to look into the failing tests