On Fri, Mar 14, 2025 at 03:24:09PM +0100, PICCA Frederic-Emmanuel wrote:
Using @builddep@ is mostly not useful for testing Python packages.does the python tools provide a way to get the runtime dependencies or the test dependencies of a package ?
Runtime sure, and we already use that. Test no, they aren't even specified in an uniform way in the upstream code (it could be e.g. a tests/requirements.txt, one or several lists of deps in tox.ini or a custom pip install line in the CI job definition, or nothing at all if they run tests only locally and manually).
But I am wondering if the best would not be to have something more declarative like the extra_dependencies in order to supersede the full dependencies instead of just adding more dependencies.
That makes sense. Or maybe it should get only the B-D annotated with !nocheck if those exist.
-- WBR, wRAR
signature.asc
Description: PGP signature