Skip to content

jsonargparse==3.13.1 required for comet is incompatible with Python>=3.12 #250

@ziqianPeng

Description

@ziqianPeng

🐛 Bug

To Reproduce

Hello !

I attempt to use the --enable-context feature, so I tried to install the recent version of comet via

pip install unbabel-comet

in a conda environment with Python==3.12.9.

Then I discovered that the specific version (3.13.1) of jsonargparse, that is required for comet, is not compatible with Python 3.12, so that it results in the following error:

error: ArgumentParser._parse_known_args() missing 1 required positional argument: 'intermixed'

Installing comet with Python3.11 can avoid this problem.

Environment

OS: Linux
Packaging : conda environment
Version: Python==3.12.9, jsonargparse==3.13.1, unbabel-comet 2.2.6, unbabel-comet 2.2.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions