mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 03:19:47 +03:00
Bump minimum python3 version to 3.10 (MR 2357)
This commit is contained in:
parent
2b577a8694
commit
9fd45fb334
5 changed files with 9 additions and 9 deletions
|
@ -10,7 +10,7 @@ fi
|
||||||
|
|
||||||
# shellcheck disable=SC2046
|
# shellcheck disable=SC2046
|
||||||
vermin \
|
vermin \
|
||||||
-t=3.9- \
|
-t=3.10- \
|
||||||
--backport argparse \
|
--backport argparse \
|
||||||
--backport configparser \
|
--backport configparser \
|
||||||
--backport enum \
|
--backport enum \
|
||||||
|
|
|
@ -43,8 +43,8 @@ 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.9+
|
* Python 3.10+
|
||||||
* For python3 <= 3.10: tomli
|
* For python3 < 3.11: tomli
|
||||||
* OpenSSL
|
* OpenSSL
|
||||||
* git
|
* git
|
||||||
* ps
|
* ps
|
||||||
|
|
|
@ -41,8 +41,8 @@ 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.9+
|
* Python 3.10+
|
||||||
* For python3 <= 3.10: tomli
|
* For python3 < 3.11: tomli
|
||||||
* OpenSSL
|
* OpenSSL
|
||||||
* git
|
* git
|
||||||
* ps
|
* ps
|
||||||
|
|
|
@ -29,8 +29,8 @@ __version__ = "3.0.0_alpha"
|
||||||
|
|
||||||
# Python version check
|
# Python version check
|
||||||
version = sys.version_info
|
version = sys.version_info
|
||||||
if version < (3, 9):
|
if version < (3, 10):
|
||||||
print("You need at least Python 3.9 to run pmbootstrap")
|
print("You need at least Python 3.10 to run pmbootstrap")
|
||||||
print("(You are running it with Python " + str(version.major) + "." + str(version.minor) + ")")
|
print("(You are running it with Python " + str(version.major) + "." + str(version.minor) + ")")
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
|
|
|
@ -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.9
|
# Assume Python 3.10
|
||||||
target-version = "py39"
|
target-version = "py310"
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.ruff.lint]
|
||||||
extend-select = ["UP"]
|
extend-select = ["UP"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue