Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setuptools deprecations #1017

Merged

Conversation

tmzullinger
Copy link
Contributor

Minor fixes to silence SetuptoolsDeprecationWarnings. These were noticed when building the Fedora packages against newer python releases.

It feels a little strange to list rpmlint.descriptions in the packages section as well as package_data. I don't know if there's a better way to do that or not. (I did try moving the line as-is from package_data to packages but that wasn't valid.)

Perhaps at some point, reworking things to just use a toml file as the more modern setuptools describes might be good?

Since setuptools-62.3.0¹, a warning is issued when setuptools finds an
importable package is listed in package_data rather than in packages.

¹ pypa/setuptools#3308
  https://setuptools.pypa.io/en/latest/history.html#v62-3-0
In setuptools-56.0.0¹ license_file was changed to license_files.  The
former causes a deprecation warning.

¹ pypa/setuptools#2620
  https://setuptools.pypa.io/en/latest/history.html?highlight=license_files#v56-0-0
Copy link
Member

@danigm danigm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. This is related to #1012

@marxin marxin merged commit 85145b3 into rpm-software-management:main Mar 8, 2023
13 checks passed
@tmzullinger tmzullinger deleted the setuptools-deprecations branch March 11, 2023 20: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.

None yet

3 participants