-
Notifications
You must be signed in to change notification settings - Fork 5
Conversation
Don't know what to do with 3.10 tests since I don't think ray supports it |
I'd exclude 3.10 tests/support. The release should be out tomorrow. |
I think we also want to take the current documentation for the RayTaskRunner and include it in this collection's docs. @tpdorsey do you have any guidance on how handle the RayTaskRunner docs in main docs once the RayTaskRunner has been moved out of the |
My inclination is to keep the task runner docs organized as is, but make any changes necessary to demonstrate using RayTaskRunner from a collection. This applies to both Task Runners concepts and tutorials. If there's some overlap between the collection docs and Prefect docs, that's fine and probably good. Same for Dask presumably. This was my plan in anticipation of moving these task runners to collections. |
"If there's some overlap between the collection docs and Prefect docs, that's fine and probably good." If one docs was updated, wouldn't this lead to outdated material? Would copying over the docs over and dropping a link work better? |
Are we anticipating a lot of change? I think these runners are important enough that a small amount of work to keep docs in sync is warranted. I would rather have a better experience for users. |
Can you share which parts of docs should be migrated and how it should be done? Is it a separate md file? Or just a module header docstring? |
@ahuang11 let's loop back on this. I am not yet familiar with how we're doing collections docs, nor with using collections. I'd like to familiarize with that before making a determination. That said, I think we're going to have to adapt the documentation in both cases. It won't be a copy-paste. But I'll have a better answer for you asap. |
I think https://github.com/PrefectHQ/orion/tree/main/src/prefect/testing needs an I tried
|
I think may require another release of Orion for the tests to pass (with
|
re 2. you can install from the commit in the public repository once we've got a fix |
Do we have a public repository for Orion? |
@ahuang11 I updated it to the public install and you changed it back :P We want to install from the Edit-1: I see it failed in CI. Weird. It installs locally with |
@madkinsz do you know if this 3.7 tests hanging is the same as https://github.com/PrefectHQ/orion/pull/1696 |
That deadlock shouldn't be a thing anymore, so I'm not sure. |
Okay I think I fixed it; had to do with the event loop which I copied over from orion @madkinsz Should that fixture be put under prefect.testing so it can be imported rather than copied? |
Hm that's a special fixture I'm not sure we can move it. Let's just stick with this for now. |
@madkinsz to fix the py37 tests, I simply removed the 3.7 pin from But I was wondering, was there a special reason to pin an older version? |
@ahuang11 I do not remember the reason that was necessary. However, if you're only going to support that newer version of Ray you should update the code for connecting to a cluster. |
Okay this and PrefectHQ/prefect-dask#2 is ready for review! |
@madkinsz Is this ready for merging? |
Succesfully tested locally.