Skip to content

Fix setuptools deprecation warning for license_file#432

Merged
seifertm merged 1 commit intopytest-dev:masterfrom
mgorny:depr
Nov 1, 2022
Merged

Fix setuptools deprecation warning for license_file#432
seifertm merged 1 commit intopytest-dev:masterfrom
mgorny:depr

Conversation

@mgorny
Copy link
Copy Markdown
Contributor

@mgorny mgorny commented Oct 21, 2022

Use license_files instead of license_file in setup.py to fix the following warning:

The license_file parameter is deprecated, use license_files instead.

Use `license_files` instead of `license_file` in `setup.py` to fix
the following warning:

> The license_file parameter is deprecated, use license_files instead.
@seifertm
Copy link
Copy Markdown
Contributor

seifertm commented Nov 1, 2022

Thanks, that deprecation has hasn't been noticed, yet.

The new option is supported since setuptools v42 and we require >=51 so this shouldn't be an issue.

@seifertm seifertm merged commit 0ca201b into pytest-dev:master Nov 1, 2022
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.

2 participants