Skip to content

Commit

Permalink
Correctly identify skimage and PIL packages when converting (#7637)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Jan 21, 2025
1 parent c803c78 commit 36f4712
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion panel/io/mime_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@
_STDLIBS = sys.stdlib_module_names
_PACKAGE_MAP = {
'sklearn': 'scikit-learn',
'skimage': 'scikit-image',
'transformers_js': 'transformers-js-py',
}
_IGNORED_PKGS = ['js', 'pyodide']
_IGNORED_PKGS = ['js', 'pyodide', 'PIL']
_PANDAS_AUTODETECT = ['bokeh.sampledata', 'as_frame']

def find_requirements(code: str) -> list[str]:
Expand Down

0 comments on commit 36f4712

Please sign in to comment.