On 3/1/20 2:57 AM, Chris Lamb wrote: > Hi Thomas, > > > Do I understand well that you saw this in redfishtool? In such case, >> that's where the bug should be filled, IMO. > > I think have two issues here. This one (ie. the timing problem) in > openstack-pkg-tools is still something that should be fixed, > regardless of what other packages do IMHO. > >> This is very nice, but in fact, having python3.8 or python3.7, can be >> considered as a bug in the packages I maintain. Indeed, what it means is >> that the package is missing: >> >> override_dh_python3: >> dh_python3 --shebang=/usr/bin/python3 > > This sounds logical. However, would this not be better fixed centrally > for *all* packages that use /usr/share/openstack-pkg-tools/pkgos.make > rather than add the following snippet to redfishtool? I don't see this > package doing anything particularly special, and making this change in > every leaf package doesn't seem very elegant to me. > > > Regards,
The problem is, some package may need to customize dh_python3 calls even further. For example: override_dh_python3: dh_python3 --shebang=/usr/bin/python3 dh_python3 /usr/share/foo if there's some Python files in /usr/share/foo So there's no "one fit all" solution. Or do you have a suggestion here? Cheers, Thomas Goirand (zigo)