Closed alexander-held closed 6 months ago
The 2.14 release currently does not work for pyhf: https://github.com/scikit-hep/pyhf/discussions/1595#discussioncomment-7117675.
Following https://github.com/scikit-hep/pyhf/pull/2344, this can now be resolved via #440.
Unfortunately #440 cannot yet solve this, the latest tensorflow-probability
also caps typing-extension
: https://github.com/tensorflow/probability/issues/1753.
The subsequent releases of TF and tensorflow-probability
(which remove the cap) are Python 3.9+, so they do not solve the issue for Python 3.8 CI. One option there might be manually forcing a typing_extension
update to a later version (in the CI).
typeguard>=4.0.1
requirestyping_extension>=4.7.0
, which is beyond the upper bound that Tensorflow sets on it. This has already been fixed in Tensorflow (removing the cap) and will go into the next release, expected Sep 6 https://discuss.tensorflow.org/t/upcoming-tensorflow-2-14-branch-cut-release-dates/18220.In the meantime, just to keep CI running, restrict the
typeguard
version to avoid the clash (Tensorflow is not a direct dependency ofcabinetry
and only enters as optionalpyhf
backend). This is not a great solution but should be good enough, as the next version of Tensorflow in 3 weeks will allow removing that version restriction again anyway.