Skip to content

Commit

Permalink
Bump python requirement to 3.6
Browse files Browse the repository at this point in the history
I've wanted to use f-strings for a long time, but avoided bumping the
python version requirement for fear it'd make it a challenge to use on
some enterprise distros.  However, it has been a while, and RHEL7 is
now old (uses python 3.6.8) as is Ubuntu focal (a.k.a. 20.04; uses
python 3.8.2) and Debian buster (uses python 3.7.3).  So, even
enterprise distributions from a few generations back have a new enough
python.  Bump the requirement now.

Signed-off-by: Elijah Newren <[email protected]>
  • Loading branch information
newren committed Jul 31, 2024
1 parent 85d0e99 commit 9d5e406
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Documentation/Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ with a few exceptions:
2019 and should not be used. (Commit 4d0264ab723c
("filter-repo: workaround python<2.7.9 exec bug", 2019-04-30)
was the last version of filter-repo that worked with python2).
* You can depend on anything in python 3.5 or earlier. I may bump
* You can depend on anything in python 3.6 or earlier. I may bump
this minimum version over time, but do want to generally work
with the python3 version found in current enterprise Linux
distributions.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ filter-repo requires:

* git >= 2.22.0 at a minimum; [some features](#upstream-improvements)
require git >= 2.24.0 or later
* python3 >= 3.5
* python3 >= 3.6

# How do I install it?

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
Expand All @@ -23,7 +22,7 @@ classifiers = [
"Programming Language :: Python :: Implementation :: PyPy",
]
license.text = "MIT"
requires-python = ">= 3.5"
requires-python = ">= 3.6"
dynamic = ["version"]

[project.urls]
Expand Down

0 comments on commit 9d5e406

Please sign in to comment.