New RunLLM response generated: >>>*# Question* He...
# runllm-flyte-trial
a
New RunLLM response generated: >>>*# Question* Hello everyone ! I'm working on a python flyte project that also requires an additional library (airbyte_api). I have a conflict with a library called dataclasses-json, which for flytekit needs to be <0.5.12, probably because of this issue: https://github.com/flyteorg/flyte/issues/3873 And for airbyte it needs to be >=0.6.4. Do you know if there's any plan to support newer versions of this library? Is there a walkaround that I can use for now for this issue? Thanks ! # Answer Flytekit currently requires
dataclasses-json
to be
<0.5.12
due to a dependency issue with
marshmallow-enum
(GitHub Issue #3873). This conflicts with your requirement for
airbyte_api
, which needs
dataclasses-json >=0.6.4
. A temporary workaround is to pin
dataclasses-json
to
<0.5.12
for Flytekit and use a separate virtual environment for
airbyte_api
to avoid conflicts. Alternatively, you can follow the progress on GitHub Issue #4418, which discusses making Flytekit lighter and less opinionated about dependencies, potentially resolving such conflicts in the future. Would you like more details on setting up separate virtual environments or any other aspect? Sources: - GitHub Issue #3873 - GitHub Issue #4418 Slack Link https://flyte-org.slack.com/archives/CP2HDHKE1/p1723388577.466079 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.