Skip to content

Setuptools is deprecating dash-separated keys on setup.cfg #418

Description

@abravalheri

It seems that the latest versions of setuptools are deprecating dash-separated keys on setup.cfg, and we have a mix of them our template for setup.cfg.

The warnings can be seen by running tox -e build

/tmp/build-env-cjhu26rf/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead
  warnings.warn(
/tmp/build-env-cjhu26rf/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'project-urls' will not be supported in future versions. Please use the underscore name 'project_urls' instead
  warnings.warn(
/tmp/build-env-cjhu26rf/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'long-description' will not be supported in future versions. Please use the underscore name 'long_description' instead
  warnings.warn(
/tmp/build-env-cjhu26rf/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'long-description-content-type' will not be supported in future versions. Please use the underscore name 'long_description_content_type' instead
  warnings.warn(
/tmp/build-env-cjhu26rf/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'no-vcs' will not be supported in future versions. Please use the underscore name 'no_vcs' instead
  warnings.warn(
/tmp/build-env-cjhu26rf/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'max-line-length' will not be supported in future versions. Please use the underscore name 'max_line_length' instead
  warnings.warn(
/tmp/build-env-cjhu26rf/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'extend-ignore' will not be supported in future versions. Please use the underscore name 'extend_ignore' instead
  warnings.warn(

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions