Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade python requirement to 3.9 #108

Merged
merged 2 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/btest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
Run-BTest:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: [macos-latest, ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
Test-SetupPY:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
Expand Down
3 changes: 1 addition & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ Prerequisites

BTest has the following prerequisites:

- Python version >= 3.7 (older versions may work, but are not
well-tested).
- Python version >= 3.9 (older versions may work, but are not well-tested).

- Bash. Note that on FreeBSD and Alpine Linux, bash is not installed by
default. This is also required on Windows, in the form of Git's msys2, Cygwin,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dynamic = ["version"]

license = { text = "3-clause BSD License" }

requires-python = ">=3.7"
requires-python = ">=3.9"

keywords=[
"system",
Expand Down
6 changes: 3 additions & 3 deletions sphinx/btest-sphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def apply(self):
BTestTransform._run.add(test.tag)

try:
rawtext = open("%s#%d" % (test.rst_output, part)).read()
rawtext = open(f"{test.rst_output}#{part}").read()
except OSError:
rawtext = ""

Expand Down Expand Up @@ -162,7 +162,7 @@ def run(self):
if part == 1:
file = test.path
else:
file = test.path + "#%d" % part
file = f"{test.path}#{part}"

out = open(file, "w")
for line in self.content:
Expand Down Expand Up @@ -247,7 +247,7 @@ def run(self):
while test_path in Includes:
i += 1

test_path = "%s@%d" % (base, i)
test_path = f"{base}@{i}"
if ext:
test_path += ext

Expand Down
Loading