[~] -> docker run -it prefecthq/<server:core-0.14.18> pip show prefect
Name: prefect
Version: 0.14.16+95.g377f2fe7a
holy crap!
what is the purpose of the version number in the tag if not the prefect version?
k
Kevin Kho
05/12/2021, 2:08 PM
Hi @Sven Teresniak ! Sorry about that! Will inform the team about this.
Kevin Kho
05/12/2021, 2:29 PM
Hey, I looked into this and
<server:core-0.14.18>
is the last server release tagged with
core-0.14.18
so when you run
prefect server start
, we know which image is compatible with the latest core. This is not a prefect core image.
s
Sven Teresniak
05/12/2021, 3:07 PM
Okay, but which official docker image I have to chose to be compatible with (flow) code based on PyPI's
prefect==0.14.18
?
Until now I have a Prefect installation based on
server:core-$PREFECTVERSION
for towel, an
apollo:core-$PREFECTVERSION
for apollo, the same tag for
ui
.
For dask-master, dask-worker and agent I have my own images based on
pip install prefect==$PREFECTVERSION
. Of course the
$PREFECTVERSION
is the same for all above.
Sven Teresniak
05/12/2021, 3:09 PM
but
pip install prefect==0.14.18
requires
click>=7
which in turn installs
click==8.0.0
. However, the
sever
image contains code where also
prefect
(the python package) is installed but in a lower version and with
click v7.1.2
.
Sven Teresniak
05/12/2021, 3:09 PM
I don't get it. Why is Prefect 0.14.16 part of the
<server:core-0.14.18>
image?
Sven Teresniak
05/12/2021, 3:09 PM
I'm running Prefect in K8S with a static DaskExecutors
z
Zanie
05/12/2021, 3:18 PM
Hey @Sven Teresniak -- the server image with
core-0.14.18
should be compatible with flow code on 0.14.18 even though the version of core on the server image is 0.14.16
Zanie
05/12/2021, 3:19 PM
The Server's Prefect installation is not used to execute your flows
Zanie
05/12/2021, 3:20 PM
When a new version of Prefect Core is released, the last released version of Server (which is using Prefect 0.14.16) is tagged as compatible with 0.14.18 so when someone runs
prefect server start
in 0.14.18 they get a consistent Server setup.
Zanie
05/12/2021, 3:23 PM
Sorry this is confusing, it's a bit tricky to manage docker containers across multiple repositories and making this a bit more intuitive is on my roadmap.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.