Comment 73 for bug 1991606

Revision history for this message
Benjamin Drung (bdrung) wrote :

Verified python-debian on focal. To make the test case succeed, dput and gpgme1.0 have to be fixed as well (see SRU debdiff in previous comments).

Failing without packages from -proposed:

```
$ schroot-wrapper -c focal -p dput,python3-pip,python3-debian,python3-distro-info -p ./dput_1.0.3ubuntu1.1_all.deb -p ./python3-gpg_1.13.1-7ubuntu2.1_amd64.deb
[...]
(focal)bdrung@host:~$ pip3 install -U setuptools
Collecting setuptools
  Downloading setuptools-68.0.0-py3-none-any.whl (804 kB)
     |████████████████████████████████| 804 kB 2.4 MB/s
Installing collected packages: setuptools
Successfully installed setuptools-68.0.0
(focal)bdrung@host:~$ dput 2>&1 | tail -n 1
pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '0.1.36ubuntu1'
(focal)bdrung@host:~$ dpkg -s python3-debian | grep ^Version
Version: 0.1.36ubuntu1
```

Working with -proposed:

```
$ schroot-wrapper -c focal -p dput,python3-pip,python3-debian,python3-distro-info -p ./dput_1.0.3ubuntu1.1_all.deb -p ./python3-gpg_1.13.1-7ubuntu2.1_amd64.deb -e
[...]
(focal)bdrung@host:~$ pip3 install -U setuptools
Collecting setuptools
  Downloading setuptools-68.0.0-py3-none-any.whl (804 kB)
     |████████████████████████████████| 804 kB 2.6 MB/s
Installing collected packages: setuptools
Successfully installed setuptools-68.0.0
(focal)bdrung@host:~$ dput
/usr/bin/dput:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import load_entry_point
No package or host has been provided, see dput -h
(focal)bdrung@host:~$ dpkg -s dput | grep ^Version
Version: 1.0.3ubuntu1.1
(focal)bdrung@host:~$ dpkg -s python3-gpg | grep ^Version
Version: 1.13.1-7ubuntu2.1
(focal)bdrung@host:~$ dpkg -s python3-debian | grep ^Version
Version: 0.1.36ubuntu1.1
(focal)bdrung@host:~$ dpkg -s python3-distro-info | grep ^Version
Version: 0.23ubuntu1
```