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
bug: [python] subdeps breaking wmill import #3596
Comments
you're simply missing wmill in your list of requirements |
I'll give you an update ASAP. I attempted importing |
Hi, @rubenfiszel Here are some steps that you can follow to replicate the loop:
This works great and explicit requirements for
Errors will appear begin when I try to access haystack's submodules:
It is at this point where windmill loops forever and this is the info I can get from the browser:
This is the deepest I've reached into debugging the installation. Let me know if you need extra info to replicate the issue. |
On your example 4, I do not think it''s looping forever, it's just resolving all the dependencies which can take up to a few minutes depending on your network and cpu. It works for me and it works on app.windmill.dev minus the fact it exceeds space storage. |
Describe the bug
Note: I raise this as an issue as I don't have enough Rust expertise to fix it and submit it
Resources
Summary
Yesterday we submitted a PR to fix an import parse opting to prioritize
haystack
imports to loadhaystack-ai
insteadhaystack
. The release worked perfectly and allowed us to test a few flows.However, there are a few sub dependencies on the Haystack's modules that require other deps. We followed the official document referred above and it seems we broke our
wmill
pip installation.This was reproduced several times on a localhost environment.
To reproduce
Expected behavior
ExecutionErr: ExitCode: 1, last log lines:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/tmp/windmill/wk-default-77e24f9bbede-VtJBM/018f0c3d-6288-a8e3-0320-d3952c60bfbe/wrapper.py", line 9, in
from u.talentgenius.job_recommendations.branchone_2 import step_0 as inner_script
File "/tmp/windmill/wk-default-77e24f9bbede-VtJBM/018f0c3d-6288-a8e3-0320-d3952c60bfbe/u/talentgenius/job_recommendations/branchone_2/step_0.py", line 7, in
import wmill
ModuleNotFoundError: No module named 'wmill'
Screenshots
Browser information
Versión 1.65.114 Chromium: 124.0.6367.60 (Build oficial) (64 bits)
Application version
1.313.0 (2024-04-23)
Additional Context
It seems
wmill
is broken per action, i.e. other actions with different import configurations won't get affected and will be able to use thewmill
module properlyThe text was updated successfully, but these errors were encountered: