Skip to content

Commit

Permalink
Drop support for Python 3.7 and require Python 3.8 as minimum version
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Jul 5, 2024
1 parent ad2c4de commit 780a18f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.12", "pypy3.10"]
python-version: ["3.8", "3.12", "pypy3.10"]
include:
- python-version: 3.7
- python-version: 3.8
coverage: "--cov=rebench"
name: "Ubuntu-latest: Python ${{ matrix.python-version }}"
steps:
Expand Down
4 changes: 2 additions & 2 deletions rebench/tests/model/runs_config_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ def test_command_user_path_expansion(self):
runs = self._cnf.get_runs()
sorted_runs = sorted(list(runs), key=lambda r: r.cmdline())
self._run = sorted_runs[0]
print(self._run.cmdline())

expected_cmd = '~/tests/vm1.py 1 Bench ~/suiteFolder/Bench1'.replace('~', expanduser('~'))
self.assertNotIn("~", expected_cmd)
expected_cmd += " -message 'a string with a ~'"
next_invocation_cmdline = self._run.cmdline_for_next_invocation()
self.assertEqual(expected_cmd, next_invocation_cmdline)
self.assertEqual(expected_cmd, next_invocation_cmdline)

0 comments on commit 780a18f

Please sign in to comment.