Anna Geller07/22/2022, 12:07 PM
🔴 Installing Prefect with an implicit version will install Prefect 2.0, which will break your existing flows if they have been written using Prefect 1.0:
pip install prefect==1.2.4
--- #2 When working with Docker images in your run configuration or custom Dockerfiles, use an explicit tag indicating the right Prefect version you need: :large_green_circle: This is the most recent Prefect 1.0 Docker image tag for Python 3.9, which is 1.2.4 as of today:
pip install prefect
🔴 Using an implicit, i.e., the latest Docker image tag for Python 3.9 (or any other Python version) will leverage Prefect 2.0 as the default:
⚠️ This means that the latest tags of Docker images on your Prefect 1.0 run configurations or custom Dockerfiles will be using Prefect 2.0, which will break your flows unless you make that change of explicitly pinning your dependencies! Please make that change and reregister your flows if needed as soon as possible to avoid any surprises. If you have any questions about it, please reach out.