#1147358 scikit-build fails autopkg tests with setuptools v84

#1147358#5
Date:
2026-09-11 08:08:10 UTC
From:
To:
scikit-build fails autopkg tests with setuptools v84:

[...]

120s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
120s
120s self = <skbuild.command.build_ext.build_ext object at 0x7fc650a8ee90>
120s
120s     def copy_extensions_to_source(self) -> None:
120s         """This function is only-called when doing inplace build.
120s
120s         It is customized to ensure the extensions compiled using
distutils
120s         are copied back to the source tree instead of the
:func:`skbuild.constants.CMAKE_INSTALL_DIR()`.
120s         """
120s         build_py = self.get_finalized_command("build_py")
120s         for ext in self.extensions:
120s             fullname: str = self.get_ext_fullname(ext.name)
120s             filename: str = self.get_ext_filename(fullname)  #
type: ignore[no-untyped-call]
120s             modpath = fullname.split(".")
120s             package = ".".join(modpath[:-1])
120s             package_dir = build_py.get_package_dir(package)  #
type: ignore[attr-defined]
120s             # skbuild: strip install dir for inplace build
120s             package_dir = package_dir[len(CMAKE_INSTALL_DIR()) + 1 :]
120s             dest_filename = os.path.join(package_dir,
os.path.basename(filename))
120s             src_filename = os.path.join(self.build_lib, filename)
120s
120s             # Always copy, even if source is older than
destination, to ensure
120s             # that the right extensions for the current
Python/platform are
120s             # used.
120s >           copy_file(src_filename, dest_filename,
verbose=self.verbose, dry_run=self.dry_run)  # type: ignore[attr-defined]
120s
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
120s E           TypeError: copy_file() got an unexpected keyword
argument 'dry_run'
120s
120s build_py   = <skbuild.command.build_py.build_py object at
0x7fc6509c9150>
120s dest_filename = 'hello/_hello_ext.cpython-314-x86_64-linux-gnu.so'
120s ext        = Extension(name='hello._hello_ext',
sources=['hello/_hello_ext.cxx'], include_dirs=[], define_macros=[],
undef_macros=[...=[], extra_link_args=[],
export_symbols=['PyInit__hello_ext'], swig_opts=[], depends=[],
language=None, optional=False)
120s filename   = 'hello/_hello_ext.cpython-314-x86_64-linux-gnu.so'
120s fullname   = 'hello._hello_ext'
120s modpath    = ['hello', '_hello_ext']
120s package    = 'hello'
120s package_dir = 'hello'
120s self       = <skbuild.command.build_ext.build_ext object at
0x7fc650a8ee90>
120s src_filename =
'_skbuild/linux-x86_64-3.14/setuptools/lib.linux-x86_64-cpython-314/hello/_hello_ext.cpython-314-x86_64-linux-gnu.so'
120s
120s /usr/lib/python3/dist-packages/skbuild/command/build_ext.py:38:
TypeError

#1147358#10
Date:
2026-09-14 17:49:36 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
scikit-build, 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 1147358@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated scikit-build 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 14 Sep 2026 19:36:49 +0200
Source: scikit-build
Architecture: source
Version: 0.19.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1147358 1147565
Changes:
 scikit-build (0.19.1-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream version 0.19.1 (Closes: #1147358, #1147565)
Checksums-Sha1:
 4b04a865e7d56ab4a924a605c6eb5a90685b3c31 2897 scikit-build_0.19.1-1.dsc
 eeb28fd7811bf43818a50cb845a52b20dfa10b76 274565 scikit-build_0.19.1.orig.tar.gz
 2531dfd4b951067a9c6176a3c59eacd14a2ca37e 6012 scikit-build_0.19.1-1.debian.tar.xz
 db57de4dc3401dd28667c7aff7aba716e25b103a 10102 scikit-build_0.19.1-1_source.buildinfo
Checksums-Sha256:
 9ab22026263f7e4468067ff3b7017f55f8207450fe1d3726daf4a004c8f61e1c 2897 scikit-build_0.19.1-1.dsc
 8777e70237db5636bf2cd4c8b1b4b08972142d33732630f31e0915e0ebd78922 274565 scikit-build_0.19.1.orig.tar.gz
 5670ff5c1b2dd26b8538813da1a82e4e1bfe974252a7c9848d9147ac6dde5b55 6012 scikit-build_0.19.1-1.debian.tar.xz
 54114275cee5cb07a2affbdd384c8bf98906fa8e1058263bbc9b3ae1c48b89ee 10102 scikit-build_0.19.1-1_source.buildinfo
Files:
 7aae6296a1ce532b868ea260b224eb31 2897 python optional scikit-build_0.19.1-1.dsc
 f4391426e05c91e986833e63af6d1f36 274565 python optional scikit-build_0.19.1.orig.tar.gz
 d1f41fe9476aa8a8032b19a7480afcb6 6012 python optional scikit-build_0.19.1-1.debian.tar.xz
 48bf8ee772528706294631ab72c0a63d 10102 python optional scikit-build_0.19.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmqoMUsRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBqN5A//f1QruFuzHBnKPbY2WNgxIlKCc9ZrvEQ1
dV47RnUtMokdRdwge3011ho6AJYq7ijrR10X0UX+PyMXe/gI+d++1dwrN7WOPBpf
Ff+jJI5bf6KJ5G4OKIGSG24NsoinF/goR7JF5zovc1MeJDvfDG8lqlA5rl/1qaUN
pmnpls8Y2rsZbpihCJSjFelYEXpdB9QCscNQAJ4R5s936PLhCXs7W6ucJbcHcuXi
63+TojBjvH5SZ53iBLPgs+7k5KmEReDAIeYujuq84ybUXaregU7WqobjOW+DCkTR
Olr1YjbTh/OCr6sSZY6TS5f80xT2B6FBw81L6e/R8iAslj+v8I+9ncW37im08RhH
xTLA1RoFoNWoFEmslQW5F7lJWKciKOvVH2JC2OBuOXD7HqBKk6hsQWPmJvnKFPP5
bjIBbH7CNoA+nbYqhTOFQQA9kmbVKrFK05XtFDXf5+2Rh/nkIa2SRbFTUiRfJ857
badfeVkAYjBc8ubLrcOq3ALolu61LFpQ2hau2tG725D6U5uVzNshcWHj52ysYkBI
23HE34N8+p3GvzmptQ2sFHNgdYrrFe87Evm9fC+m5OPormpuAhaDyAAx+sBpeqvU
OFUtXoWp2M8YSomycC8lLGjy3kgumrf9hOziIc891AaonktClU+Gd3eni3o73VVF
RIQmH7jg2Hg=
=EjMM
-----END PGP SIGNATURE-----