Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10695

Binary package contains no Python dependencies, how to convince ‘dh_python3’ to detect them?

From Ben Finney <bignose@debian.org>
Newsgroups linux.debian.maint.python
Subject Binary package contains no Python dependencies, how to convince ‘dh_python3’ to detect them?
Date 2018-07-15 14:10 +0200
Message-ID <wbO0F-6sO-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Howdy all,

The Debian package ‘gandi-cli’ is building with none of the Python
library dependencies detected, so the “Depends” field contains none of
the required Python library packages. Why isn't ‘dh_python3’ reading the
dependencies from ‘requires.txt’?

When I install the upstream source, it creates the ‘requires.txt’ file
correctly. That file contains PyPI distribution names that should
already map to the correct Debian packages:

=====
IPy
click>=3.1
pyyaml
requests
setuptools
…
=====

Why is the ‘dh_python3’ run ignoring those, and expanding
“${python3:Depends}” to the empty set? How can I convince ‘dh_python3’
to correctly read the generated ‘requires.txt’?

-- 
 \       “Pinky, are you pondering what I'm pondering?” “Well, I think |
  `\       so, Brain, but ‘apply North Pole’ to what?” —_Pinky and The |
_o__)                                                           Brain_ |
Ben Finney

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Binary package contains no Python dependencies, how to convince  ‘dh_python3’ to detect them? Ben Finney <bignose@debian.org> - 2018-07-15 14:10 +0200
  Re: Binary package contains no Python dependencies, how to convince ‘dh_python3’ to detect them? Piotr Ożarowski <piotr@debian.org> - 2018-07-16 10:40 +0200
    Re: Binary package contains no Python dependencies, how to convince  ‘dh_python3’ to detect them? Ben Finney <bignose@debian.org> - 2019-01-25 11:30 +0100

csiph-web