Skip to content

Commit 838f15b

Browse files
authored
Update notes about Python versions. (#552)
1 parent b9c5d8e commit 838f15b

1 file changed

Lines changed: 30 additions & 27 deletions

File tree

docs/tutorial/tutorial-0.rst

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,39 +16,40 @@ The first thing we'll need is a working Python interpreter.
1616

1717
.. group-tab:: macOS
1818

19-
If you're on macOS, a recent version of Python is included with Xcode or
20-
the command line developer tools. To check if you already have it, run the
21-
following command:
22-
23-
.. code-block:: console
24-
25-
$ python3 --version
26-
27-
If Python is installed, you'll see its version number. Otherwise, you'll be
28-
prompted to install the command line developer tools.
29-
30-
You should ensure that you are using Python 3.9 or newer. If it isn't,
31-
you'll need to upgrade your Python install. You can get the official
32-
installer from `the Python website <https://www.python.org/downloads>`_. You
33-
can use any stable version of Python from 3.9 onward. We'd advise avoiding
34-
alphas, betas, and release candidates unless you *really* know what you're
35-
doing.
19+
If you're on macOS, you can get an official Python installer from `the
20+
Python website <https://www.python.org/downloads>`_. You can use any version
21+
of Python from 3.10 or newer (although you should avoid alphas, betas and
22+
release candidates). We strongly recommend using Python 3.13 or newer.
3623

3724
You can also install Python through `homebrew
3825
<https://docs.brew.sh/Homebrew-and-Python>`__, use `pyenv
3926
<https://github.com/pyenv/pyenv#simple-python-version-management-pyenv>`__
4027
to manage multiple Python installs, or use `Anaconda
4128
<https://docs.anaconda.com/anaconda/install/>`__ or `Miniconda
42-
<https://docs.conda.io/en/latest/miniconda.html>`__. It doesn't matter
43-
*how* you've installed Python - it only matters that you can run ``python3``
44-
from your terminal and get a working Python interpreter.
29+
<https://docs.conda.io/en/latest/miniconda.html>`__. It doesn't matter *how*
30+
you've installed Python - it only matters that you can run ``python3`` from
31+
your terminal and get a working, supported Python interpreter.
32+
33+
Xcode and the Command-line Developer Tools provide a version of Python;
34+
however that Python is version 3.9. Python 3.9 has reached end-of-life, and
35+
is no longer supported by Python or BeeWare. You will *not* be able to the
36+
Xcode-provided version of Python to run this tutorial.
37+
38+
To check the version of Python that you have installed, run the following
39+
command:
40+
41+
.. code-block:: console
42+
43+
$ python3 --version
44+
45+
If Python is installed, you'll see its version number.
4546

4647
.. group-tab:: Linux
4748

4849
If you're on Linux, you'll install Python using the system package manager
4950
(``apt`` on Debian/Ubuntu/Mint, ``dnf`` on Fedora, or ``pacman`` on Arch).
5051

51-
You should ensure that the system Python is Python 3.9 or newer; if it isn't
52+
You should ensure that the system Python is Python 3.10 or newer; if it isn't
5253
(e.g., Ubuntu 20.04 ships with Python 3.8), you'll need to upgrade your
5354
Linux distribution to something more recent.
5455

@@ -62,15 +63,17 @@ The first thing we'll need is a working Python interpreter.
6263
.. group-tab:: Windows
6364

6465
If you're on Windows, you can get the official installer from `the Python
65-
website <https://www.python.org/downloads>`_. You can use any stable version
66-
of Python from 3.9 to 3.13. We'd also advise avoiding alphas, betas, and
67-
release candidates unless you *really* know what you're doing.
66+
website <https://www.python.org/downloads>`_. You can use any version of
67+
Python from 3.10 to 3.13 (although you should avoid alphas, betas and
68+
release candidates). We strongly recommend using Python 3.13.
69+
70+
Support for Windows on ARM64 is limited at this time.
6871

6972
You can also install Python from the Windows App Store, or use `Anaconda
7073
<https://docs.anaconda.com/anaconda/install/>`__ or `Miniconda
71-
<https://docs.conda.io/en/latest/miniconda.html>`__. It doesn't matter
72-
*how* you've installed Python - it only matters that you can run ``python3``
73-
from your command prompt and get a working Python interpreter.
74+
<https://docs.conda.io/en/latest/miniconda.html>`__. It doesn't matter *how*
75+
you've installed Python - it only matters that you can run ``python3`` from
76+
your command prompt and get a working, supported Python interpreter.
7477

7578

7679
.. _install-dependencies:

0 commit comments

Comments
 (0)