Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmbootstrap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmbootstrap
Commits
9fd45fb3
Unverified
Commit
9fd45fb3
authored
8 months ago
by
Oliver Smith
Browse files
Options
Downloads
Patches
Plain Diff
Bump minimum python3 version to 3.10 (MR 2357)
parent
2b577a86
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2357
Bump minimum python3 version to 3.10
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.ci/vermin.sh
+1
-1
1 addition, 1 deletion
.ci/vermin.sh
README.md
+2
-2
2 additions, 2 deletions
README.md
docs/usage.rst
+2
-2
2 additions, 2 deletions
docs/usage.rst
pmb/__init__.py
+2
-2
2 additions, 2 deletions
pmb/__init__.py
pyproject.toml
+2
-2
2 additions, 2 deletions
pyproject.toml
with
9 additions
and
9 deletions
.ci/vermin.sh
+
1
−
1
View file @
9fd45fb3
...
...
@@ -10,7 +10,7 @@ fi
# shellcheck disable=SC2046
vermin
\
-t
=
3.
9
-
\
-t
=
3.
10
-
\
--backport
argparse
\
--backport
configparser
\
--backport
enum
\
...
...
This diff is collapsed.
Click to expand it.
README.md
+
2
−
2
View file @
9fd45fb3
...
...
@@ -43,8 +43,8 @@ Issues are being tracked
*
[
Linux kernel 3.17 or higher
](
https://postmarketos.org/oldkernel
)
*
Note: kernel versions between 5.8.8 and 6.0 might
[
have issues with parted
](
https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2309
)
.
*
Python 3.
9
+
*
For python3 <
=
3.1
0
: tomli
*
Python 3.
10
+
*
For python3 < 3.1
1
: tomli
*
OpenSSL
*
git
*
ps
...
...
This diff is collapsed.
Click to expand it.
docs/usage.rst
+
2
−
2
View file @
9fd45fb3
...
...
@@ -41,8 +41,8 @@ pmbootstrap requires the following:
Kernel version 5.8 - 6.0 might have issues with loop-devices
* Python 3.
9
+
* For python3 <
=
3.1
0
: tomli
* Python 3.
10
+
* For python3 < 3.1
1
: tomli
* OpenSSL
* git
* ps
...
...
This diff is collapsed.
Click to expand it.
pmb/__init__.py
+
2
−
2
View file @
9fd45fb3
...
...
@@ -29,8 +29,8 @@ __version__ = "3.0.0_alpha"
# Python version check
version
=
sys
.
version_info
if
version
<
(
3
,
9
):
print
(
"
You need at least Python 3.
9
to run pmbootstrap
"
)
if
version
<
(
3
,
10
):
print
(
"
You need at least Python 3.
10
to run pmbootstrap
"
)
print
(
"
(You are running it with Python
"
+
str
(
version
.
major
)
+
"
.
"
+
str
(
version
.
minor
)
+
"
)
"
)
sys
.
exit
()
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
2
−
2
View file @
9fd45fb3
...
...
@@ -30,8 +30,8 @@ exclude = ["aports", "docs", "keys", "test", "test.pmb_test"]
[tool.ruff]
line-length
=
100
# Assume Python 3.
9
target-version
=
"py3
9
"
# Assume Python 3.
10
target-version
=
"py3
10
"
[tool.ruff.lint]
extend-select
=
[
"UP"
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment