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?
added on Aug 21, 2022
buildIssues 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 removed buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.
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 syntaxand
python --version
Python 3.9.13
python tools/test.py -J message
[00:07|% 100|+ 66|- 0]: DoneCC @aduh95
I am not sure how important it is to support python 2
Thanks! That fixed it.
Reacted by Moshe Atlow
I 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 Clauss
Python 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?