Skip to content

Commit

Permalink
Fix PR tests for python 3.7
Browse files Browse the repository at this point in the history
Well, my previous attempt at a fix broke some other stuff. I pinned
pandas to <= 2.0.3, since that version isn't available for python 3.7. I
also changed a version check in edatool to prevent subprocess.run from
being used for python 3.7.
  • Loading branch information
Paul Gatewood authored and olofk committed Oct 10, 2023
1 parent 2a3db66 commit b00b652
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edalize/edatool.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def subprocess_run_3_9(
return subprocess.CompletedProcess(process.args, retcode, stdout, stderr)


if sys.version_info < (3, 7):
if sys.version_info < (3, 8):
run = subprocess_run_3_9
else:
run = subprocess.run
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ envlist = py3
[testenv]
deps =
pytest
pandas==2.0.3
pandas<=2.0.3
extras = reporting
commands = pytest {posargs}
passenv = GOLDEN_RUN

0 comments on commit b00b652

Please sign in to comment.