python / typeshed

Collection of library stubs for Python, with static types
Other
4.39k stars 1.77k forks source link

Daily tests failed on Wed Nov 27 2024 #13133

Open github-actions[bot] opened 7 hours ago

github-actions[bot] commented 7 hours ago

Runs listed here: https://github.com/python/typeshed/actions/workflows/daily.yml

JelleZijlstra commented 3 hours ago

A whole bunch of stuff in tensorflow: https://github.com/python/typeshed/actions/runs/12041228752/job/33572694023 cc @hmc-cs-mdrissi

hmc-cs-mdrissi commented 2 hours ago

Hmm this looks related to keras release today. tf.keras members mostly aliases for keras package which just had release today and I guess changed some signatures. I’ll try to take a look tomorrow at fixing these errors. A quick fix would be to set upper bound pin on keras to 3.6.

Edit: In general maybe tensorflow should pin a version of Keras. Otherwise any new release of it can lead to this issue. Or maybe not as seems like this issue is rare?

JelleZijlstra commented 2 hours ago

Thanks! Yes, pinning keras might make sense, but it hasn't caused problems all that often, so might not be worth it.