Skip to content

Commit

Permalink
Support PyPy3.9 for cph-submit (#393)
Browse files Browse the repository at this point in the history
Python3.6 is ancient. PyPy3.6 (7.3.0) is significantly slower than the most
recent PyPy3.9 (7.3.9 64-bit) version supported by codeforces.

This adds support for the most recent version and makes it default
for Python submissions. Also, fix the version number for PyPy3.6.
  • Loading branch information
pedrosorio authored Nov 22, 2023
1 parent a031612 commit 7a344cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,10 @@
},
"cph.language.python.SubmissionCompiler": {
"type": "string",
"default": "PyPy 3.6 (7.2.0)",
"default": "PyPy 3.9.10 (7.3.9, 64bit)",
"enum": [
"PyPy 3.6 (7.2.0)",
"PyPy 3.9.10 (7.3.9, 64bit)",
"Python 3.7.2",
"PyPy 2.7 (7.2.0)",
"Python 2.7.15"
Expand Down
9 changes: 5 additions & 4 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ export default {
'Java 11.0.6': 60,
'Java 1.8.0_241': 36,
'Node.js 15.8.0 (64bit)': 55,
'PyPy 3.6 (7.2.0)': 41,
'Python 3.7.2': 31,
'PyPy 2.7 (7.2.0)': 40,
'Python 2.7.15': 7,
'PyPy 3.6.9 (7.3.0)': 41,
'PyPy 3.9.10 (7.3.9, 64bit)': 70,
'Python 3.8.10': 31,
'PyPy 2.7.13 (7.3.0)': 40,
'Python 2.7.18': 7,
'GNU GCC C11 5.1.0': 43,
'Go 1.19.5': 32,
'Rust 1.66.0 (2021)': 75,
Expand Down

0 comments on commit 7a344cf

Please # to comment.