Transition Python packages to use dh_python helpers
It's time to get rid of python-central and python-support in favor of dh_python{2,3}. All pysupport and pycentral packages should be converted to dh_python with coordination through Debian. We'll make a case-by-case decision about that based on the need to sync and maintain our own set of patches. We can't do all the work, but we will ensure the documentation and tools are up-to-date, and we will lead the call-to-arms.
Blueprint information
- Status:
- Complete
- Approver:
- Steve Langasek
- Priority:
- High
- Drafter:
- Barry Warsaw
- Direction:
- Approved
- Assignee:
- Barry Warsaw
- Definition:
- Approved
- Series goal:
- Accepted for oneiric
- Implementation:
- Implemented
- Milestone target:
- oneiric-alpha-3
- Started by
- Barry Warsaw
- Completed by
- Barry Warsaw
Related branches
Related bugs
Bug #788514: python packages on the CDs not using dh_python2 | Fix Released |
Bug #788524: backport dh_python2 to lucid (and maverick if appropriate) | Won't Fix |
Whiteboard
Transition to dh_python{2,3} helpers
=======
Have general agreement in Debian to move to dh_python{2,3}, away from -central, maybe -support
311 deprecation bugs in Debian for python-central (311 bugs)
183 packages using python-support in main
- Q: What percentage are maintained by Debian Python Modules Team? (easier to send back to Debian)
- Transition has good momentum
- http://
What can/should Ubuntu do?
Need to modify packages for dh_python3. Can we fix for py2 at the same time?
dh_auto_{build,etc} don't support py3
Need to worry about non-dh
Can we throw new contributors at http://
For some packages, not all
Shared namespace packages
pysupport: removes empty __init__.py, creates at configure time
Look for multiple packages with a shared prefix under /usr/share/pyshared
Backports:
- Could obviously put into -backports, wanted in -updates so default PPA config works
- lucid-updates safe, but maverick might not be
Strategy:
- Make sure guidelines are good for 80-90% for new contributors
- Give them verification script
- If debian/rules is more than a screen long, maybe not good for new contributors
- Sponsor should send patch back to Debian
Goals:
- Packages on CD (paying attention to namespace packages)
- Ubuntu-specific packages (including packages where we changed the helper)
- Main packages
- Universe pycentral packages
- Pysupport packages
Package for Launchpad (given by flacoste on 20110511):
python-dev
python-psycopg2
python-apt
python-geoip
python-profiler
python-svn
python-subversion
python-sqlite
python-imaging
python-feedparser
python-paramiko
python-openid
python-openssl
python-chardet
python-tickcount
python-lxml
python-magic
python-pygments
python-subunit
python-support
python-pysqlite2
python-pyrex
python-
python-
python-amqplib
python-gmpy
Work Items:
[barry] Ping security team about tools for comparing pre-/post-dh_py2 packages: DONE
[barry] Find packages where Ubuntu uses pycentral, not Debian (including Ubuntu-only packages): DONE
[barry] Find packages where Ubuntu uses pysupport, not Debian (including Ubuntu-only packages): DONE
[doko] Develop list of packages on CDs needing conversion (bug #788514): DONE
[kitterman] Begin discussion on Python Policy for namespace packages: TODO
[vorlon] Connect zygmunt with doko about some way to get dh_python2 in lucid: DONE
[doko] make sure dh_python2 can be used in lucid: TODO
[barry] Make sure http://
[barry] Follow up on PEP-382 (namespace packages for py3): DONE
[barry] E-mail ubuntu-
[vorlon] Coordinate with lifeless to find namespace package conflicts using conflicts checker: TODO
[barry] Plan ubuntu bug jam day for dh_python2 transition w/dholbach: DONE
Work Items
Dependency tree
* Blueprints in grey have been implemented.