[BPO] dh-python 5.20220403 to focal

Bug #1983414 reported by Unit 193
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dh-python (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Won't Fix
Undecided
Unassigned

Bug Description

[Impact]

 * This is needed to refresh the yt-dlp package as it has support for 'environment markers'
 * This version could also be useful for other projects as it adds support for pyproject.

[Scope]

Backport from:
 * To me it makes sense to backport from jammy (LTS), though the version currently is the same as devel.

Backport to:
 * focal

[Other Info]

 * I have created a test backport in ppa:unit193/staging and have already utilized.

[Testing]

* focal:
[x] Package builds without modification
[x] dh-python installs cleanly and runs
[?] pybuild-plugin-pyproject installs cleanly and runs

Mattia Rizzolo (mapreri)
Changed in dh-python (Ubuntu):
status: New → Fix Released
Revision history for this message
Dan Streetman (ddstreet) wrote :

Comments:

1. This adds Suggests: flit, python3-build, python3-tomli, python3-installer; however, those aren't available in focal.

2. Similiarly, the newly-added package pybuild-plugin-pyproject Depends: on the python3-{build,installer,tomli} packages, which aren't available in focal.

3. This adds Breaks: and Replaces: for python2 (<< 2.7.18-2), but in focal python2 is 2.7.17-2ubuntu4. Either dh_python2 needs to be moved from python-defaults in focal (or more likely focal-backports) to this package, or this backport needs to leave out dh_python2 (and it should be verified that the only reason for the Breaks: is because of moving the dh_python2 script between packages).

There may be more issues, I didn't look in depth at all the code changes; I can do a closer review if the above issues are addressed first, or at least looked at to see if those issues are possible/reasonable to fix.

Changed in dh-python (Ubuntu Focal):
status: New → Incomplete
Revision history for this message
Unit 193 (unit193) wrote :

Sounds to me like this should just be withdrawn then. I'd only tested the python3 aspect with the removal of a lot of python2 packages from future releases.

Revision history for this message
Thomas Ward (teward) wrote :

Marking this as Won't Fix because of identified issues and Unit indicating that this should be withdrawn.

Changed in dh-python (Ubuntu Focal):
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.