Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move pip install command to a snippet #14192

Merged
merged 3 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions docs/3.0rc/get-started/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: Install Prefect
---

import Installation from '/snippets/installation.mdx'

Prefect is published as a Python package, which requires Python 3.9 or newer. We recommend installing Prefect in a Python virtual environment.

You also need an API server, either
Expand All @@ -11,13 +13,7 @@ You also need an API server, either

## Install with pip

To install Prefect's 3.0 release candidate, run:

```bash
pip install -U "prefect==3.0.0rc3"
```

This command also installs or upgrades Prefect's Python dependencies.
<Installation />

Learn more about release versions in the [Prefect Release Notes](https://github.com/PrefectHQ/prefect/blob/main/RELEASE-NOTES.md).

Expand Down
11 changes: 6 additions & 5 deletions docs/3.0rc/get-started/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: Quickstart
description: Get started with Prefect, the easiest way to orchestrate and observe your data pipelines
---

import Installation from '/snippets/installation.mdx'

Prefect is an orchestration and observability platform that empowers developers to build and scale code quickly.
In this quickstart, you will use Prefect to convert the following Python script to a schedulable, observable, resilient, and deployable workflow in minutes:

Expand All @@ -23,12 +25,11 @@ if __name__ == "__main__":

## Install Prefect

Install the Prefect client.
If needed, see [Install Prefect](/3.0rc/get-started/install/) for other options.
<Installation />

```bash
pip install -U prefect==3.0.0rc3
```
<Tip>
If needed, see [Install Prefect](/3.0rc/get-started/install/) for other options.
</Tip>

## Connect to Prefect's API

Expand Down
5 changes: 5 additions & 0 deletions docs/snippets/installation.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Install the Prefect client.
djsauble marked this conversation as resolved.
Show resolved Hide resolved

```bash
pip install -U prefect==3.0.0rc3
djsauble marked this conversation as resolved.
Show resolved Hide resolved
```