From 5e1e51a627e3f142db6f335682c0f1eb92987217 Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Tue, 3 Sep 2024 13:15:44 -0500 Subject: [PATCH] no longer recommend `pre` flag --- docs/3.0/resources/upgrade-to-prefect-3.mdx | 6 ++---- docs/integrations/prefect-azure/index.mdx | 2 -- docs/integrations/prefect-dbt/index.mdx | 2 -- scripts/generate_sdk_docs.py | 2 +- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/docs/3.0/resources/upgrade-to-prefect-3.mdx b/docs/3.0/resources/upgrade-to-prefect-3.mdx index 23c7af97dec1..e84b56caeb62 100644 --- a/docs/3.0/resources/upgrade-to-prefect-3.mdx +++ b/docs/3.0/resources/upgrade-to-prefect-3.mdx @@ -10,11 +10,9 @@ Prefect 3 introduces exciting new features and improvements while maintaining co To upgrade to Prefect 3, run: ```bash -pip install 'prefect>=3.0.0rc1' --pre +pip install -U prefect ``` -Note that the `--pre` flag is required to install the release candidate until the final release is available. - If you self-host a Prefect server, run this command to update your database: @@ -25,7 +23,7 @@ prefect server database upgrade If you use a Prefect integration or extra, remember to upgrade it as well. For example: ```bash -pip install 'prefect[aws]>=3.0.0rc1' --pre +pip install 'prefect[aws]' ``` ## Upgrade notes diff --git a/docs/integrations/prefect-azure/index.mdx b/docs/integrations/prefect-azure/index.mdx index 5944688866a9..3932f46d3095 100644 --- a/docs/integrations/prefect-azure/index.mdx +++ b/docs/integrations/prefect-azure/index.mdx @@ -112,8 +112,6 @@ Refer to the prefect-azure API documentation linked in the sidebar to explore al ### Additional installation options -Add the `--pre` flag to install the latest pre-release version of the library for use with Prefect 3. - To use Blob Storage: ```bash diff --git a/docs/integrations/prefect-dbt/index.mdx b/docs/integrations/prefect-dbt/index.mdx index 2f3871dc8fc9..eaf5fe253292 100644 --- a/docs/integrations/prefect-dbt/index.mdx +++ b/docs/integrations/prefect-dbt/index.mdx @@ -328,8 +328,6 @@ Additional installation options for dbt Core with BigQuery, Snowflake, and Postg #### Additional capabilities for dbt Core and Snowflake profiles -To install for Prefect 3, include the `--pre` flag. - ```bash pip install -U "prefect-dbt[snowflake]" diff --git a/scripts/generate_sdk_docs.py b/scripts/generate_sdk_docs.py index 286ef735f41c..eef8df529464 100644 --- a/scripts/generate_sdk_docs.py +++ b/scripts/generate_sdk_docs.py @@ -1,7 +1,7 @@ # Creates integration SDK documentation files for MkDocs # Run from top level of Prefect repository # Latest versions of Prefect integration libraries must be installed -# uv pip install "prefect[aws, azure, bitbucket, dask, databricks, dbt, docker, email, gcp, github, gitlab, kubernetes, ray, slack, snowflake, sqlalchemy]" --pre -U +# uv pip install "prefect[aws, azure, bitbucket, dask, databricks, dbt, docker, email, gcp, github, gitlab, kubernetes, ray, slack, snowflake, sqlalchemy]" -U # Run mkdocs build to generate the documentation or mkdocs serve to preview # Upload the site directory to Netlify to publish the documentation after building