Panel is not updating its parameter values

Panel is not updating its parameter values in the anaconda-2025.12-py312 kernel in anaconda cloud. The problem is that when I use a widget and then try to use the value of the widget to make something else happens that value is not updated. Here is an example:

In the previous kernel the value would automatically update and the result of the print function would be 5.

I have tried making a custom kernel to try to resolve this but that did not work either. Please help.

I had mixed success forcing pyviz_comms into the pn.extension(‘tabular‘) but that caused a host of other issues.

I also tried a less forceful way by including

pn.extension(‘tabulator’)
pn.version, pyviz_comms.version

in the preamble

But it did not work