aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2023-03-17 19:46:42 +0400
committerGravatar Hassan Abouelela <[email protected]>2023-03-17 19:46:42 +0400
commitf564fd70f2cdc466eb71b5c71241173ef7991ffe (patch)
tree9a9b6f56da41c0a4409583c58603d878969a94ef
parentMove Info Endpoint (diff)
Add More Information To Version Display Names
Signed-off-by: Hassan Abouelela <[email protected]>
-rw-r--r--config/versions.json4
-rw-r--r--snekbox/api/resources/info.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/config/versions.json b/config/versions.json
index fd3b997..004fad7 100644
--- a/config/versions.json
+++ b/config/versions.json
@@ -2,13 +2,13 @@
{
"image_tag": "3.10-slim-buster",
"version_name": "3.10",
- "display_name": "Python 3.10",
+ "display_name": "CPython 3.10",
"is_main": false
},
{
"image_tag": "3.11-slim-buster",
"version_name": "3.11",
- "display_name": "Python 3.11",
+ "display_name": "CPython 3.11",
"is_main": true
}
]
diff --git a/snekbox/api/resources/info.py b/snekbox/api/resources/info.py
index 0dbf316..4221653 100644
--- a/snekbox/api/resources/info.py
+++ b/snekbox/api/resources/info.py
@@ -31,7 +31,7 @@ class InformationResource:
Response format:
>>> {
- ... "python_versions": ["Python 3.9", "Python 3.10", "Python 3.12 Beta 1"]
+ ... "python_versions": ["CPython 3.10", "pypy 3.9", "CPython 3.12 Beta 1"]
... }
Status codes: