Your message dated Mon, 01 Dec 2025 22:05:02 +0000
with message-id <[email protected]>
and subject line Bug#1115299: fixed in dh-python 6.20251201
has caused the Debian Bug report #1115299,
regarding dh-python: pybuild-plugin-pyproject doesn't know about headers
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1115299: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115299
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-python
Version: 6.20250414
Severity: normal
Control: block 1027864 by -1

Attempting to build zope.proxy with pybuild-plugin-pyproject fails as 
follows:

  creating 
'/build/reproducible-path/zope.proxy-7.0/.pybuild/cpython3_3.13_zope.proxy/.tmp-g3wsipdo/zope_proxy-7.0-cp313-cp313-linux_x86_64.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
  adding 'zope/proxy/__init__.py'
  adding 'zope/proxy/_zope_proxy_proxy.c'
  adding 'zope/proxy/_zope_proxy_proxy.cpython-313-x86_64-linux-gnu.so'
  adding 'zope/proxy/decorator.py'
  adding 'zope/proxy/interfaces.py'
  adding 'zope/proxy/proxy.h'
  adding 'zope/proxy/tests/__init__.py'
  adding 'zope/proxy/tests/test_compile_flags.py'
  adding 'zope/proxy/tests/test_decorator.py'
  adding 'zope/proxy/tests/test_proxy.py'
  adding 'zope_proxy-7.0.data/headers/proxy.h'
  adding 'zope_proxy-7.0.dist-info/licenses/LICENSE.txt'
  adding 'zope_proxy-7.0.dist-info/METADATA'
  adding 'zope_proxy-7.0.dist-info/WHEEL'
  adding 'zope_proxy-7.0.dist-info/top_level.txt'
  adding 'zope_proxy-7.0.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
  Successfully built zope_proxy-7.0-cp313-cp313-linux_x86_64.whl
  I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
  E: pybuild pybuild:389: build: plugin pyproject failed with: 'headers'

I've had the attached local patch sitting around in my tree for ages, 
but as you can see from the XXX comment it isn't quite right yet.  It 
looks as though python-persistent is another test case here.  Still, it 
would be better to have this filed so that somebody else can look at it 
rather than rotting on my disk.

Thanks,

-- 
Colin Watson (he/him)                              [[email protected]]

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.16.3+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dh-python depends on:
ii  python3  3.13.5-1

dh-python recommends no packages.

Versions of packages dh-python suggests:
ii  dpkg-dev           1.22.21
pn  flit               <none>
ii  libdpkg-perl       1.22.21
ii  python3-build      1.2.2-4
ii  python3-installer  0.7.0+dfsg1-3
ii  python3-wheel      0.46.1-2

-- no debconf information
diff --git a/dhpython/build/plugin_pyproject.py b/dhpython/build/plugin_pyproject.py
index 314f3c4..0a5df22 100644
--- a/dhpython/build/plugin_pyproject.py
+++ b/dhpython/build/plugin_pyproject.py
@@ -144,7 +144,7 @@ class BuildSystem(Base):
         log.info('Unpacking wheel built for %s with "installer" module',
                  args['interpreter'])
         extras = {}
-        for extra in ('scripts', 'data'):
+        for extra in ('scripts', 'data', 'include'):
             path = Path(args["home_dir"]) / extra
             if osp.exists(path):
                 log.warning('%s directory already exists, skipping unpack. '
@@ -158,6 +158,7 @@ class BuildSystem(Base):
                 'purelib': args['build_dir'],
                 'scripts': extras['scripts'],
                 'data': extras['data'],
+                'headers': extras['include'],
             },
             interpreter=args['interpreter'].binary_dv,
             script_kind='posix',
@@ -184,8 +185,9 @@ class BuildSystem(Base):
             # TODO: Introduce a version check once sysconfig is patched.
             paths = sysconfig.get_paths(scheme='posix_prefix')
 
-        # start by copying the data and scripts
-        for extra in ('data', 'scripts'):
+        # start by copying the data, scripts, and headers
+        # XXX this is wrong for includes; test with python-persistent, where it installs into /usr/include/python$ver/ rather than /usr/include/python$ver/persistent/
+        for extra in ('data', 'scripts', 'include'):
             src_dir = Path(args['home_dir']) / extra
             if not src_dir.exists():
                 continue

--- End Message ---
--- Begin Message ---
Source: dh-python
Source-Version: 6.20251201
Done: Stefano Rivera <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dh-python, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <[email protected]> (supplier of updated dh-python package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 01 Dec 2025 14:56:52 -0400
Source: dh-python
Architecture: source
Version: 6.20251201
Distribution: unstable
Urgency: medium
Maintainer: Piotr Ożarowski <[email protected]>
Changed-By: Stefano Rivera <[email protected]>
Closes: 1115299
Changes:
 dh-python (6.20251201) unstable; urgency=medium
 .
   [ Stefano Rivera ]
   * Remove setuptools -> python3-pkg-resources mapping from pydist,
     pkg_resources is deprecated upstream.
   * Update pydist data.
 .
   [ Colin Watson ]
   * Normalize names in pydist lookups.
   * pyproject plugin: Support headers (closes: #1115299).
Checksums-Sha1:
 51c5b26f31c5aaa6a53856861d8c1a123c3e6d06 1688 dh-python_6.20251201.dsc
 a0592697f86a11f3c775b508fe7141db5d4b8b43 130504 dh-python_6.20251201.tar.xz
 356e5af74763623340cc019e2ac5cdc69e536d20 6075 
dh-python_6.20251201_source.buildinfo
Checksums-Sha256:
 01d0d3dda3a926e8328f835ec84d34ec3aea0e1aec0f261b90c3900926b83560 1688 
dh-python_6.20251201.dsc
 3274463969d66b325e7ee2f0422fdefbfad48447495cb8a1877c00d687ceaadf 130504 
dh-python_6.20251201.tar.xz
 e747e0436fe85ec86e61524e9ea66efc680083d0ab45a7c74aa187a5a1c02ad1 6075 
dh-python_6.20251201_source.buildinfo
Files:
 018f0a20353509c9d5b157243b6898cb 1688 python optional dh-python_6.20251201.dsc
 9cc3a0d404ff97991399a0ba6da07b1e 130504 python optional 
dh-python_6.20251201.tar.xz
 547c317441e1e6234045eeae36bdd968 6075 python optional 
dh-python_6.20251201_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCaS4NLhQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2DjEAP4t52iGE3LFzDFHP39uFP4o0yZ7BmpY
q0Y29nWhW9qX9wD/eiQMNUDXmjCjMpHv3f7TbgLX3BJiogUzZKYb0SreeQE=
=/lxq
-----END PGP SIGNATURE-----

Attachment: pgpjur4AWdwrJ.pgp
Description: PGP signature


--- End Message ---

Reply via email to