Skip to content

Extra option "format_nongpl" changed to "format-nongpl" in 5.6.0 #962

@sbrandtb

Description

@sbrandtb

Looks like a small regression, maybe due to the migration from setup.cfg to pyproject.toml?

# works and installs the dependencies as expected
$ pip install 'jsonschema[format_nongpl]==4.5.1'

# raises a warning and does not install dependencies
$ pip install 'jsonschema[format_nongpl]==4.6.0'
WARNING: jsonschema 4.6.0 does not provide the extra 'format_nongpl'

# Works as expected
$ pip install 'jsonschema[format-nongpl]==4.6.0'

Fixing this could be as simple as updating the docs, although I am suprised that tests did work because tox installs with underscore.

Or treat it as regression that everyone who used underscore has a bad surprise now because pip does even only treat this as a warning, not even as an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething doesn't work the way it should.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions