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

Bump Python version to 3.12 #24492

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
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
14 changes: 7 additions & 7 deletions content/en/developers/integrations/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Many operating systems come with a pre-installed version of Python. However, the
{{< tabs >}}

{{% tab "MacOS" %}}
Install Python 3.11 using [Homebrew][1]:
Install Python 3.12 using [Homebrew][1]:

1. Update Homebrew:
```
Expand All @@ -20,31 +20,31 @@ Install Python 3.11 using [Homebrew][1]:

2. Install Python:
```
brew install python@3.11
brew install python@3.12
```

3. Check the Homebrew installation output and run any additional commands recommended by the installation script.

4. Verify that the Python binary is installed in your `PATH` and that have installed the correct version:
```
which python3.11
which python3.12
```

You should see the following output depending on your Mac architecture:
- ARM (M1+) machines:
```
/opt/homebrew/bin/python3.11
/opt/homebrew/bin/python3.12
```
- MacOS on Intel machines:
```
/usr/local/bin/python3.11
/usr/local/bin/python3.12
```

[1]: https://brew.sh/
{{% /tab %}}

{{% tab "Windows" %}}
1. Download the [Python 3.11 64-bit executable installer][1] and run it.
1. Download the [Python 3.12 64-bit executable installer][1] and run it.
1. Select the option to add Python to your PATH.
1. Click **Install Now**.
1. After the installation has completed, restart your machine.
Expand All @@ -59,7 +59,7 @@ Install Python 3.11 using [Homebrew][1]:
{{% /tab %}}

{{% tab "Linux" %}}
For Linux installations, avoid modifying your system Python. Datadog recommends installing Python 3.11 using [pyenv][1] or [miniconda][2].
For Linux installations, avoid modifying your system Python. Datadog recommends installing Python 3.12 using [pyenv][1] or [miniconda][2].

[1]: https://github.com/pyenv/pyenv#automatic-installer
[2]: https://conda.io/projects/conda/en/stable/user-guide/install/linux.html
Expand Down
Loading