You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 12, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,21 @@
1
1
# Python 3.10 backport for Debian 11 bullseye
2
2
The aim of this project is to provide a Python 3.10 backport to Debian buster. Packages are of course much better manageable than compiling the source from scratch.
3
3
4
-
Motivation for this project was the [removal of Python 3.9 support in Home Assistant 2023.2.0](https://github.com/home-assistant/core/pull/85456). Debian bookworm doesn't have Python 3.10 however and Debian bookworm (which will contain Python 3.11) will not be released anytime before July 2023. In the meantime, you can use this backport.
4
+
Motivation for this project was the [removal of Python 3.9 support in Home Assistant 2023.2.0](https://github.com/home-assistant/core/pull/85456). Debian bullseye doesn't have Python 3.10 however and Debian bookworm (which will contain Python 3.11) will not be released anytime before July 2023. In the meantime, you can use this backport.
5
5
6
6
More information about the use of this packages/repository for Home Assistant can be found on a [Home Assistant Community post](https://community.home-assistant.io/t/home-assistant-core-python-3-10-backport-for-debian-11-bullseye/528439) I've written.
7
7
8
8
## Scope
9
9
The scope of this project is limited to backporting just Python 3.10 itself. So no defaults (which provide virtual packages so `python3` get's automatically linked to `python3.10`) and no precompiled pip-packages or wheels. Therefore it can coexist with your regular Python (3.9) installation without any interference and still being simple to maintain. It's main use is for in virtual environments where you can use pip to compile and install any packages you desire. It does provide all the packages and dependencies needed to create a Python 3.10 virtual environment.
10
10
11
-
Because their were problems when cross-compiling the `stdlib-extensions`, I've included the contents which would normally be in the `python3.10-distutils` package inside the `python3.10-venv`packages. This way you can create a Python 3.10 virtual environment without needing distutils as a seperate package.
11
+
Because their were problems when cross-compiling the `stdlib-extensions`, I've included the contents which would normally be in the `python3.10-distutils` package inside the `python3.10-venv`package. This way you can create a Python 3.10 virtual environment without needing distutils as a seperate package.
12
12
13
13
Although Debian 11 at the moment still provides Python 3.10, it will not be available at release. Instead Python 3.11 will be the supported Python version for Debian 11. Therefore I am not sure if the maintainers will provide Python 3.10 updates in the mean time.
14
14
15
15
## Repository
16
16
You can download the packages in my repository at `deb.pascalroeleven.nl` by adding this line to your sources.list:
17
17
```sh
18
-
deb http://deb.pascalroeleven.nl/python3.10 buster-backports main
18
+
deb http://deb.pascalroeleven.nl/python3.10 bullseye-backports main
19
19
```
20
20
You should also add my PGP (which you can get from my website via https) to APT's sources keyring:
0 commit comments