5
5
[ ![ pre-commit.ci status] ( https://results.pre-commit.ci/badge/github/weastur/python-debian/master.svg )] ( https://results.pre-commit.ci/latest/github/weastur/python-debian/master )
6
6
[ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-blue.svg )] ( LICENSE )
7
7
8
- Build scripts to get deb-packaged latest Python which co-exists with system Python without interference .
8
+ Build scripts to get deb-packaged latest Python which co-exists with system Python.
9
9
10
10
## HowTo
11
11
18
18
To issue build for a particular version
19
19
20
20
``` shell
21
- make python3.10-bullseye
22
- make python3.10-buster
21
+ make python3.11-bookworm
22
+ make python3.11-bullseye
23
+ make python3.11-buster
23
24
```
24
25
25
26
Look at the ` build/ ` directory
@@ -32,9 +33,8 @@ After the build, the simple smoke test takes place, installing all packages and
32
33
33
34
## Contributing
34
35
35
- You need an amd64 Linux host with Docker installed.
36
- You can start from ` .drone.yml ` to inspect the build process.
37
- The main files are ` Dockerfile ` and ` Makefile ` .
36
+ You need Linux or macOS host with Docker installed.
37
+ You can start from ` Makefile ` to inspect the build process.
38
38
39
39
Also, you can use [ pre-commit] ( https://pre-commit.com ) to run some checks
40
40
locally before commit.
@@ -47,28 +47,14 @@ pre-commit install
47
47
48
48
### Which versions of Debian are supported?
49
49
50
- All currently maintaied versions: 10 (buster), 11 (bullseye)
50
+ All currently maintaied versions: 10 (buster), 11 (bullseye), 12 (bookworm)
51
51
52
52
### Which versions of Python are supported?
53
53
54
- Only latest version – Python 3.10
54
+ Only latest version – Python 3.11
55
55
56
56
### Why do not build all supported Python?
57
57
58
58
There is not much sense in that. If you need all Python versions for development, look at the
59
59
[ pyenv] ( https://github.com/pyenv/pyenv ) project or [ docker images] ( https://hub.docker.com/_/python ) .
60
60
In other cases, you can safely run old python code in the newest interpreter.
61
-
62
- ### How long does the full build process take?
63
-
64
- Making the fastest build isn't a goal of this project.
65
-
66
- ** MacBook Pro 2019, Core i7 (Docker 6 CPU, 8 GB):**
67
-
68
- Debian 11 (bullseye): * 43m29s* </br >
69
- Debian 10 (buster): * 40m58s* </br >
70
-
71
- ** AMD Ryzen 5 3600 6-Core / 64G:**
72
-
73
- Debian 11 (bullseye): * 32m48s* </br >
74
- Debian 10 (buster): * 31m11s* </br >
0 commit comments