-
-
Notifications
You must be signed in to change notification settings - Fork 531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate IDOM #4254
Deprecate IDOM #4254
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4254 +/- ##
==========================================
- Coverage 82.71% 74.06% -8.66%
==========================================
Files 237 235 -2
Lines 34276 34129 -147
==========================================
- Hits 28351 25276 -3075
- Misses 5925 8853 +2928
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would classify this as removal, as it no longer exists.
I also think it would be nice to update #4097 with this removal, so we don't forget about the drop.
class IDOM: | ||
def __init__(self, *args, **kwargs): | ||
raise RuntimeError( | ||
"The IDOM pane was deprecated from Panel in version 1.0 " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"The IDOM pane was deprecated from Panel in version 1.0 " | |
"The IDOM pane was removed from Panel in version 1.0 " |
@@ -146,7 +146,7 @@ def run(self): | |||
'markdown-it-py', | |||
'ipyvuetify', | |||
'reacton', | |||
# Added lxml temporarily as installing pyechars or idom on Python 3.11 | |||
# Added lxml temporarily as installing pyecharts or idom on Python 3.11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Added lxml temporarily as installing pyecharts or idom on Python 3.11 | |
# Added lxml temporarily as installing pyecharts on Python 3.11 |
Shouldn't there first be a release deprecating it and then removing it? That might send the signal that Panel can remove things any time. |
I've decided to deprecate the IDOM pane. IDOM is a cool project but after I initially implemented it on top of preact the architecture changed significantly which effectively meant that we could only support older versions. I think supporting it would still be nice but I would probably want to move it into a separate
panel-idom
package.For now I've put a
IDOM
stub object intopanel.pane
that simply errors when you instantiate it. This is because we did not really telegraph the deprecation.