PrefectHQ / prefect

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.
https://prefect.io
Apache License 2.0
17.56k stars 1.65k forks source link

Prefect ray raises a RaySystemError when it exits #15175

Open fyrestone opened 2 months ago

fyrestone commented 2 months ago

Bug summary

prefect-ray has a ray.get in PrefectRayFuture.__del__ which is not a good design.

Version info (prefect version output)

Version:             3.0.0rc20
API version:         0.8.4
Python version:      3.11.9
Git commit:          6dd34dc6
Built:               Thu, Aug 29, 2024 12:06 PM
OS/Arch:             linux/x86_64
Profile:             default
Server type:         server
Pydantic version:    2.8.2
Integrations:
  prefect-ray:       0.4.0rc2

Additional context

No response

zzstoatzz commented 2 months ago

hi @fyrestone - thank you for the issue!

would you be able to include an MRE or otherwise what lead you to this error?