https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-emulation/docker-compose-1.29.2 uses a probably incorrect DISTUTILS_USE_SETUPTOOLS value. Discovered on: amd64 (internal ref: ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Created attachment 735199 [details] build.log build log and emerge --info
Hi Ago, setup.py does have an entry point… entry_points={ 'console_scripts': ['docker-compose=compose.cli.main:main'], }, …so rdepend seems like the correct value to me. Any idea why we might be getting false positives here? I notice that code ": ${DISTUTILS_USE_SETUPTOOLS:=bdepend}" hardly seems to leav any room for DISTUTILS_USE_SETUPTOOLS ever being unset. Any ideas?
Hello Sebastian, I'd say to ask python@ =)
(In reply to Agostino Sarubbo from comment #3) > Hello Sebastian, I'd say to ask python@ =) @python is this an eclass QA check false positive?
(In reply to Sebastian Pipping from comment #4) > (In reply to Agostino Sarubbo from comment #3) > > Hello Sebastian, I'd say to ask python@ =) > > @python is this an eclass QA check false positive? No. You're not reading your announcements. Entry points are handled using built-in modules since Python 3.8.
(In reply to Michał Górny from comment #5) > > @python is this an eclass QA check false positive? > > No. You're not reading your announcements. Where? Which one? > Entry points are handled using > built-in modules since Python 3.8. In Gentoo or setuptools upstream or? Please elaborate.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef01f1d7cfbb9f1b15fad1895a66216e89ca982e commit ef01f1d7cfbb9f1b15fad1895a66216e89ca982e Author: Louis Sautier <sbraz@gentoo.org> AuthorDate: 2021-08-24 11:30:39 +0000 Commit: Louis Sautier <sbraz@gentoo.org> CommitDate: 2021-08-24 11:30:39 +0000 app-emulation/docker-compose: fix setuptools dependency Closes: https://bugs.gentoo.org/809731 Signed-off-by: Louis Sautier <sbraz@gentoo.org> app-emulation/docker-compose/docker-compose-1.29.2.ebuild | 1 - 1 file changed, 1 deletion(-)
My bad, I missed the warning when I added Python 3.10. @Sebastian it's something setuptools upstream changed, I think is the message Michał was referring to: https://archives.gentoo.org/gentoo-dev/message/973c87490da582b9e3fac7e77ec35236 It is also mentioned here: https://dev.gentoo.org/~mgorny/python-guide/distutils.html#setuptools-entry-points
Thanks Louis for taking care and the links, I appreciate it.