Skip to content

[BUG] Setuptools allow arbitrarily wrong configs in setup.cfg #4913

@abravalheri

Description

@abravalheri

The issue in #4910 unveiled something much deeper.
It seems that setuptools has been allowing arbitrary fields (like description_file described in #4910) in setup.cfg (possibly without a visible warning -- needs investigation)1.

Expected outcome

Setuptools should issue a deprecation warning when a invalid field in used in setup.cfg.

Footnotes

  1. Funny thing is that issue [BUG] Version 78.0.1 breaks install of ansible-vault package #4910 always involves description-file. I find it hard to believe that it is a coincidence, possibly many packages CTRC+C, CTRL+V the same config all over the place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions