Summary: | mail-filter/spf-engine-2.9.2-r1 uses a probably incorrect DISTUTILS_USE_SETUPTOOLS value | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Michael Orlitzky <mjo> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | mgorny, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 812431 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2021-08-12 09:10:41 UTC
Created attachment 732448 [details]
build.log
build log and emerge --info
I don't know how to make the QA warning go away, but I left a comment in the ebuild when I did this: # setup.py defines entry_points DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 (In reply to Michael Orlitzky from comment #2) > I don't know how to make the QA warning go away, but I left a comment in the > ebuild when I did this: > > # setup.py defines entry_points > > DISTUTILS_USE_SETUPTOOLS=rdepend > inherit distutils-r1 I've personally not been 100% sure on this since the "recent changes" in newer Pythons/distutils: https://blogs.gentoo.org/mgorny/2020/10/21/distutils_use_setuptools-qa-spam-and-more-qa-spam/. Specifically, see the "Entry points via importlib.metadata" part of the post. mgorny may be able to offer further guidance and/or update the Python guide with a way to tell if the QA check is right in a particular case? I'm also not 100% sure, but I think "rdepend" is still correct these days when entry_points is used for console_scripts. Here's the setup.py file in question: https://git.launchpad.net/spf-engine/tree/setup.py *** Bug 811252 has been marked as a duplicate of this bug. *** *** Bug 820662 has been marked as a duplicate of this bug. *** |