mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 03:19:47 +03:00
Converge supported Python onto 3.9 (MR 2326)
Python 3.9 was required in pmb/__init__.py already, but some references still said 3.8 and 3.7. Co-Developed-By: Oliver Smith <ollieparanoid@postmarketos.org>
This commit is contained in:
parent
a7f288634f
commit
5a8e2c6cad
4 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,7 @@ fi
|
||||||
|
|
||||||
# shellcheck disable=SC2046
|
# shellcheck disable=SC2046
|
||||||
vermin \
|
vermin \
|
||||||
-t=3.7- \
|
-t=3.9- \
|
||||||
--backport argparse \
|
--backport argparse \
|
||||||
--backport configparser \
|
--backport configparser \
|
||||||
--backport enum \
|
--backport enum \
|
||||||
|
|
|
@ -43,7 +43,7 @@ Issues are being tracked
|
||||||
* [Linux kernel 3.17 or higher](https://postmarketos.org/oldkernel)
|
* [Linux kernel 3.17 or higher](https://postmarketos.org/oldkernel)
|
||||||
* Note: kernel versions between 5.8.8 and 6.0 might
|
* Note: kernel versions between 5.8.8 and 6.0 might
|
||||||
[have issues with parted](https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2309).
|
[have issues with parted](https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2309).
|
||||||
* Python 3.7+
|
* Python 3.9+
|
||||||
* OpenSSL
|
* OpenSSL
|
||||||
* git
|
* git
|
||||||
* ps
|
* ps
|
||||||
|
|
|
@ -41,7 +41,7 @@ pmbootstrap requires the following:
|
||||||
Kernel version 5.8 - 6.0 might have issues with loop-devices
|
Kernel version 5.8 - 6.0 might have issues with loop-devices
|
||||||
|
|
||||||
|
|
||||||
* Python 3.7+
|
* Python 3.9+
|
||||||
* OpenSSL
|
* OpenSSL
|
||||||
* git
|
* git
|
||||||
* ps
|
* ps
|
||||||
|
|
|
@ -30,8 +30,8 @@ exclude = ["aports", "docs", "keys", "test", "test.pmb_test"]
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length=100
|
line-length=100
|
||||||
# Assume Python 3.8
|
# Assume Python 3.9
|
||||||
target-version = "py38"
|
target-version = "py39"
|
||||||
# E402: module import not on top of file, not possible for testcases
|
# E402: module import not on top of file, not possible for testcases
|
||||||
# E722: do not use bare except
|
# E722: do not use bare except
|
||||||
lint.ignore=["E402", "E722"]
|
lint.ignore=["E402", "E722"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue