https://prefect.io logo
Title
c

Cole Murray

07/23/2022, 12:45 AM
Hi All, I’m running into an issue with the 2.0b12 version.
root@c0713100a1dd:/opt/app# python
Python 3.8.13 (default, Jul 13 2022, 05:54:24)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import prefect
>>> import prefect.flow_runners
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'prefect.flow_runners'
>>> prefect.__version__
'2.0b12'
>>>
It looks like we’ve removed the flow_runners module, but it doesn’t appear reflected in the documentation. Version was published earlier today
2
This doesn’t appear to reflect the state of the orion branch either, so not clear what was actually published here: https://github.com/PrefectHQ/prefect/tree/orion/src/prefect/flow_runners
n

nicholas

07/23/2022, 12:50 AM
Hi @Cole Murray - thanks for raising; this looks to be an issue with the release that we’re actively investigating. Unfortunately I don’t have an ETA on a fix so in the meantime would you be able to revert to 2.0b11?
👍 1
c

Cole Murray

07/23/2022, 12:51 AM
Yes am able to revert 👍. In effort of unbreaking existing consumers who may have `prefect>=2.0b11, does it make sense to republish b11 as b13?
Alternatively, not sure if you can recall a package in pypi
a

Anna Geller

07/23/2022, 12:52 AM
alternatively, to make your deployment compatible with 2.0b12, you can switch to using the
prefect.infrastructure
module which flow runner were you using?
c

Cole Murray

07/23/2022, 12:53 AM
SubprocessFlowRunner
a

Anna Geller

07/23/2022, 12:55 AM
to be fully transparent, due to the existing dependencies with Cloud 2, it's not as simple as republishing b11 as b13 - I asked the team
👍 1
for SubprocessFlowRunner you'd need to switch to
prefect.infrastructure.process
👍 1
we'd love to help, though, as much as we can Were you using some virtual environment like conda in your SubprocessFlowRunner?
c

Cole Murray

07/23/2022, 1:51 AM
I’ll hold off on upgrading to b12 for a few days while things settle. Easy enough for us to pin and rollback to b11 🙂
💯 2
a

Anna Geller

07/23/2022, 2:09 AM
that's great to hear! thanks for being flexible
s

Sebastian Seitner

07/25/2022, 9:55 AM
I currently have a similar experience while upgrading to b12. Therefore I just use this thread if that’s ok. I already changed to infrastructure.process but I need to use a virtualenv as before but I don’t see an option for this in Process. Can you please point me in the right direction for specifying a virtualenv for the process please?
a

Anna Geller

07/25/2022, 3:40 PM
could you wait until a stable release on Wednesday? it's all a bit complicated until then I also don't want to waste your time since some things are still in the works and will be clear on Wednesday
:upvote: 1
👍 1
I'd appreciate your flexibility as we work towards the GA release this week
s

Sebastian Seitner

07/26/2022, 6:21 AM
Yes waiting until wednesday is no issue for us. I am looking forward to this realease :)
🙌 1
:thank-you: 1