-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Py 3.13 rc #217
Py 3.13 rc #217
Changes from all commits
fdef8fd
91dd475
3e76dfa
26d30a4
4d05016
8952cac
b276a04
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
version: "3.7" | ||
|
||
services: | ||
snekbox: | ||
container_name: snekbox_dev | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
anyio[trio]~=4.4 | ||
anyio[trio]~=4.6 | ||
arrow~=1.3 | ||
attrs~=24.2 | ||
beautifulsoup4~=4.12 | ||
einspect~=0.5 ; python_version == '3.12' | ||
fishhook~=0.3 | ||
fishhook~=0.3; python_version == '3.12' | ||
forbiddenfruit~=0.1 | ||
fuzzywuzzy~=0.18 | ||
lark~=1.2 | ||
matplotlib~=3.9 ; python_version == '3.12' | ||
more-itertools~=10.4 | ||
matplotlib~=3.9 | ||
more-itertools~=10.5 | ||
networkx~=3.3 | ||
numpy~=2.1 ; python_version == '3.12' | ||
pandas~=2.2 ; python_version == '3.12' | ||
pendulum~=3.0 | ||
pyarrow~=17.0 | ||
numpy~=2.1 | ||
pandas~=2.2 | ||
pendulum~=3.0 ; python_version == '3.12' | ||
pyarrow~=17.0; python_version == '3.12' | ||
python-dateutil~=2.9 | ||
pyyaml~=6.0 | ||
scipy~=1.14 ; python_version == '3.12' | ||
scipy~=1.14 | ||
sympy~=1.13 | ||
typing-extensions~=4.12 | ||
tzdata~=2024.1 | ||
yarl~=1.9 | ||
tzdata~=2024.2 | ||
yarl~=1.13 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,10 +13,16 @@ def parse_args() -> argparse.Namespace: | |
) | ||
parser.add_argument("code", help="the Python code to evaluate") | ||
parser.add_argument( | ||
"nsjail_args", nargs="?", default=[], help="override configured NsJail options" | ||
"nsjail_args", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you have a sample of what the help output is after this change? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yea, the reason I added the default to the help kwarg directly is because it didn't get added automatically.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks - that still looks helpful |
||
action="store_const", | ||
const=[], | ||
help="override configured NsJail options (default: [])", | ||
) | ||
parser.add_argument( | ||
"py_args", nargs="?", default=["-c"], help="arguments to pass to the Python process" | ||
"py_args", | ||
action="store_const", | ||
const=["-c"], | ||
help="arguments to pass to the Python process (default: ['-c'])", | ||
) | ||
|
||
# nsjail_args and py_args are just dummies for documentation purposes. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent change!