Note: Without the packages from -proposed, dput will complain about the version from python-debian:
``` $ schroot-wrapper -c jammy -p dput,python3-pip,python3-debian,python3-distro-info -p ./dput_1.1.0ubuntu2.1_all.deb -p ./python3-gpg_1.16.0-1.2ubuntu4.1_amd64.deb [...] (jammy)bdrung@host:~$ pip3 install -U setuptools Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (59.6.0) Collecting setuptools Downloading setuptools-68.0.0-py3-none-any.whl (804 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 804.0/804.0 KB 6.2 MB/s eta 0:00:00 Installing collected packages: setuptools Successfully installed setuptools-68.0.0 (jammy)bdrung@host:~$ dput 2>&1 | tail -n 1 pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '0.1.43ubuntu1' (jammy)bdrung@host:~$ dpkg -s python3-debian | grep ^Version Version: 0.1.43ubuntu1 ```
Note: Without the packages from -proposed, dput will complain about the version from python-debian:
``` pip,python3- debian, python3- distro- info -p ./dput_ 1.1.0ubuntu2. 1_all.deb -p ./python3- gpg_1.16. 0-1.2ubuntu4. 1_amd64. deb bdrung@ host:~$ pip3 install -U setuptools python3/ dist-packages (59.6.0) 68.0.0- py3-none- any.whl (804 kB) ━━━━━━━ ━━━━━━━ ━━━━━━━ ━━━━━━━ ━━━━━━━ ━━━ 804.0/804.0 KB 6.2 MB/s eta 0:00:00 bdrung@ host:~$ dput 2>&1 | tail -n 1 extern. packaging. version. InvalidVersion: Invalid version: '0.1.43ubuntu1' bdrung@ host:~$ dpkg -s python3-debian | grep ^Version
$ schroot-wrapper -c jammy -p dput,python3-
[...]
(jammy)
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: setuptools in /usr/lib/
Collecting setuptools
Downloading setuptools-
━━
Installing collected packages: setuptools
Successfully installed setuptools-68.0.0
(jammy)
pkg_resources.
(jammy)
Version: 0.1.43ubuntu1
```