BUG: add 'import warnings' statement in panel.py (GH8152)
add issue number to release note and test