Repository navigation
python tools/test.py -J --mode=release parallel/test-* #44330
Copy link
Copy link
Closed
Labels
testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.toolsIssues and PRs related to the tools directory.Issues and PRs related to the tools directory.
Description
Activity
I had to upgrade my python version for it to work properly.
What version are you using?- addedbuildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.toolsIssues and PRs related to the tools directory.Issues and PRs related to the tools directory.and removedbuildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.
on Aug 21, 2022 2.7
NVM, I reproduced locally:
python2 --version Python 2.7.18 python2 tools/test.py -J message File "tools/test.py", line 230 print(f" failed {len([i for i in outputs if i.UnexpectedOutput()]) + 1} out of {self.measure_flakiness + 1}") ^ SyntaxError: invalid syntax
and
python --version Python 3.9.13 python tools/test.py -J message [00:07|% 100|+ 66|- 0]: Done
CC @aduh95
I am not sure how important it is to support python 2Thanks! That fixed it.
Reacted by Moshe AtlowI am not sure how important it is to support python 2
We dropped support for Python 2 some time ago. It has been EOL for a while. @nodejs/python might have more context to supply (especially @cclauss).
Reacted by Robert Nagy, Moshe Atlow and Christian ClaussPython 2 died 963 days ago on 1/1/2020. No security updates since then -- It should no longer be trusted.
Reacted by Moshe Atlow
Metadata
Metadata
Assignees
Labels
testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.toolsIssues and PRs related to the tools directory.Issues and PRs related to the tools directory.
python tools/test.py -J --mode=release parallel/test-*doesn't seem to work anymore?