The error does appear in the Panel documentation, when tryin to run the code examples in https://panel.holoviz.org/reference/widgets/Button.html via "Run cell" button. At this time the most recent version of Panel is 1.5.4.
Software Version Info
```plaintext
Chrome 130.0.6723.117 (64-bit)
Windows 10 Home 22H2 (64-bit)
```
Description of expected behavior and the observed behavior
I wanted to see how the Button widget would behave with Python backend behind it, so on the Component Gallery > Widgets > Button page in Panel v1.5.4 user documentation I have clicked on "Run cell" button in the first cell, then clicked it again when asked "Click again to proceed".
Most cells executed just fine, and showed "Executed successfully" info message.
The three last cells however showed instead the following error message "AttributeError: 'Button' object has no attribute 'deepcopy'"
Example code cell in the documentation that exhibits this behavior
ALL software version info
The error does appear in the Panel documentation, when tryin to run the code examples in https://panel.holoviz.org/reference/widgets/Button.html via "Run cell" button. At this time the most recent version of Panel is 1.5.4.
Software Version Info
```plaintext Chrome 130.0.6723.117 (64-bit) Windows 10 Home 22H2 (64-bit) ```Description of expected behavior and the observed behavior
I wanted to see how the Button widget would behave with Python backend behind it, so on the Component Gallery > Widgets > Button page in Panel v1.5.4 user documentation I have clicked on "Run cell" button in the first cell, then clicked it again when asked "Click again to proceed".
Most cells executed just fine, and showed "Executed successfully" info message.
The three last cells however showed instead the following error message "AttributeError: 'Button' object has no attribute 'deepcopy'"
Example code cell in the documentation that exhibits this behavior
Stack traceback and/or browser JavaScript console output
Screenshots or screencasts of the bug in action