Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 812266 - dev-vcs/pre-commit-2.15.0 uses a probably incorrect DISTUTILS_USE_SETUPTOOLS value
Summary: dev-vcs/pre-commit-2.15.0 uses a probably incorrect DISTUTILS_USE_SETUPTOOLS ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DISTUTILS_USE_SETUPTOOLS
  Show dependency tree
 
Reported: 2021-09-09 11:53 UTC by Agostino Sarubbo
Modified: 2021-09-10 10:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,79.41 KB, text/plain)
2021-09-09 11:53 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-09-09 11:53:30 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-vcs/pre-commit-2.15.0 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
Comment 1 Agostino Sarubbo gentoo-dev 2021-09-09 11:53:33 UTC
Created attachment 738565 [details]
build.log

build log and emerge --info
Comment 2 Marek Szuba archtester gentoo-dev 2021-09-09 13:08:20 UTC
False positive - like the older versions, pre-commit-2.15.0 uses setuptools at both build (e.g. setup.py imports from it) and run (entry_points configuration in setup.cfg).
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-09-09 13:30:53 UTC
entry_points no longer use setuptools at runtime.
Comment 4 Marek Szuba archtester gentoo-dev 2021-09-09 14:17:49 UTC
(In reply to Michał Górny from comment #3)
> entry_points no longer use setuptools at runtime.

You might want to update eclassdocs in distutils-r1 then, they still say "rdepend -- add it to BDEPEND+RDEPEND (when using entry_points)".

Anyway, fixed in f2a33e291a1e669c45661ec29b4a0cd013df7b7f.