lifelines icon indicating copy to clipboard operation
lifelines copied to clipboard

Compatibility with numpy 2.0

Open Zethson opened this issue 1 year ago • 4 comments

Numpy 2.0 is out and lifelines currently does not support it (base requirements restrict to < 2.0). I would like to politely request an unpin if possible.

Zethson avatar Jun 16 '24 14:06 Zethson

For sure, we can do this and fix #1618. Let me attempt this tonight.

CamDavidsonPilon avatar Jun 16 '24 23:06 CamDavidsonPilon

mmmm this may be more complicated due to autograd not being updated, and #1615 not resolved. I don't expect autograd to update, so we need to figure out #1615 first.

CamDavidsonPilon avatar Jun 16 '24 23:06 CamDavidsonPilon

So things are happening with autograd, and some new maintainers have stepped up. I will keep any eye on thier progress.

CamDavidsonPilon avatar Aug 15 '24 14:08 CamDavidsonPilon

Apparently a user has confirmed that lifelines works with numpy 2.0 with the latest autograd https://github.com/CamDavidsonPilon/lifelines/issues/1615#issuecomment-2376290569 - any hopes for a 0.30.0 release with numpy support soon? :)

motin avatar Oct 09 '24 05:10 motin

Is there any timeline for this? Can we help by opening a PR?

pawel-biernacki-roche avatar Oct 28 '24 13:10 pawel-biernacki-roche

Sorry for the delay! 0.30.0 is out and has numpy2 support

CamDavidsonPilon avatar Oct 29 '24 12:10 CamDavidsonPilon