Skip to content

Commit 628e27b

Browse files
authored
Update Python versions and remove old notice (#552)
* Update fastapi-installation.md Remove outdated deprecation notice. * Update multiple-pythons.md Update the Python version list to reflect the currently available versions of CPython, PyPy, and MicroPython.
1 parent c66a027 commit 628e27b

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

tech/languages/python/fastapi-installation.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ order: 5
1212

1313
Fedora includes a `python3-fastapi` package that you can install and import.
1414

15-
**Warning:** The `python-fastapi` package [will be removed from Fedora in Fedora 37](https://src.fedoraproject.org/rpms/python-fastapi/c/584bd1fef19c95576a4511a3dae77b4d35136258?branch=f37).
16-
1715
However, unless you are developing or packaging an application for Fedora, it is more useful to install FastAPI as a third-party package inside a *virtual environment*.
1816
This will keep your project separate from your system, giving you more freedom in choosing additional libraries and their versions, and easing collaboration with people who aren't using Fedora yet.
1917

tech/languages/python/multiple-pythons.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,28 @@ Fedora includes all Python versions which are [supported upstream](https://devgu
1515
At the time of this writing, Fedora has the following Pythons
1616
ready for you in the repositories:
1717

18+
* CPython 3.14
19+
* CPython 3.13 (System `python3` on Fedora 41)
20+
* CPython 3.12 (System `python3` on Fedora 40)
1821
* CPython 3.11
1922
* CPython 3.10
2023
* CPython 3.9
2124
* CPython 3.8
22-
* CPython 3.7
2325
* CPython 3.6
24-
* CPython 2.7
25-
* PyPy 2
26-
* PyPy 3.7
27-
* PyPy 3.8
26+
* PyPy 2.7
2827
* PyPy 3.9
28+
* PyPy 3.10
2929
* MicroPython
3030

3131
Quite a nest, isn't it?
3232
You can install them like this:
3333

3434
```console
35+
$ sudo dnf install python3.11 # to get CPython 3.11
3536
$ sudo dnf install python3.9 # to get CPython 3.9
3637
$ sudo dnf install python3.8 # to get CPython 3.8
37-
$ sudo dnf install python3.7 # to get CPython 3.7
3838
$ sudo dnf install python3.6 # to get CPython 3.6
39-
$ sudo dnf install python2.7 # to get CPython 2.7
40-
$ sudo dnf install pypy2 pypy3.9 python3.10 # to get more at once
39+
$ sudo dnf install pypy pypy3.9 python3.10 # to get more at once
4140
```
4241

4342
After that, you can run an interactive console or your script with, let's say,

0 commit comments

Comments
 (0)