Skip to content
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

Update flyte deck plugin's dependency #1395

Merged
merged 1 commit into from
Dec 27, 2022
Merged

Update flyte deck plugin's dependency #1395

merged 1 commit into from
Dec 27, 2022

Conversation

pingsutw
Copy link
Member

Signed-off-by: Kevin Su [email protected]

TL;DR

Failed to run the workflow with latest Flytekit image because ipywidgets module not found

[0]: code:"UnknownError" message:"Pod failed. No message received from kubernetes.\r\n[f773f1ce96ea54485bd2-n0-0-0] terminated with exit code (1). Reason [Error]. Message: \nandler <flytekit.types.structured.basic_dfs.ParquetToArrowDecodingHandler object at 0x7f29ae5f4fa0> with format parquet as default for <class 'pyarrow.lib.Table'>, parquet already specified.\"}\n{\"asctime\": \"2022-12-26 06:20:50,244\", \"name\": \"flytekit\", \"levelname\": \"WARNING\", \"message\": \"Not using handler <flytekit.types.structured.basic_dfs.ParquetToArrowDecodingHandler object at 0x7f29ae5f4fa0> with format parquet as default for <class 'pyarrow.lib.Table'>, parquet already specified.\"}\nTraceback (most recent call last):\n  File \"/usr/local/bin/pyflyte-fast-execute\", line 5, in <module>\n    from flytekit.bin.entrypoint import fast_execute_task_cmd\n  File \"/usr/local/lib/python3.9/site-packages/flytekit/__init__.py\", line 261, in <module>\n    load_implicit_plugins()\n  File \"/usr/local/lib/python3.9/site-packages/flytekit/__init__.py\", line 257, in load_implicit_plugins\n    p.load()\n  File \"/usr/local/lib/python3.9/site-packages/importlib_metadata/__init__.py\", line 208, in load\n    module = import_module(match.group('module'))\n  File \"/usr/local/lib/python3.9/importlib/__init__.py\", line 127, in import_module\n    return _bootstrap._gcd_import(name[level:], package, level)\n  File \"/usr/local/lib/python3.9/site-packages/flytekitplugins/deck/__init__.py\", line 15, in <module>\n    from .renderer import BoxRenderer, FrameProfilingRenderer, MarkdownRenderer\n  File \"/usr/local/lib/python3.9/site-packages/flytekitplugins/deck/renderer.py\", line 4, in <module>\n    from pandas_profiling import ProfileReport\n  File \"/usr/local/lib/python3.9/site-packages/pandas_profiling/__init__.py\", line 6, in <module>\n    from pandas_profiling.compare_reports import compare\n  File \"/usr/local/lib/python3.9/site-packages/pandas_profiling/compare_reports.py\", line 7, in <module>\n    from pandas_profiling.profile_report import ProfileReport\n  File \"/usr/local/lib/python3.9/site-packages/pandas_profiling/profile_report.py\", line 9, in <module>\n    from ipywidgets.widgets.widget_box import VBox\nModuleNotFoundError: No module named 'ipywidgets'\n." 

image

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

^^^

Tracking Issue

NA

Follow-up issue

NA

@codecov
Copy link

codecov bot commented Dec 26, 2022

Codecov Report

Merging #1395 (59c6d77) into master (242a11c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1395   +/-   ##
=======================================
  Coverage   69.17%   69.17%           
=======================================
  Files         296      296           
  Lines       27751    27751           
  Branches     2611     2611           
=======================================
  Hits        19196    19196           
  Misses       8046     8046           
  Partials      509      509           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@pingsutw pingsutw merged commit 26cd39d into master Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants