+1 maintenance report: 31/JAN - 04/FEV

Andreas Hasenack andreas at canonical.com
Mon Feb 7 12:56:57 UTC 2022


Hi all,

I worked mostly on the python3-default blockers.

# fetchmail
Just needed a retrigger

# stunnel4
- DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
- FTBFS + DEP8 failures
Fixed via https://bugs.launchpad.net/ubuntu/+source/stunnel4/+bug/1959615
Sent to debian via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004695

# ansible
- NOT SOLVED
- when built on jammy, the package fails to install due to a broken
symlink included in the build:
$ sudo py3compile -p ansible
[Errno 2] No such file or directory:
'/usr/lib/python3.10/dist-packages/ansible/module_utils/ansible_release.py'

# broken symlink
$ ls -la ./debian/ansible/usr/lib/python3.10/dist-packages/ansible/module_utils/ansible_release.py
lrwxrwxrwx 1 ubuntu ubuntu 13 Feb  1 20:29
./debian/ansible/usr/lib/python3.10/dist-packages/ansible/module_utils/ansible_release.py
-> ../release.py

The 3.9 symlink is fine:
$ dpkg -L ansible|grep ansible_release\\.py
/usr/lib/python3/dist-packages/ansible/module_utils/ansible_release.py
/usr/lib/python3.10/dist-packages/ansible/module_utils/ansible_release.py

- I have patches for the test issues, hopefully, in
https://code.launchpad.net/~ahasenack/ubuntu/+source/ansible/+git/ansible/+ref/jammy-ansible-dep8,
but couldn't test them due to the above issue.

# python-fysom
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004913
  https://salsa.debian.org/debian/python-fysom/-/merge_requests/2
  https://bugs.launchpad.net/ubuntu/+source/python-fysom/+bug/1959907
  https://code.launchpad.net/~ahasenack/ubuntu/+source/python-fysom/+git/python-fysom/+merge/415043
uploaded

# python-furl
- actually in python3-orderedmultidict
- fix in https://github.com/gruns/orderedmultidict/pull/20
- fixed in 1.0.1 (deb/ubu have 1.0)
- orderedmultidict uploaded

# python-opcua
https://bugs.launchpad.net/ubuntu/+source/python-opcua/+bug/1959935
https://github.com/FreeOpcUa/python-opcua/pull/1075
https://bugs.debian.org/1004937
https://salsa.debian.org/python-team/packages/python-opcua/-/merge_requests/2
uploaded


# pythonpy
https://bugs.launchpad.net/ubuntu/+source/pythonpy/+bug/1878935
upstream is gone
debian last upload from 2016, no current vcs (link in d/control is 404)
https://bugs.debian.org/1004971
https://code.launchpad.net/~ahasenack/ubuntu/+source/pythonpy/+git/pythonpy/+merge/415105
uploaded

# sepp
https://bugs.launchpad.net/ubuntu/+source/sepp/+bug/1959938
https://github.com/smirarab/sepp/issues/117
https://salsa.debian.org/med-team/sepp/-/merge_requests/1
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004968
Debian took the fix, force-synced

# keras
Fixed the python 3.10 collections import part, but the rest is too old
and upstream moved on. It doesn't build anymore due to failing tests.
We and debian have 2.3.1, from Oct 07, 2019, and upstream is at 2.8.0.
I didn't locate any further development in the 2.3.x series.
https://bugs.launchpad.net/ubuntu/+source/keras/+bug/1959918 (with the
py310 import fix)
There is an RC bug in debian, kind of related:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997068
Note: this package takes hours to build, the tests run for a very long time.
Here is a recent build log, with the collections patch applied:
https://launchpad.net/~ahasenack/+archive/ubuntu/py310-collections/+build/23129048/+files/buildlog_ubuntu-jammy-amd64.keras_2.3.1+dfsg-3ubuntu1~ppa2_BUILDING.txt.gz

# lazygal:
https://bugs.launchpad.net/ubuntu/+source/lazygal/+bug/1959932
dep8 stderr deprecation warning about distutils
https://github.com/niol/lazygal/issues/14
bug class: retry-autopkgtest-regressions --blocks python3-defaults
--log-regex 'DeprecationWarning: The distutils package is deprecated'
The "Deprecate distutils module" PEP: https://www.python.org/dev/peps/pep-0632/
Porting to setuptools guide:
https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html
https://code.launchpad.net/~ahasenack/ubuntu/+source/lazygal/+git/lazygal/+merge/415141
to add allow-stderr
uploaded

# mando
https://bugs.launchpad.net/ubuntu/+source/mando/+bug/1960133
collections + help output issue
Salsa PR: https://salsa.debian.org/python-team/packages/mando/-/merge_requests/2
Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005015
https://code.launchpad.net/~ahasenack/ubuntu/+source/mando/+git/mando/+merge/415154
uploaded


# pyx3
https://github.com/pyx-project/pyx/pull/35
https://bugs.launchpad.net/ubuntu/+source/pyx3/+bug/1960092
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005028
https://salsa.debian.org/debian/pyx3/-/merge_requests/3
https://code.launchpad.net/~ahasenack/ubuntu/+source/pyx3/+git/pyx3/+merge/415156
uploaded

# booth
retrigger with current crmsh 4.3.1-1ubuntu1, which has the python 3.10
collections import fix

# resfinder
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005030
https://bitbucket.org/genomicepidemiology/resfinder/issues/70/
https://bugs.launchpad.net/ubuntu/+source/resfinder/+bug/1960146
https://salsa.debian.org/med-team/resfinder/-/merge_requests/2
https://code.launchpad.net/~ahasenack/ubuntu/+source/resfinder/+git/resfinder/+merge/415157
Debian applied the fix, force-synced

# libapache2-mod-python
- NOT SOLVED
https://bugs.launchpad.net/ubuntu/+source/libapache2-mod-python/+bug/1960088
- collections import
- PY_SSIZE_T_CLEAN (https://www.python.org/dev/peps/pep-0353/)
- I added tentative patches to both (attached to the bug above), but
apache2 still segfaults with the DEP8 test. I also rebuilt with the
new glibc.
- I didn't send any of this upstream because it still segfaults and I
couldn't get a good run



More information about the ubuntu-devel mailing list