dh-python vs dh-python3 focal conflict

Asked by Kenneth Loafman

In duplicity I build for dh-python3 in bionic, disco, eoan, yet my builds have been failing in focal because dh-python3 does not exist in focal, or so it's reporting. How do I make dh-phthon3 available to focal so I can build for it. I don't want to build build another PPA just for an incompatible change in process.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Kenneth Loafman
Solved:
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

dh-python3 does not exist in any Ubuntu series. Could you post the exact error message you're seeing?

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

As far as I can see in the code repository
https://bazaar.launchpad.net/~duplicity-team/duplicity/0.8-series/view/head:/debian/control

Build-Depends: debhelper (>= 9),
               dh-python3 | python3 (>= 3.6),
               ...

As Colin already wrote, dh-python3 does not exist, but /usr/bin/dh_python3 is provided by dh-python.
Try changing the build-depends back to
... dh-python | python3 (>= 3.6), ...

Revision history for this message
Colin Watson (cjwatson) said :
#3

You could do that, but I don't see how "dh-python | python3 (>= 3.6)" makes any sense, since they aren't alternatives in any meaningful way. "dh-python, python3 (>= 3.6)" would be more usual.

Revision history for this message
Kenneth Loafman (kenneth-loafman) said :
#4

I tried comment #2. It works with eoan and focal, not with bionic or disco.

I tried comment #3. It works with all four!

...Thanks!