Summary
The latest released Kaggle package (1.7.4.5) displays help text that suggests using:
-v "Version 1"
for notebook-based competition submissions.
However, this input fails because the CLI expects a numeric version value.
The current repository source appears to have already corrected this help text to use a numeric example instead.
Reproduction
Show CLI help:
kaggle competitions submit --help
Output from the installed package:
-v VERSION, --version VERSION
Version of kernel to submit to a code competition, e.g. "Version 1"
Attempt submission using the documented example:
kaggle competitions submit \
-c competition-name \
-k kernel-name \
-v "Version 1" \
-f submission.csv \
-m "Test"
Result:
invalid literal for int() with base 10: 'Version 1'
Using a numeric version works:
kaggle competitions submit \
-c competition-name \
-k kernel-name \
-v 1 \
-f submission.csv \
-m "Test"
Additional Information
Installed package:
kaggle --version
Kaggle API 1.7.4.5
The current repository source appears to contain:
param_code_version = 'Version of kernel to submit to a code competition, e.g. "3"'
while the installed package contains:
param_code_version = 'Version of kernel to submit to a code competition, e.g. "Version 1"'
Question
Is the released package behind the current repository source, or is there a pending release that includes this correction?
Summary
The latest released Kaggle package (1.7.4.5) displays help text that suggests using:
-v "Version 1"
for notebook-based competition submissions.
However, this input fails because the CLI expects a numeric version value.
The current repository source appears to have already corrected this help text to use a numeric example instead.
Reproduction
Show CLI help:
kaggle competitions submit --helpOutput from the installed package:
Attempt submission using the documented example:
Result:
invalid literal for int() with base 10: 'Version 1'Using a numeric version works:
Additional Information
Installed package:
The current repository source appears to contain:
param_code_version = 'Version of kernel to submit to a code competition, e.g. "3"'while the installed package contains:
param_code_version = 'Version of kernel to submit to a code competition, e.g. "Version 1"'Question
Is the released package behind the current repository source, or is there a pending release that includes this correction?