Skip to content

Fix an error from setuptools that prevents pre-commit installation - #26

Merged
mstruebing merged 1 commit into
editorconfig-checker:mainfrom
kurtmckee:fix-setuptools-error
Jun 18, 2023
Merged

mstruebing merged 1 commit into
editorconfig-checker:mainfrom
kurtmckee:fix-setuptools-error

Conversation

@kurtmckee

Copy link
Copy Markdown
Contributor

setuptools no longer allows use of the license_file (singular) option.

When used as a pre-commit hook, pre-commit now throws an error that occurs because setuptools rejects the current setup.cfg file with this error message:

********************************************************************************
The license_file parameter is deprecated, use license_files instead.
      
By 2023-Oct-30, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
      
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************

This PR addresses this error by converting license_file (singular) to license_files (plural).

@mstruebing
mstruebing merged commit a7e11b6 into editorconfig-checker:main Jun 18, 2023
@kurtmckee
kurtmckee deleted the fix-setuptools-error branch June 18, 2023 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants