Python3 brainstorming at DebCamp17/DebConf17
(please go ahead and add yourself to the list if you plan to join us for the sprint)
Matthias Klose <doko>
Stefano Rivera <tumbleweed>
Work towards the goal to get almost everything done with Python3 for the upcoming buster release; and get Debian's infrastructure moved to Python3. Python2's end of life is decided to be at ?PyCon 2020.
Previous work (outdated): https://wiki.debian.org/Python/Python3Port
python3-package: Source packages providing a python-XXX binary package, but no python3-XXX binary package. The upcoming lintian 2.5.53 will warn about this with the python-foo-but-no-python3-foo tag.
xzcat /var/cache/apt-cacher-ng/debrep/dists/unstable/main/source/Sources.xz | grep-dctrl -e -F Binary '(^| )python-' -s Package,Binary | grep-dctrl -v -e -F Binary '(^| )python3-' -s Package
python3-sphinx: Source package build-depending on python-sphinx, but not python3-sphinx (packages b-d both on python-sphinx and python3-sphinx might need that, e.g. for autodoc). The upcoming lintian 2.5.53 will warn about this with the build-depends-on-python-sphinx-only tag. Alternative dependency like python-sphinx | python3-sphinx should be replaced by just python3-sphinx. The upcoming lintian 2.5.53 will warn about this with the alternatively-build-depends-on-python-sphinx-and-python3-sphinx tag.
python3-binary: Binaries provided by a python module should be only available in the Python3 module. The binaries in the python-XXX package should be removed (exceptions: TODO). You should not use alternatives for python-XXX and python3-XXX packages.
python3-app: Application package should use Python3 instead of Python2. These are packages depending on python, are not a python module itself, and where no python-XXX module is built from the source package. The upcoming lintian 2.5.53 will warn about this with the dependency-on-python-version-marked-for-end-of-life.
Bug reports filed for packages which don't have Python3 report upstream, should not be closed as won't fix, but tagged with python3-not-upstream. At some point in the future these become candidates for archive removal.
- announcement: TBC
- report: TBC
The sprint has been possible thanks to: