- Package:
- src:scikit-build
- Source:
- src:scikit-build
- Submitter:
- Jochen Sprickerhof
- Date:
- 2026-05-18 13:43:01 UTC
- Severity:
- normal
- Tags:
scikit-build accesses network resources during the build:
process = <Popen: returncode: 1 args: ['/usr/bin/python3.12', '-m', 'pip', 'wheel', '-...>
stdout = None, stderr = None, retcode = 1
def run(*popenargs,
input=None, capture_output=False, timeout=None, check=False, **kwargs):
"""Run command with arguments and return a CompletedProcess instance.
The returned instance will have attributes args, returncode, stdout and
stderr. By default, stdout and stderr are not captured, and those attributes
will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
or pass capture_output=True to capture both.
If check is True and the exit code was non-zero, it raises a
CalledProcessError. The CalledProcessError object will have the return code
in the returncode attribute, and output & stderr attributes if those streams
were captured.
If timeout is given, and the process takes too long, a TimeoutExpired
exception will be raised.
There is an optional argument "input", allowing you to
pass bytes or a string to the subprocess's stdin. If you use this argument
you may not also use the Popen constructor's "stdin" argument, as
it will be used internally.
By default, all communication is in bytes, and therefore any "input" should
be bytes, and the stdout and stderr will be bytes. If in text mode, any
"input" should be a string, and stdout and stderr will be strings decoded
according to locale encoding, or by "encoding" if set. Text mode is
triggered by setting any of text, encoding, errors or universal_newlines.
The other arguments are the same as for the Popen constructor.
"""
if input is not None:
if kwargs.get('stdin') is not None:
raise ValueError('stdin and input arguments may not both be used.')
kwargs['stdin'] = PIPE
if capture_output:
if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
raise ValueError('stdout and stderr arguments may not be used '
'with capture_output.')
kwargs['stdout'] = PIPE
kwargs['stderr'] = PIPE
with Popen(*popenargs, **kwargs) as process:
try:
stdout, stderr = process.communicate(input, timeout=timeout)
except TimeoutExpired as exc:
process.kill()
if _mswindows:
# Windows accumulates the output in a single blocking
# read() call run on child threads, with the timeout
# being done in a join() on those threads. communicate()
# _after_ kill() is required to collect that and add it
# to the exception.
exc.stdout, exc.stderr = process.communicate()
else:
# POSIX _communicate already populated the output so
# far into the TimeoutExpired exception.
process.wait()
raise
except: # Including KeyboardInterrupt, communicate handled that.
process.kill()
# We don't call process.wait() as .__exit__ does that for us.
raise
retcode = process.poll()
if check and retcode:
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 1069805@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Emmanuel Arias <eamanu@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: Fri, 26 Apr 2024 21:01:05 -0300
Source: scikit-build
Architecture: source
Version: 0.17.6-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Emmanuel Arias <eamanu@debian.org>
Closes: 1069805
Changes:
scikit-build (0.17.6-2) unstable; urgency=medium
.
* d/rules: Ignore tests/test_distribution.py test file, because it
use pip (Closes: #1069805).
- Ingore it in autopkgtest. Also ignore warnings to avoid fail tests.
Checksums-Sha1:
be9b399bc2e221b84eb9781e2f18e61f48695fe4 2777 scikit-build_0.17.6-2.dsc
09d87ea510ec3a0d13fe2a9eebd3b01627ab5910 5576 scikit-build_0.17.6-2.debian.tar.xz
dfb092e8acda3de7081422b08db39498743dbace 10536 scikit-build_0.17.6-2_amd64.buildinfo
Checksums-Sha256:
b6e17bb48f17a6812e1e1ef0b2b1b5733f8330fd45d547ecde99805bdb8f5f1e 2777 scikit-build_0.17.6-2.dsc
87b02954cc0dc539004dc9492b47a3394292d74455a94037dad22e71688c8e98 5576 scikit-build_0.17.6-2.debian.tar.xz
5dc4256276ce00f99c5e1459935c49bfa53b0ad0c3f66f549ff5df27871a0e58 10536 scikit-build_0.17.6-2_amd64.buildinfo
Files:
384994e67e76b8d338d2b50264c41e39 2777 python optional scikit-build_0.17.6-2.dsc
ee064d579f913408fc97bad745d59161 5576 python optional scikit-build_0.17.6-2.debian.tar.xz
4d3bdd1f71bc3831c440867fd1cbbc46 10536 python optional scikit-build_0.17.6-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEE3lnVbvHK7ir4q61+p3sXeEcY/EFAmYsU/oSHGVhbWFudUBk
ZWJpYW4ub3JnAAoJEPqd7F3hHGPxGqIQAIE+l+UVuMYUMgxnPfvbUwN2ATDDZ4Kv
iMkzUOaMtX8vVSmZleKpgK6o4aOd6AhEoW2bHPDKfSHSAvlU+eZXi+TtEkd1g0bA
t9ATL1w+Z7hewYUesa56f08ZwmwDj1JZW/9gcv71SBXC2Y8S0uNsd+XmJTjDPqgs
rRTDNTGn0LcbU7dn2+rjGBJbKQgAZ/MQWiPMQRzTjeoh6tm5lpvdPh7ESjT922mK
v4GoEi1+QhjNR2M7eCohg0rUcUHelS5EEdR47imDHInbTQ0CEA6iOowYRYxU9LHR
Z3RFjgC6yYmSSLNuY2lMqrGABMv5qFB1zPOIq7jnkBkxAG6SMKpnDQxNF63c0Pj+
W7xA8VmaYZ6WHePYZY+5hdJ4ojxy87N8Uqg+TFQ85ZkWnAKsI/e//lgk36071WbR
7Z852Eol98Mo4DKkYTSYzaYuS4IFVc2kRQM0H/VbbhzYn7QfgXU1ZrfbNCU+w6GP
irdYopj0jA9Bkto6cQI09r91g5e9bmgRUnb+2yIeP3N0Ef3RcPYAIZROJWb1voQb
uq9GfQIF4wU8jP5otWfrjbwXvSaNbKhezbW2cUlaLkMRXuP8kQeIpUOvFg0W7Yrs
mEj5cBWFeqRrDs0yeUzn81V2FAqOrTVlfxKRjd3xThxLnQnXmyXyKSbxFkPBejl/
NPXIUL/mAMg8
=OfxW
-----END PGP SIGNATURE-----