Bug#1035639: git-imerge: FTBFS with tox 4

2023-05-11 Thread Stefano Rivera
Hi Paul (2023.05.07_18:28:34_-0400)
> For the dh-python side, to allow tox 4 to work with packages that have
> install_requires set, I've had to change the way we drive tox a little.
> https://salsa.debian.org/python-team/tools/dh-python/-/commit/d86475ab1097fa91d2332eb1bc65e123192ea14d
> 
> This will require an additional Build-Depends on python3-wheel for
> git-imerge.
> 
> I'll upload that new dh-python to experimental, in a day or two.

That's uploaded as dh-python 5.20230510.

Stefano

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272



Bug#1035639: git-imerge: FTBFS with tox 4

2023-05-07 Thread Stefano Rivera
Hi Paul (2023.05.07_02:28:26_-0400)
> I have confirmed this issue and that the fix is to use the config
> option allowlist_externals to allow tox to use /bin/sh.
> 
> I have sent upstream the patch at the URL above.

Thanks!

For the dh-python side, to allow tox 4 to work with packages that have
install_requires set, I've had to change the way we drive tox a little.
https://salsa.debian.org/python-team/tools/dh-python/-/commit/d86475ab1097fa91d2332eb1bc65e123192ea14d

This will require an additional Build-Depends on python3-wheel for
git-imerge.

I'll upload that new dh-python to experimental, in a day or two.

Stefano

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272



Bug#1035639: git-imerge: FTBFS with tox 4

2023-05-07 Thread Paul Wise
Control: forwarded -1 https://github.com/mhagger/git-imerge/pull/204
Control: tags -1 + patch confirmed

On Sat, 2023-05-06 at 19:07 -0400, Stefano Rivera wrote:

> tox 4 is now available in experimental, but it causes git-imerge to
> FTBFS. See bug 1035635 for a discussion of the general issues around
> tox 4.

I have confirmed this issue and that the fix is to use the config
option allowlist_externals to allow tox to use /bin/sh.

I have sent upstream the patch at the URL above.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Bug#1035639: git-imerge: FTBFS with tox 4

2023-05-06 Thread Stefano Rivera
Source: git-imerge
Version: 1.2.0-3
Severity: normal

tox 4 is now available in experimental, but it causes git-imerge to
FTBFS. See bug 1035635 for a discussion of the general issues around tox
4.

Log snippet:

   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:240: cd /<>/.pybuild/cpython3_3.11/build; tox -c 
/<>
/tox.ini --sitepackages -e py311
.pkg: install_requires .pybuild/cpython3_3.11/build> python -I -m pip install 
'setuptools>=40.
8.0' wheel
.pkg: _optional_hooks .pybuild/cpython3_3.11/build> python 
/usr/lib/python3/dist-packages/pypr
oject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_sdist .pybuild/cpython3_3.11/build> python 
/usr/lib/python3/dist-
packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: prepare_metadata_for_build_wheel .pybuild/cpython3_3.11/build> python 
/usr/lib/python3/d
ist-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: build_sdist .pybuild/cpython3_3.11/build> python 
/usr/lib/python3/dist-packages/pyprojec
t_api/_backend.py True setuptools.build_meta __legacy__
py311: install_package .pybuild/cpython3_3.11/build> python -I -m pip install 
--force-reinstal
l --no-deps /<>/.tox/.tmp/package/1/git-imerge-1.2.0.tar.gz
py311: commands[0] .pybuild/cpython3_3.11/build> /bin/sh t/test-unconflicted
py311: failed with /bin/sh (resolves to /bin/sh) is not allowed, use 
allowlist_externals to al
low it
.pkg: _exit .pybuild/cpython3_3.11/build> python 
/usr/lib/python3/dist-packages/pyproject_api/
_backend.py True setuptools.build_meta __legacy__
  py311: FAIL code 1 (3.44 seconds)
  evaluation failed :( (3.49 seconds)
E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd 
/<>/.pybuild/cpython3_3.11/build; tox -c /<>/tox.ini 
--sitepackages -e py311
dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit 
code 13

Full log attached.

Stefano
sbuild (Debian sbuild) 0.85.0 (04 January 2023) on haydn.kardiogramm.net

+==+
| git-imerge (amd64)   Sat, 06 May 2023 18:51:41 + |
+==+

Package: git-imerge
Distribution: unstable
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64
Build Type: binary

I: NOTICE: Log filtering will replace 'autopkgtest-virt-dummy-location' with 
'<>'
I: NOTICE: Log filtering will replace 'build/git-imerge-fTmA7y/resolver-jnQhPV' 
with '<>'

+--+
| Update chroot|
+--+

Get:1 http://deb.debian.org/debian unstable InRelease [188 kB]
Get:2 http://deb.debian.org/debian experimental InRelease [101 kB]
Get:3 http://deb.debian.org/debian unstable/main Sources.diff/Index [63.6 kB]
Get:4 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index 
[63.6 kB]
Get:5 http://deb.debian.org/debian unstable/contrib amd64 Packages.diff/Index 
[63.3 kB]
Get:6 http://deb.debian.org/debian unstable/main Sources 
T-2023-05-06-1402.39-F-2023-04-30-2005.36.pdiff [44.0 kB]
Get:7 http://deb.debian.org/debian unstable/main amd64 Packages 
T-2023-05-06-1402.39-F-2023-04-30-2005.36.pdiff [67.4 kB]
Get:6 http://deb.debian.org/debian unstable/main Sources 
T-2023-05-06-1402.39-F-2023-04-30-2005.36.pdiff [44.0 kB]
Get:7 http://deb.debian.org/debian unstable/main amd64 Packages 
T-2023-05-06-1402.39-F-2023-04-30-2005.36.pdiff [67.4 kB]
Get:8 http://deb.debian.org/debian unstable/contrib amd64 Packages 
T-2023-05-05-0202.38-F-2023-04-30-2005.36.pdiff [581 B]
Get:8 http://deb.debian.org/debian unstable/contrib amd64 Packages 
T-2023-05-05-0202.38-F-2023-04-30-2005.36.pdiff [581 B]
Get:9 http://deb.debian.org/debian experimental/main amd64 Packages [870 kB]
Fetched 1461 kB in 2s (782 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
  dbus-user-session isc-dhcp-common krb5-locales libatm1 libgpm2
  libnss-systemd libpam-cap libpam-systemd libx11-6 libx11-data libxau6
  libxcb1 libxdmcp6 libxext6 libxmuu1 psmisc xauth
Use 'apt autoremove' to remove them.
The following packages will be upgraded:
  isc-dhcp-client isc-dhcp-common
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1213 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://deb.debian.org/debian unstable/main amd64 isc-dhcp-client amd64 
4.4.3-P1-2 [1096 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 isc-dhcp-common amd64 
4.4.3-P1-2 [117 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1213 kB in