Skip to content

Released package help text differs from repository source for competitions submit --version #1069

Description

@shivamgravity

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions