Your message dated Sat, 16 Dec 2023 17:37:13 +0000
with message-id <e1reybb-00dx8d...@fasolo.debian.org>
and subject line Bug#1056528: fixed in scikit-build-core 0.7.0-1
has caused the Debian Bug report #1056528,
regarding scikit-build-core's autopkg tests fail with Python 3.12
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 ow...@bugs.debian.org
immediately.)


-- 
1056528: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056528
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:scikit-build-core
Version: 0.5.1-1
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12

scikit-build-core's autopkg tests fail with Python 3.12:

[...]
188s ============================= test session starts ==============================
188s platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0
188s installed packages of interest: build==0.10.0 cattrs==22.2.0 importlib-metadata==4.12.0 packaging==23.2 pathspec==0.11.1 pyproject-metadata==0.7.1 pytest==7.4.3 rich==13.3.1 scikit_build_core==0.5.1 setuptools==68.1.2 setuptools-scm==7.1.0 typing-extensions==4.7.1 wheel==0.41.2
188s sysconfig platform: linux-x86_64
188s rootdir: /tmp/autopkgtest.iZVGqP/autopkgtest_tmp/build
188s configfile: pyproject.toml
188s testpaths: tests
188s collected 180 items / 37 deselected / 1 skipped / 143 selected
188s
189s tests/test_builder.py ........FXs......... [ 13%] 189s tests/test_dynamic_metadata.py .s.....E.. [ 20%] 189s tests/test_file_processor.py . [ 21%] 189s tests/test_fileapi.py .... [ 24%] 189s tests/test_generator_default.py ... [ 26%] 189s tests/test_json_schema.py ........ [ 32%] 189s tests/test_logging.py ... [ 34%] 189s tests/test_module_dir.py .. [ 35%] 190s tests/test_name_main.py ... [ 37%] 190s tests/test_process_scripts.py . [ 38%] 190s tests/test_pyproject_abi3.py E [ 39%] 190s tests/test_pyproject_extra_dirs.py .. [ 40%] 195s tests/test_pyproject_pep517.py ......EEs. [ 47%] 195s tests/test_pyproject_pep660.py F [ 48%] 195s tests/test_schema.py .sssssssssssssssssssss [ 63%] 195s tests/test_settings.py ................................ [ 86%] 195s tests/test_shutil.py ... [ 88%] 196s tests/test_simple_pure.py ... [ 90%] 197s tests/test_simplest_c.py .EEEE [ 93%] 197s tests/test_skbuild_settings.py ....... [ 98%] 197s tests/test_wheelfile_utils.py .. [100%]
197s
197s ==================================== ERRORS ==================================== 197s _____________________ ERROR at setup of test_pep517_wheel ______________________
197s
197s self = <conftest.VEnv object at 0x7fd463c990a0>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel0/venv', env_name='venv', prompt='(venv) ', executa.../test_pep517_wheel0/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel0/venv/pyvenv.cfg')
197s
197s     def _setup_pip(self, context):
197s         """Installs or upgrades pip in a virtual environment"""
197s         try:
197s > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s
197s /usr/lib/python3.12/venv/__init__.py:360:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s /usr/lib/python3.12/venv/__init__.py:355: in _call_new_python
197s     subprocess.check_output(args, **kwargs)
197s /usr/lib/python3.12/subprocess.py:466: in check_output
197s     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s input = None, capture_output = False, timeout = None, check = True
197s popenargs = (['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel0/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip'],) 197s kwargs = {'cwd': '/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel0/venv', 'env': {'ADTTMP': '/tmp/autopkgtest.iZVGqP/autopkgte...facts', ...}, 'executable': '/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel0/venv/bin/python3.12', 'stderr': -2, ...} 197s process = <Popen: returncode: 1 args: ['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_whe...> 197s stdout = b'/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel0/venv/bin/python3.12: No module named ensurepip\n'
197s stderr = None, retcode = 1
197s
197s     def run(*popenargs,
197s input=None, capture_output=False, timeout=None, check=False, **kwargs): 197s """Run command with arguments and return a CompletedProcess instance.
197s
197s The returned instance will have attributes args, returncode, stdout and 197s stderr. By default, stdout and stderr are not captured, and those attributes 197s will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
197s         or pass capture_output=True to capture both.
197s
197s         If check is True and the exit code was non-zero, it raises a
197s CalledProcessError. The CalledProcessError object will have the return code 197s in the returncode attribute, and output & stderr attributes if those streams
197s         were captured.
197s
197s If timeout is given, and the process takes too long, a TimeoutExpired
197s         exception will be raised.
197s
197s         There is an optional argument "input", allowing you to
197s pass bytes or a string to the subprocess's stdin. If you use this argument 197s you may not also use the Popen constructor's "stdin" argument, as
197s         it will be used internally.
197s
197s By default, all communication is in bytes, and therefore any "input" should 197s be bytes, and the stdout and stderr will be bytes. If in text mode, any 197s "input" should be a string, and stdout and stderr will be strings decoded 197s according to locale encoding, or by "encoding" if set. Text mode is 197s triggered by setting any of text, encoding, errors or universal_newlines.
197s
197s         The other arguments are the same as for the Popen constructor.
197s         """
197s         if input is not None:
197s             if kwargs.get('stdin') is not None:
197s raise ValueError('stdin and input arguments may not both be used.')
197s             kwargs['stdin'] = PIPE
197s
197s         if capture_output:
197s if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: 197s raise ValueError('stdout and stderr arguments may not be used '
197s                                  'with capture_output.')
197s             kwargs['stdout'] = PIPE
197s             kwargs['stderr'] = PIPE
197s
197s         with Popen(*popenargs, **kwargs) as process:
197s             try:
197s stdout, stderr = process.communicate(input, timeout=timeout)
197s             except TimeoutExpired as exc:
197s                 process.kill()
197s                 if _mswindows:
197s # Windows accumulates the output in a single blocking 197s # read() call run on child threads, with the timeout 197s # being done in a join() on those threads. communicate() 197s # _after_ kill() is required to collect that and add it
197s                     # to the exception.
197s                     exc.stdout, exc.stderr = process.communicate()
197s                 else:
197s # POSIX _communicate already populated the output so
197s                     # far into the TimeoutExpired exception.
197s                     process.wait()
197s                 raise
197s except: # Including KeyboardInterrupt, communicate handled that.
197s                 process.kill()
197s # We don't call process.wait() as .__exit__ does that for us.
197s                 raise
197s             retcode = process.poll()
197s             if check and retcode:
197s >               raise CalledProcessError(retcode, process.args,
197s                                          output=stdout, stderr=stderr)
197s E subprocess.CalledProcessError: Command '['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel0/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
197s
197s /usr/lib/python3.12/subprocess.py:571: CalledProcessError
197s
197s During handling of the above exception, another exception occurred:
197s
197s tmp_path = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel0')
197s
197s     @pytest.fixture()
197s     def virtualenv(tmp_path: Path) -> Generator[VEnv, None, None]:
197s         path = tmp_path / "venv"
197s         try:
197s >           yield VEnv(path)
197s
197s /tmp/autopkgtest.iZVGqP/autopkgtest_tmp/build/tests/conftest.py:191:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.iZVGqP/autopkgtest_tmp/build/tests/conftest.py:105: in __init__
197s     self.create(env_dir)
197s /usr/lib/python3.12/venv/__init__.py:76: in create
197s     self._setup_pip(context)
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s self = <conftest.VEnv object at 0x7fd463c990a0>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel0/venv', env_name='venv', prompt='(venv) ', executa.../test_pep517_wheel0/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel0/venv/pyvenv.cfg')
197s
197s         def _setup_pip(self, context):
197s             """Installs or upgrades pip in a virtual environment"""
197s             try:
197s self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s             except subprocess.CalledProcessError as err:
197s                 stdlib = sysconfig.get_path('stdlib')
197s if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'):
197s                     print("""\
197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s     package using the following command.
197s
197s         apt install python{}-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s     package, recreate your virtual environment.
197s
197s     Failing command: {}
197s     """.format(sysconfig.get_python_version(), context.env_exec_cmd))
197s >                   sys.exit(1)
197s E                   SystemExit: 1
197s
197s /usr/lib/python3.12/venv/__init__.py:377: SystemExit
197s ---------------------------- Captured stdout setup ----------------------------- 197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s package using the following command.
197s
197s     apt install python3.12-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s package, recreate your virtual environment.
197s
197s Failing command: /tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel0/venv/bin/python3.12
197s
197s ______________________ ERROR at setup of test_abi3_wheel _______________________
197s
197s self = <conftest.VEnv object at 0x7fd4632b0a40>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_abi3_wheel0/venv', env_name='venv', prompt='(venv) ', executabl...st-0/test_abi3_wheel0/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_abi3_wheel0/venv/pyvenv.cfg')
197s
197s     def _setup_pip(self, context):
197s         """Installs or upgrades pip in a virtual environment"""
197s         try:
197s > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s
197s /usr/lib/python3.12/venv/__init__.py:360:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s /usr/lib/python3.12/venv/__init__.py:355: in _call_new_python
197s     subprocess.check_output(args, **kwargs)
197s /usr/lib/python3.12/subprocess.py:466: in check_output
197s     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s input = None, capture_output = False, timeout = None, check = True
197s popenargs = (['/tmp/pytest-of-ubuntu/pytest-0/test_abi3_wheel0/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip'],) 197s kwargs = {'cwd': '/tmp/pytest-of-ubuntu/pytest-0/test_abi3_wheel0/venv', 'env': {'ADTTMP': '/tmp/autopkgtest.iZVGqP/autopkgtest...tifacts', ...}, 'executable': '/tmp/pytest-of-ubuntu/pytest-0/test_abi3_wheel0/venv/bin/python3.12', 'stderr': -2, ...} 197s process = <Popen: returncode: 1 args: ['/tmp/pytest-of-ubuntu/pytest-0/test_abi3_wheel...> 197s stdout = b'/tmp/pytest-of-ubuntu/pytest-0/test_abi3_wheel0/venv/bin/python3.12: No module named ensurepip\n'
197s stderr = None, retcode = 1
197s
197s     def run(*popenargs,
197s input=None, capture_output=False, timeout=None, check=False, **kwargs): 197s """Run command with arguments and return a CompletedProcess instance.
197s
197s The returned instance will have attributes args, returncode, stdout and 197s stderr. By default, stdout and stderr are not captured, and those attributes 197s will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
197s         or pass capture_output=True to capture both.
197s
197s         If check is True and the exit code was non-zero, it raises a
197s CalledProcessError. The CalledProcessError object will have the return code 197s in the returncode attribute, and output & stderr attributes if those streams
197s         were captured.
197s
197s If timeout is given, and the process takes too long, a TimeoutExpired
197s         exception will be raised.
197s
197s         There is an optional argument "input", allowing you to
197s pass bytes or a string to the subprocess's stdin. If you use this argument 197s you may not also use the Popen constructor's "stdin" argument, as
197s         it will be used internally.
197s
197s By default, all communication is in bytes, and therefore any "input" should 197s be bytes, and the stdout and stderr will be bytes. If in text mode, any 197s "input" should be a string, and stdout and stderr will be strings decoded 197s according to locale encoding, or by "encoding" if set. Text mode is 197s triggered by setting any of text, encoding, errors or universal_newlines.
197s
197s         The other arguments are the same as for the Popen constructor.
197s         """
197s         if input is not None:
197s             if kwargs.get('stdin') is not None:
197s raise ValueError('stdin and input arguments may not both be used.')
197s             kwargs['stdin'] = PIPE
197s
197s         if capture_output:
197s if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: 197s raise ValueError('stdout and stderr arguments may not be used '
197s                                  'with capture_output.')
197s             kwargs['stdout'] = PIPE
197s             kwargs['stderr'] = PIPE
197s
197s         with Popen(*popenargs, **kwargs) as process:
197s             try:
197s stdout, stderr = process.communicate(input, timeout=timeout)
197s             except TimeoutExpired as exc:
197s                 process.kill()
197s                 if _mswindows:
197s # Windows accumulates the output in a single blocking 197s # read() call run on child threads, with the timeout 197s # being done in a join() on those threads. communicate() 197s # _after_ kill() is required to collect that and add it
197s                     # to the exception.
197s                     exc.stdout, exc.stderr = process.communicate()
197s                 else:
197s # POSIX _communicate already populated the output so
197s                     # far into the TimeoutExpired exception.
197s                     process.wait()
197s                 raise
197s except: # Including KeyboardInterrupt, communicate handled that.
197s                 process.kill()
197s # We don't call process.wait() as .__exit__ does that for us.
197s                 raise
197s             retcode = process.poll()
197s             if check and retcode:
197s >               raise CalledProcessError(retcode, process.args,
197s                                          output=stdout, stderr=stderr)
197s E subprocess.CalledProcessError: Command '['/tmp/pytest-of-ubuntu/pytest-0/test_abi3_wheel0/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
197s
197s /usr/lib/python3.12/subprocess.py:571: CalledProcessError
197s
197s During handling of the above exception, another exception occurred:
197s
197s tmp_path = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_abi3_wheel0')
197s
197s     @pytest.fixture()
197s     def virtualenv(tmp_path: Path) -> Generator[VEnv, None, None]:
197s         path = tmp_path / "venv"
197s         try:
197s >           yield VEnv(path)
197s
197s tests/conftest.py:191:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s tests/conftest.py:105: in __init__
197s     self.create(env_dir)
197s /usr/lib/python3.12/venv/__init__.py:76: in create
197s     self._setup_pip(context)
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s self = <conftest.VEnv object at 0x7fd4632b0a40>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_abi3_wheel0/venv', env_name='venv', prompt='(venv) ', executabl...st-0/test_abi3_wheel0/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_abi3_wheel0/venv/pyvenv.cfg')
197s
197s         def _setup_pip(self, context):
197s             """Installs or upgrades pip in a virtual environment"""
197s             try:
197s self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s             except subprocess.CalledProcessError as err:
197s                 stdlib = sysconfig.get_path('stdlib')
197s if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'):
197s                     print("""\
197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s     package using the following command.
197s
197s         apt install python{}-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s     package, recreate your virtual environment.
197s
197s     Failing command: {}
197s     """.format(sysconfig.get_python_version(), context.env_exec_cmd))
197s >                   sys.exit(1)
197s E                   SystemExit: 1
197s
197s /usr/lib/python3.12/venv/__init__.py:377: SystemExit
197s ---------------------------- Captured stdout setup ----------------------------- 197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s package using the following command.
197s
197s     apt install python3.12-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s package, recreate your virtual environment.
197s
197s Failing command: /tmp/pytest-of-ubuntu/pytest-0/test_abi3_wheel0/venv/bin/python3.12
197s
197s _____________________ ERROR at setup of test_pep517_wheel ______________________
197s
197s self = <conftest.VEnv object at 0x7fd4632b15b0>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel1/venv', env_name='venv', prompt='(venv) ', executa.../test_pep517_wheel1/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel1/venv/pyvenv.cfg')
197s
197s     def _setup_pip(self, context):
197s         """Installs or upgrades pip in a virtual environment"""
197s         try:
197s > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s
197s /usr/lib/python3.12/venv/__init__.py:360:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s /usr/lib/python3.12/venv/__init__.py:355: in _call_new_python
197s     subprocess.check_output(args, **kwargs)
197s /usr/lib/python3.12/subprocess.py:466: in check_output
197s     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s input = None, capture_output = False, timeout = None, check = True
197s popenargs = (['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel1/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip'],) 197s kwargs = {'cwd': '/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel1/venv', 'env': {'ADTTMP': '/tmp/autopkgtest.iZVGqP/autopkgte...facts', ...}, 'executable': '/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel1/venv/bin/python3.12', 'stderr': -2, ...} 197s process = <Popen: returncode: 1 args: ['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_whe...> 197s stdout = b'/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel1/venv/bin/python3.12: No module named ensurepip\n'
197s stderr = None, retcode = 1
197s
197s     def run(*popenargs,
197s input=None, capture_output=False, timeout=None, check=False, **kwargs): 197s """Run command with arguments and return a CompletedProcess instance.
197s
197s The returned instance will have attributes args, returncode, stdout and 197s stderr. By default, stdout and stderr are not captured, and those attributes 197s will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
197s         or pass capture_output=True to capture both.
197s
197s         If check is True and the exit code was non-zero, it raises a
197s CalledProcessError. The CalledProcessError object will have the return code 197s in the returncode attribute, and output & stderr attributes if those streams
197s         were captured.
197s
197s If timeout is given, and the process takes too long, a TimeoutExpired
197s         exception will be raised.
197s
197s         There is an optional argument "input", allowing you to
197s pass bytes or a string to the subprocess's stdin. If you use this argument 197s you may not also use the Popen constructor's "stdin" argument, as
197s         it will be used internally.
197s
197s By default, all communication is in bytes, and therefore any "input" should 197s be bytes, and the stdout and stderr will be bytes. If in text mode, any 197s "input" should be a string, and stdout and stderr will be strings decoded 197s according to locale encoding, or by "encoding" if set. Text mode is 197s triggered by setting any of text, encoding, errors or universal_newlines.
197s
197s         The other arguments are the same as for the Popen constructor.
197s         """
197s         if input is not None:
197s             if kwargs.get('stdin') is not None:
197s raise ValueError('stdin and input arguments may not both be used.')
197s             kwargs['stdin'] = PIPE
197s
197s         if capture_output:
197s if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: 197s raise ValueError('stdout and stderr arguments may not be used '
197s                                  'with capture_output.')
197s             kwargs['stdout'] = PIPE
197s             kwargs['stderr'] = PIPE
197s
197s         with Popen(*popenargs, **kwargs) as process:
197s             try:
197s stdout, stderr = process.communicate(input, timeout=timeout)
197s             except TimeoutExpired as exc:
197s                 process.kill()
197s                 if _mswindows:
197s # Windows accumulates the output in a single blocking 197s # read() call run on child threads, with the timeout 197s # being done in a join() on those threads. communicate() 197s # _after_ kill() is required to collect that and add it
197s                     # to the exception.
197s                     exc.stdout, exc.stderr = process.communicate()
197s                 else:
197s # POSIX _communicate already populated the output so
197s                     # far into the TimeoutExpired exception.
197s                     process.wait()
197s                 raise
197s except: # Including KeyboardInterrupt, communicate handled that.
197s                 process.kill()
197s # We don't call process.wait() as .__exit__ does that for us.
197s                 raise
197s             retcode = process.poll()
197s             if check and retcode:
197s >               raise CalledProcessError(retcode, process.args,
197s                                          output=stdout, stderr=stderr)
197s E subprocess.CalledProcessError: Command '['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel1/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
197s
197s /usr/lib/python3.12/subprocess.py:571: CalledProcessError
197s
197s During handling of the above exception, another exception occurred:
197s
197s tmp_path = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel1')
197s
197s     @pytest.fixture()
197s     def virtualenv(tmp_path: Path) -> Generator[VEnv, None, None]:
197s         path = tmp_path / "venv"
197s         try:
197s >           yield VEnv(path)
197s
197s /tmp/autopkgtest.iZVGqP/autopkgtest_tmp/build/tests/conftest.py:191:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.iZVGqP/autopkgtest_tmp/build/tests/conftest.py:105: in __init__
197s     self.create(env_dir)
197s /usr/lib/python3.12/venv/__init__.py:76: in create
197s     self._setup_pip(context)
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s self = <conftest.VEnv object at 0x7fd4632b15b0>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel1/venv', env_name='venv', prompt='(venv) ', executa.../test_pep517_wheel1/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel1/venv/pyvenv.cfg')
197s
197s         def _setup_pip(self, context):
197s             """Installs or upgrades pip in a virtual environment"""
197s             try:
197s self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s             except subprocess.CalledProcessError as err:
197s                 stdlib = sysconfig.get_path('stdlib')
197s if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'):
197s                     print("""\
197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s     package using the following command.
197s
197s         apt install python{}-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s     package, recreate your virtual environment.
197s
197s     Failing command: {}
197s     """.format(sysconfig.get_python_version(), context.env_exec_cmd))
197s >                   sys.exit(1)
197s E                   SystemExit: 1
197s
197s /usr/lib/python3.12/venv/__init__.py:377: SystemExit
197s ---------------------------- Captured stdout setup ----------------------------- 197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s package using the following command.
197s
197s     apt install python3.12-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s package, recreate your virtual environment.
197s
197s Failing command: /tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel1/venv/bin/python3.12
197s
197s ________________ ERROR at setup of test_pep517_wheel_source_dir ________________
197s
197s self = <conftest.VEnv object at 0x7fd4632d6900>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_source_dir0/venv', env_name='venv', prompt='(venv)...rce_dir0/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_source_dir0/venv/pyvenv.cfg')
197s
197s     def _setup_pip(self, context):
197s         """Installs or upgrades pip in a virtual environment"""
197s         try:
197s > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s
197s /usr/lib/python3.12/venv/__init__.py:360:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s /usr/lib/python3.12/venv/__init__.py:355: in _call_new_python
197s     subprocess.check_output(args, **kwargs)
197s /usr/lib/python3.12/subprocess.py:466: in check_output
197s     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s input = None, capture_output = False, timeout = None, check = True
197s popenargs = (['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_source_dir0/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip'],) 197s kwargs = {'cwd': '/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_source_dir0/venv', 'env': {'ADTTMP': '/tmp/autopkgtest.iZVGq...}, 'executable': '/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_source_dir0/venv/bin/python3.12', 'stderr': -2, ...} 197s process = <Popen: returncode: 1 args: ['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_whe...> 197s stdout = b'/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_source_dir0/venv/bin/python3.12: No module named ensurepip\n'
197s stderr = None, retcode = 1
197s
197s     def run(*popenargs,
197s input=None, capture_output=False, timeout=None, check=False, **kwargs): 197s """Run command with arguments and return a CompletedProcess instance.
197s
197s The returned instance will have attributes args, returncode, stdout and 197s stderr. By default, stdout and stderr are not captured, and those attributes 197s will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
197s         or pass capture_output=True to capture both.
197s
197s         If check is True and the exit code was non-zero, it raises a
197s CalledProcessError. The CalledProcessError object will have the return code 197s in the returncode attribute, and output & stderr attributes if those streams
197s         were captured.
197s
197s If timeout is given, and the process takes too long, a TimeoutExpired
197s         exception will be raised.
197s
197s         There is an optional argument "input", allowing you to
197s pass bytes or a string to the subprocess's stdin. If you use this argument 197s you may not also use the Popen constructor's "stdin" argument, as
197s         it will be used internally.
197s
197s By default, all communication is in bytes, and therefore any "input" should 197s be bytes, and the stdout and stderr will be bytes. If in text mode, any 197s "input" should be a string, and stdout and stderr will be strings decoded 197s according to locale encoding, or by "encoding" if set. Text mode is 197s triggered by setting any of text, encoding, errors or universal_newlines.
197s
197s         The other arguments are the same as for the Popen constructor.
197s         """
197s         if input is not None:
197s             if kwargs.get('stdin') is not None:
197s raise ValueError('stdin and input arguments may not both be used.')
197s             kwargs['stdin'] = PIPE
197s
197s         if capture_output:
197s if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: 197s raise ValueError('stdout and stderr arguments may not be used '
197s                                  'with capture_output.')
197s             kwargs['stdout'] = PIPE
197s             kwargs['stderr'] = PIPE
197s
197s         with Popen(*popenargs, **kwargs) as process:
197s             try:
197s stdout, stderr = process.communicate(input, timeout=timeout)
197s             except TimeoutExpired as exc:
197s                 process.kill()
197s                 if _mswindows:
197s # Windows accumulates the output in a single blocking 197s # read() call run on child threads, with the timeout 197s # being done in a join() on those threads. communicate() 197s # _after_ kill() is required to collect that and add it
197s                     # to the exception.
197s                     exc.stdout, exc.stderr = process.communicate()
197s                 else:
197s # POSIX _communicate already populated the output so
197s                     # far into the TimeoutExpired exception.
197s                     process.wait()
197s                 raise
197s except: # Including KeyboardInterrupt, communicate handled that.
197s                 process.kill()
197s # We don't call process.wait() as .__exit__ does that for us.
197s                 raise
197s             retcode = process.poll()
197s             if check and retcode:
197s >               raise CalledProcessError(retcode, process.args,
197s                                          output=stdout, stderr=stderr)
197s E subprocess.CalledProcessError: Command '['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_source_dir0/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
197s
197s /usr/lib/python3.12/subprocess.py:571: CalledProcessError
197s
197s During handling of the above exception, another exception occurred:
197s
197s tmp_path = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_source_dir0')
197s
197s     @pytest.fixture()
197s     def virtualenv(tmp_path: Path) -> Generator[VEnv, None, None]:
197s         path = tmp_path / "venv"
197s         try:
197s >           yield VEnv(path)
197s
197s /tmp/autopkgtest.iZVGqP/autopkgtest_tmp/build/tests/conftest.py:191:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.iZVGqP/autopkgtest_tmp/build/tests/conftest.py:105: in __init__
197s     self.create(env_dir)
197s /usr/lib/python3.12/venv/__init__.py:76: in create
197s     self._setup_pip(context)
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s self = <conftest.VEnv object at 0x7fd4632d6900>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_source_dir0/venv', env_name='venv', prompt='(venv)...rce_dir0/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_source_dir0/venv/pyvenv.cfg')
197s
197s         def _setup_pip(self, context):
197s             """Installs or upgrades pip in a virtual environment"""
197s             try:
197s self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s             except subprocess.CalledProcessError as err:
197s                 stdlib = sysconfig.get_path('stdlib')
197s if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'):
197s                     print("""\
197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s     package using the following command.
197s
197s         apt install python{}-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s     package, recreate your virtual environment.
197s
197s     Failing command: {}
197s     """.format(sysconfig.get_python_version(), context.env_exec_cmd))
197s >                   sys.exit(1)
197s E                   SystemExit: 1
197s
197s /usr/lib/python3.12/venv/__init__.py:377: SystemExit
197s ---------------------------- Captured stdout setup ----------------------------- 197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s package using the following command.
197s
197s     apt install python3.12-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s package, recreate your virtual environment.
197s
197s Failing command: /tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_source_dir0/venv/bin/python3.12
197s
197s _______________ ERROR at setup of test_pep517_wheel[component0] ________________
197s
197s self = <conftest.VEnv object at 0x7fd463034410>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component0_0/venv', env_name='venv', prompt='(venv...nent0_0/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component0_0/venv/pyvenv.cfg')
197s
197s     def _setup_pip(self, context):
197s         """Installs or upgrades pip in a virtual environment"""
197s         try:
197s > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s
197s /usr/lib/python3.12/venv/__init__.py:360:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s /usr/lib/python3.12/venv/__init__.py:355: in _call_new_python
197s     subprocess.check_output(args, **kwargs)
197s /usr/lib/python3.12/subprocess.py:466: in check_output
197s     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s input = None, capture_output = False, timeout = None, check = True
197s popenargs = (['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component0_0/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip'],) 197s kwargs = {'cwd': '/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component0_0/venv', 'env': {'ADTTMP': '/tmp/autopkgtest.iZVG..., 'executable': '/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component0_0/venv/bin/python3.12', 'stderr': -2, ...} 197s process = <Popen: returncode: 1 args: ['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_whe...> 197s stdout = b'/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component0_0/venv/bin/python3.12: No module named ensurepip\n'
197s stderr = None, retcode = 1
197s
197s     def run(*popenargs,
197s input=None, capture_output=False, timeout=None, check=False, **kwargs): 197s """Run command with arguments and return a CompletedProcess instance.
197s
197s The returned instance will have attributes args, returncode, stdout and 197s stderr. By default, stdout and stderr are not captured, and those attributes 197s will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
197s         or pass capture_output=True to capture both.
197s
197s         If check is True and the exit code was non-zero, it raises a
197s CalledProcessError. The CalledProcessError object will have the return code 197s in the returncode attribute, and output & stderr attributes if those streams
197s         were captured.
197s
197s If timeout is given, and the process takes too long, a TimeoutExpired
197s         exception will be raised.
197s
197s         There is an optional argument "input", allowing you to
197s pass bytes or a string to the subprocess's stdin. If you use this argument 197s you may not also use the Popen constructor's "stdin" argument, as
197s         it will be used internally.
197s
197s By default, all communication is in bytes, and therefore any "input" should 197s be bytes, and the stdout and stderr will be bytes. If in text mode, any 197s "input" should be a string, and stdout and stderr will be strings decoded 197s according to locale encoding, or by "encoding" if set. Text mode is 197s triggered by setting any of text, encoding, errors or universal_newlines.
197s
197s         The other arguments are the same as for the Popen constructor.
197s         """
197s         if input is not None:
197s             if kwargs.get('stdin') is not None:
197s raise ValueError('stdin and input arguments may not both be used.')
197s             kwargs['stdin'] = PIPE
197s
197s         if capture_output:
197s if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: 197s raise ValueError('stdout and stderr arguments may not be used '
197s                                  'with capture_output.')
197s             kwargs['stdout'] = PIPE
197s             kwargs['stderr'] = PIPE
197s
197s         with Popen(*popenargs, **kwargs) as process:
197s             try:
197s stdout, stderr = process.communicate(input, timeout=timeout)
197s             except TimeoutExpired as exc:
197s                 process.kill()
197s                 if _mswindows:
197s # Windows accumulates the output in a single blocking 197s # read() call run on child threads, with the timeout 197s # being done in a join() on those threads. communicate() 197s # _after_ kill() is required to collect that and add it
197s                     # to the exception.
197s                     exc.stdout, exc.stderr = process.communicate()
197s                 else:
197s # POSIX _communicate already populated the output so
197s                     # far into the TimeoutExpired exception.
197s                     process.wait()
197s                 raise
197s except: # Including KeyboardInterrupt, communicate handled that.
197s                 process.kill()
197s # We don't call process.wait() as .__exit__ does that for us.
197s                 raise
197s             retcode = process.poll()
197s             if check and retcode:
197s >               raise CalledProcessError(retcode, process.args,
197s                                          output=stdout, stderr=stderr)
197s E subprocess.CalledProcessError: Command '['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component0_0/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
197s
197s /usr/lib/python3.12/subprocess.py:571: CalledProcessError
197s
197s During handling of the above exception, another exception occurred:
197s
197s tmp_path = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component0_0')
197s
197s     @pytest.fixture()
197s     def virtualenv(tmp_path: Path) -> Generator[VEnv, None, None]:
197s         path = tmp_path / "venv"
197s         try:
197s >           yield VEnv(path)
197s
197s tests/conftest.py:191:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s tests/conftest.py:105: in __init__
197s     self.create(env_dir)
197s /usr/lib/python3.12/venv/__init__.py:76: in create
197s     self._setup_pip(context)
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s self = <conftest.VEnv object at 0x7fd463034410>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component0_0/venv', env_name='venv', prompt='(venv...nent0_0/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component0_0/venv/pyvenv.cfg')
197s
197s         def _setup_pip(self, context):
197s             """Installs or upgrades pip in a virtual environment"""
197s             try:
197s self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s             except subprocess.CalledProcessError as err:
197s                 stdlib = sysconfig.get_path('stdlib')
197s if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'):
197s                     print("""\
197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s     package using the following command.
197s
197s         apt install python{}-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s     package, recreate your virtual environment.
197s
197s     Failing command: {}
197s     """.format(sysconfig.get_python_version(), context.env_exec_cmd))
197s >                   sys.exit(1)
197s E                   SystemExit: 1
197s
197s /usr/lib/python3.12/venv/__init__.py:377: SystemExit
197s ---------------------------- Captured stdout setup ----------------------------- 197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s package using the following command.
197s
197s     apt install python3.12-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s package, recreate your virtual environment.
197s
197s Failing command: /tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component0_0/venv/bin/python3.12
197s
197s _______________ ERROR at setup of test_pep517_wheel[component1] ________________
197s
197s self = <conftest.VEnv object at 0x7fd463034cb0>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component1_0/venv', env_name='venv', prompt='(venv...nent1_0/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component1_0/venv/pyvenv.cfg')
197s
197s     def _setup_pip(self, context):
197s         """Installs or upgrades pip in a virtual environment"""
197s         try:
197s > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s
197s /usr/lib/python3.12/venv/__init__.py:360:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s /usr/lib/python3.12/venv/__init__.py:355: in _call_new_python
197s     subprocess.check_output(args, **kwargs)
197s /usr/lib/python3.12/subprocess.py:466: in check_output
197s     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s input = None, capture_output = False, timeout = None, check = True
197s popenargs = (['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component1_0/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip'],) 197s kwargs = {'cwd': '/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component1_0/venv', 'env': {'ADTTMP': '/tmp/autopkgtest.iZVG..., 'executable': '/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component1_0/venv/bin/python3.12', 'stderr': -2, ...} 197s process = <Popen: returncode: 1 args: ['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_whe...> 197s stdout = b'/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component1_0/venv/bin/python3.12: No module named ensurepip\n'
197s stderr = None, retcode = 1
197s
197s     def run(*popenargs,
197s input=None, capture_output=False, timeout=None, check=False, **kwargs): 197s """Run command with arguments and return a CompletedProcess instance.
197s
197s The returned instance will have attributes args, returncode, stdout and 197s stderr. By default, stdout and stderr are not captured, and those attributes 197s will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
197s         or pass capture_output=True to capture both.
197s
197s         If check is True and the exit code was non-zero, it raises a
197s CalledProcessError. The CalledProcessError object will have the return code 197s in the returncode attribute, and output & stderr attributes if those streams
197s         were captured.
197s
197s If timeout is given, and the process takes too long, a TimeoutExpired
197s         exception will be raised.
197s
197s         There is an optional argument "input", allowing you to
197s pass bytes or a string to the subprocess's stdin. If you use this argument 197s you may not also use the Popen constructor's "stdin" argument, as
197s         it will be used internally.
197s
197s By default, all communication is in bytes, and therefore any "input" should 197s be bytes, and the stdout and stderr will be bytes. If in text mode, any 197s "input" should be a string, and stdout and stderr will be strings decoded 197s according to locale encoding, or by "encoding" if set. Text mode is 197s triggered by setting any of text, encoding, errors or universal_newlines.
197s
197s         The other arguments are the same as for the Popen constructor.
197s         """
197s         if input is not None:
197s             if kwargs.get('stdin') is not None:
197s raise ValueError('stdin and input arguments may not both be used.')
197s             kwargs['stdin'] = PIPE
197s
197s         if capture_output:
197s if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: 197s raise ValueError('stdout and stderr arguments may not be used '
197s                                  'with capture_output.')
197s             kwargs['stdout'] = PIPE
197s             kwargs['stderr'] = PIPE
197s
197s         with Popen(*popenargs, **kwargs) as process:
197s             try:
197s stdout, stderr = process.communicate(input, timeout=timeout)
197s             except TimeoutExpired as exc:
197s                 process.kill()
197s                 if _mswindows:
197s # Windows accumulates the output in a single blocking 197s # read() call run on child threads, with the timeout 197s # being done in a join() on those threads. communicate() 197s # _after_ kill() is required to collect that and add it
197s                     # to the exception.
197s                     exc.stdout, exc.stderr = process.communicate()
197s                 else:
197s # POSIX _communicate already populated the output so
197s                     # far into the TimeoutExpired exception.
197s                     process.wait()
197s                 raise
197s except: # Including KeyboardInterrupt, communicate handled that.
197s                 process.kill()
197s # We don't call process.wait() as .__exit__ does that for us.
197s                 raise
197s             retcode = process.poll()
197s             if check and retcode:
197s >               raise CalledProcessError(retcode, process.args,
197s                                          output=stdout, stderr=stderr)
197s E subprocess.CalledProcessError: Command '['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component1_0/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
197s
197s /usr/lib/python3.12/subprocess.py:571: CalledProcessError
197s
197s During handling of the above exception, another exception occurred:
197s
197s tmp_path = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component1_0')
197s
197s     @pytest.fixture()
197s     def virtualenv(tmp_path: Path) -> Generator[VEnv, None, None]:
197s         path = tmp_path / "venv"
197s         try:
197s >           yield VEnv(path)
197s
197s tests/conftest.py:191:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s tests/conftest.py:105: in __init__
197s     self.create(env_dir)
197s /usr/lib/python3.12/venv/__init__.py:76: in create
197s     self._setup_pip(context)
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s self = <conftest.VEnv object at 0x7fd463034cb0>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component1_0/venv', env_name='venv', prompt='(venv...nent1_0/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component1_0/venv/pyvenv.cfg')
197s
197s         def _setup_pip(self, context):
197s             """Installs or upgrades pip in a virtual environment"""
197s             try:
197s self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s             except subprocess.CalledProcessError as err:
197s                 stdlib = sysconfig.get_path('stdlib')
197s if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'):
197s                     print("""\
197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s     package using the following command.
197s
197s         apt install python{}-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s     package, recreate your virtual environment.
197s
197s     Failing command: {}
197s     """.format(sysconfig.get_python_version(), context.env_exec_cmd))
197s >                   sys.exit(1)
197s E                   SystemExit: 1
197s
197s /usr/lib/python3.12/venv/__init__.py:377: SystemExit
197s ---------------------------- Captured stdout setup ----------------------------- 197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s package using the following command.
197s
197s     apt install python3.12-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s package, recreate your virtual environment.
197s
197s Failing command: /tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component1_0/venv/bin/python3.12
197s
197s _______________ ERROR at setup of test_pep517_wheel[component2] ________________
197s
197s self = <conftest.VEnv object at 0x7fd4630374d0>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component2_0/venv', env_name='venv', prompt='(venv...nent2_0/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component2_0/venv/pyvenv.cfg')
197s
197s     def _setup_pip(self, context):
197s         """Installs or upgrades pip in a virtual environment"""
197s         try:
197s > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s
197s /usr/lib/python3.12/venv/__init__.py:360:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s /usr/lib/python3.12/venv/__init__.py:355: in _call_new_python
197s     subprocess.check_output(args, **kwargs)
197s /usr/lib/python3.12/subprocess.py:466: in check_output
197s     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s input = None, capture_output = False, timeout = None, check = True
197s popenargs = (['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component2_0/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip'],) 197s kwargs = {'cwd': '/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component2_0/venv', 'env': {'ADTTMP': '/tmp/autopkgtest.iZVG..., 'executable': '/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component2_0/venv/bin/python3.12', 'stderr': -2, ...} 197s process = <Popen: returncode: 1 args: ['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_whe...> 197s stdout = b'/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component2_0/venv/bin/python3.12: No module named ensurepip\n'
197s stderr = None, retcode = 1
197s
197s     def run(*popenargs,
197s input=None, capture_output=False, timeout=None, check=False, **kwargs): 197s """Run command with arguments and return a CompletedProcess instance.
197s
197s The returned instance will have attributes args, returncode, stdout and 197s stderr. By default, stdout and stderr are not captured, and those attributes 197s will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
197s         or pass capture_output=True to capture both.
197s
197s         If check is True and the exit code was non-zero, it raises a
197s CalledProcessError. The CalledProcessError object will have the return code 197s in the returncode attribute, and output & stderr attributes if those streams
197s         were captured.
197s
197s If timeout is given, and the process takes too long, a TimeoutExpired
197s         exception will be raised.
197s
197s         There is an optional argument "input", allowing you to
197s pass bytes or a string to the subprocess's stdin. If you use this argument 197s you may not also use the Popen constructor's "stdin" argument, as
197s         it will be used internally.
197s
197s By default, all communication is in bytes, and therefore any "input" should 197s be bytes, and the stdout and stderr will be bytes. If in text mode, any 197s "input" should be a string, and stdout and stderr will be strings decoded 197s according to locale encoding, or by "encoding" if set. Text mode is 197s triggered by setting any of text, encoding, errors or universal_newlines.
197s
197s         The other arguments are the same as for the Popen constructor.
197s         """
197s         if input is not None:
197s             if kwargs.get('stdin') is not None:
197s raise ValueError('stdin and input arguments may not both be used.')
197s             kwargs['stdin'] = PIPE
197s
197s         if capture_output:
197s if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: 197s raise ValueError('stdout and stderr arguments may not be used '
197s                                  'with capture_output.')
197s             kwargs['stdout'] = PIPE
197s             kwargs['stderr'] = PIPE
197s
197s         with Popen(*popenargs, **kwargs) as process:
197s             try:
197s stdout, stderr = process.communicate(input, timeout=timeout)
197s             except TimeoutExpired as exc:
197s                 process.kill()
197s                 if _mswindows:
197s # Windows accumulates the output in a single blocking 197s # read() call run on child threads, with the timeout 197s # being done in a join() on those threads. communicate() 197s # _after_ kill() is required to collect that and add it
197s                     # to the exception.
197s                     exc.stdout, exc.stderr = process.communicate()
197s                 else:
197s # POSIX _communicate already populated the output so
197s                     # far into the TimeoutExpired exception.
197s                     process.wait()
197s                 raise
197s except: # Including KeyboardInterrupt, communicate handled that.
197s                 process.kill()
197s # We don't call process.wait() as .__exit__ does that for us.
197s                 raise
197s             retcode = process.poll()
197s             if check and retcode:
197s >               raise CalledProcessError(retcode, process.args,
197s                                          output=stdout, stderr=stderr)
197s E subprocess.CalledProcessError: Command '['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component2_0/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
197s
197s /usr/lib/python3.12/subprocess.py:571: CalledProcessError
197s
197s During handling of the above exception, another exception occurred:
197s
197s tmp_path = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component2_0')
197s
197s     @pytest.fixture()
197s     def virtualenv(tmp_path: Path) -> Generator[VEnv, None, None]:
197s         path = tmp_path / "venv"
197s         try:
197s >           yield VEnv(path)
197s
197s tests/conftest.py:191:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s tests/conftest.py:105: in __init__
197s     self.create(env_dir)
197s /usr/lib/python3.12/venv/__init__.py:76: in create
197s     self._setup_pip(context)
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s self = <conftest.VEnv object at 0x7fd4630374d0>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component2_0/venv', env_name='venv', prompt='(venv...nent2_0/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component2_0/venv/pyvenv.cfg')
197s
197s         def _setup_pip(self, context):
197s             """Installs or upgrades pip in a virtual environment"""
197s             try:
197s self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s             except subprocess.CalledProcessError as err:
197s                 stdlib = sysconfig.get_path('stdlib')
197s if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'):
197s                     print("""\
197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s     package using the following command.
197s
197s         apt install python{}-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s     package, recreate your virtual environment.
197s
197s     Failing command: {}
197s     """.format(sysconfig.get_python_version(), context.env_exec_cmd))
197s >                   sys.exit(1)
197s E                   SystemExit: 1
197s
197s /usr/lib/python3.12/venv/__init__.py:377: SystemExit
197s ---------------------------- Captured stdout setup ----------------------------- 197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s package using the following command.
197s
197s     apt install python3.12-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s package, recreate your virtual environment.
197s
197s Failing command: /tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_component2_0/venv/bin/python3.12
197s
197s __________________ ERROR at setup of test_pep517_wheel_incexl __________________
197s
197s self = <conftest.VEnv object at 0x7fd4630b79b0>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_incexl0/venv', env_name='venv', prompt='(venv) ', ...heel_incexl0/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_incexl0/venv/pyvenv.cfg')
197s
197s     def _setup_pip(self, context):
197s         """Installs or upgrades pip in a virtual environment"""
197s         try:
197s > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s
197s /usr/lib/python3.12/venv/__init__.py:360:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s /usr/lib/python3.12/venv/__init__.py:355: in _call_new_python
197s     subprocess.check_output(args, **kwargs)
197s /usr/lib/python3.12/subprocess.py:466: in check_output
197s     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s input = None, capture_output = False, timeout = None, check = True
197s popenargs = (['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_incexl0/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip'],) 197s kwargs = {'cwd': '/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_incexl0/venv', 'env': {'ADTTMP': '/tmp/autopkgtest.iZVGqP/au... ...}, 'executable': '/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_incexl0/venv/bin/python3.12', 'stderr': -2, ...} 197s process = <Popen: returncode: 1 args: ['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_whe...> 197s stdout = b'/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_incexl0/venv/bin/python3.12: No module named ensurepip\n'
197s stderr = None, retcode = 1
197s
197s     def run(*popenargs,
197s input=None, capture_output=False, timeout=None, check=False, **kwargs): 197s """Run command with arguments and return a CompletedProcess instance.
197s
197s The returned instance will have attributes args, returncode, stdout and 197s stderr. By default, stdout and stderr are not captured, and those attributes 197s will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
197s         or pass capture_output=True to capture both.
197s
197s         If check is True and the exit code was non-zero, it raises a
197s CalledProcessError. The CalledProcessError object will have the return code 197s in the returncode attribute, and output & stderr attributes if those streams
197s         were captured.
197s
197s If timeout is given, and the process takes too long, a TimeoutExpired
197s         exception will be raised.
197s
197s         There is an optional argument "input", allowing you to
197s pass bytes or a string to the subprocess's stdin. If you use this argument 197s you may not also use the Popen constructor's "stdin" argument, as
197s         it will be used internally.
197s
197s By default, all communication is in bytes, and therefore any "input" should 197s be bytes, and the stdout and stderr will be bytes. If in text mode, any 197s "input" should be a string, and stdout and stderr will be strings decoded 197s according to locale encoding, or by "encoding" if set. Text mode is 197s triggered by setting any of text, encoding, errors or universal_newlines.
197s
197s         The other arguments are the same as for the Popen constructor.
197s         """
197s         if input is not None:
197s             if kwargs.get('stdin') is not None:
197s raise ValueError('stdin and input arguments may not both be used.')
197s             kwargs['stdin'] = PIPE
197s
197s         if capture_output:
197s if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: 197s raise ValueError('stdout and stderr arguments may not be used '
197s                                  'with capture_output.')
197s             kwargs['stdout'] = PIPE
197s             kwargs['stderr'] = PIPE
197s
197s         with Popen(*popenargs, **kwargs) as process:
197s             try:
197s stdout, stderr = process.communicate(input, timeout=timeout)
197s             except TimeoutExpired as exc:
197s                 process.kill()
197s                 if _mswindows:
197s # Windows accumulates the output in a single blocking 197s # read() call run on child threads, with the timeout 197s # being done in a join() on those threads. communicate() 197s # _after_ kill() is required to collect that and add it
197s                     # to the exception.
197s                     exc.stdout, exc.stderr = process.communicate()
197s                 else:
197s # POSIX _communicate already populated the output so
197s                     # far into the TimeoutExpired exception.
197s                     process.wait()
197s                 raise
197s except: # Including KeyboardInterrupt, communicate handled that.
197s                 process.kill()
197s # We don't call process.wait() as .__exit__ does that for us.
197s                 raise
197s             retcode = process.poll()
197s             if check and retcode:
197s >               raise CalledProcessError(retcode, process.args,
197s                                          output=stdout, stderr=stderr)
197s E subprocess.CalledProcessError: Command '['/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_incexl0/venv/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
197s
197s /usr/lib/python3.12/subprocess.py:571: CalledProcessError
197s
197s During handling of the above exception, another exception occurred:
197s
197s tmp_path = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_incexl0')
197s
197s     @pytest.fixture()
197s     def virtualenv(tmp_path: Path) -> Generator[VEnv, None, None]:
197s         path = tmp_path / "venv"
197s         try:
197s >           yield VEnv(path)
197s
197s tests/conftest.py:191:
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s tests/conftest.py:105: in __init__
197s     self.create(env_dir)
197s /usr/lib/python3.12/venv/__init__.py:76: in create
197s     self._setup_pip(context)
197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s self = <conftest.VEnv object at 0x7fd4630b79b0>
197s context = namespace(env_dir='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_incexl0/venv', env_name='venv', prompt='(venv) ', ...heel_incexl0/venv/bin/python3.12', cfg_path='/tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_incexl0/venv/pyvenv.cfg')
197s
197s         def _setup_pip(self, context):
197s             """Installs or upgrades pip in a virtual environment"""
197s             try:
197s self._call_new_python(context, '-m', 'ensurepip', '--upgrade', 197s '--default-pip', stderr=subprocess.STDOUT)
197s             except subprocess.CalledProcessError as err:
197s                 stdlib = sysconfig.get_path('stdlib')
197s if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'):
197s                     print("""\
197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s     package using the following command.
197s
197s         apt install python{}-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s     package, recreate your virtual environment.
197s
197s     Failing command: {}
197s     """.format(sysconfig.get_python_version(), context.env_exec_cmd))
197s >                   sys.exit(1)
197s E                   SystemExit: 1
197s
197s /usr/lib/python3.12/venv/__init__.py:377: SystemExit
197s ---------------------------- Captured stdout setup ----------------------------- 197s The virtual environment was not created successfully because ensurepip is not 197s available. On Debian/Ubuntu systems, you need to install the python3-venv
197s package using the following command.
197s
197s     apt install python3.12-venv
197s
197s You may need to use sudo with that command. After installing the python3-venv
197s package, recreate your virtual environment.
197s
197s Failing command: /tmp/pytest-of-ubuntu/pytest-0/test_pep517_wheel_incexl0/venv/bin/python3.12
197s
197s =================================== FAILURES =================================== 197s _________________________ test_get_python_include_dir __________________________
197s
197s     def test_get_python_include_dir():
197s >       assert get_python_include_dir().is_dir()
197s E       AssertionError: assert False
197s E + where False = <bound method Path.is_dir of PosixPath('/usr/include/python3.12')>() 197s E + where <bound method Path.is_dir of PosixPath('/usr/include/python3.12')> = PosixPath('/usr/include/python3.12').is_dir 197s E + where PosixPath('/usr/include/python3.12') = get_python_include_dir()
197s
197s tests/test_builder.py:49: AssertionError
197s ______________________________ test_pep660_wheel _______________________________
197s
197s     @pytest.mark.compile()
197s     @pytest.mark.configure()
197s     @pytest.mark.xfail(
197s         sys.platform.startswith("cygwin"),
197s         strict=False,
197s         reason="No idea why this fails on Cygwin",
197s     )
197s     @pytest.mark.usefixtures("package_simplest_c")
197s     def test_pep660_wheel():
197s         dist = Path("dist")
197s >       out = build_editable("dist")
197s
197s /tmp/autopkgtest.iZVGqP/autopkgtest_tmp/build/tests/test_pyproject_pep660.py:21: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
197s
197s wheel_directory = 'dist', config_settings = None, metadata_directory = None
197s
197s     def build_editable(
197s         wheel_directory: str,
197s         config_settings: dict[str, list[str] | str] | None = None,
197s         metadata_directory: str | None = None,
197s     ) -> str:
197s         from .._logging import rich_print
197s         from ..errors import FailedLiveProcessError
197s         from .wheel import _build_wheel_impl
197s
197s         try:
197s             return _build_wheel_impl(
197s                 wheel_directory,
197s                 config_settings,
197s                 metadata_directory,
197s                 editable=True,
197s             ).wheel_filename
197s         except FailedLiveProcessError as err:
197s             sys.stdout.flush()
197s rich_print(f"\n[red bold]*** {' '.join(err.args)}", file=sys.stderr)
197s >           raise SystemExit(1) from None
197s E           SystemExit: 1
197s
197s /usr/lib/python3/dist-packages/scikit_build_core/build/__init__.py:63: SystemExit 197s ----------------------------- Captured stdout call -----------------------------
197s *** scikit-build-core 0.5.1 using CMake 3.27.8 (editable)
197s *** Configuring CMake...
197s loading initial cache file /tmp/tmpn4j6kxge/build/CMakeInit.txt
197s -- The C compiler identification is GNU 13.2.0
197s -- Detecting C compiler ABI info
197s -- Detecting C compiler ABI info - done
197s -- Check for working C compiler: /usr/bin/cc - skipped
197s -- Detecting C compile features
197s -- Detecting C compile features - done
197s -- Could NOT find Python (missing: Interpreter Development.Module)
197s -- Configuring incomplete, errors occurred!
197s ----------------------------- Captured stderr call ----------------------------- 197s 2023-11-18 19:13:36,010 - scikit_build_core - WARNING - No license files found, set wheel.license-files to [] to suppress this warning 197s 2023-11-18 19:13:36,033 - scikit_build_core - WARNING - libdir/ldlibrary: /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file! 197s 2023-11-18 19:13:36,034 - scikit_build_core - WARNING - Can't find a Python library, got libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so, multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
197s CMake Error at CMakeLists.txt:10 (python_add_library):
197s   Unknown CMake command "python_add_library".
197s
197s
197s
197s *** CMake configuration failed
197s ------------------------------ Captured log call -------------------------------
197s DEBUG    scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake --version
197s INFO     scikit_build_core:program_search.py:86 CMake version: 3.27.8
197s INFO scikit_build_core:wheel.py:140 Build directory: /tmp/tmpn4j6kxge/build 197s WARNING scikit_build_core:wheel.py:173 No license files found, set wheel.license-files to [] to suppress this warning 197s DEBUG scikit_build_core:builder.py:113 SITE_PACKAGES: /usr/lib/python3/dist-packages 197s DEBUG scikit_build_core:generator.py:71 Default generator: Unix Makefiles 197s DEBUG scikit_build_core:generator.py:111 CMAKE_GENERATOR: Using make: /usr/bin/gmake 197s WARNING scikit_build_core:sysconfig.py:77 libdir/ldlibrary: /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file! 197s WARNING scikit_build_core:sysconfig.py:87 Can't find a Python library, got libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so, multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu 197s DEBUG scikit_build_core:cmake.py:158 /tmp/tmpn4j6kxge/build/CMakeInit.txt:
197s   set(SKBUILD [===[2]===] CACHE STRING "" FORCE)
197s   set(SKBUILD_CORE_VERSION [===[0.5.1]===] CACHE STRING "" FORCE)
197s   set(SKBUILD_PROJECT_NAME [===[simplest]===] CACHE STRING "" FORCE)
197s   set(SKBUILD_PROJECT_VERSION [===[0.0.1]===] CACHE STRING "" FORCE)
197s set(PYTHON_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE) 197s set(PYTHON_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH "" FORCE) 197s set(Python_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
197s   set(Python_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
197s set(Python_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH "" FORCE)
197s   set(Python_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
197s set(Python3_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
197s   set(Python3_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
197s set(Python3_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH "" FORCE)
197s   set(Python3_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
197s set(SKBUILD_SOABI [===[cpython-312-x86_64-linux-gnu]===] CACHE STRING "" FORCE)
197s   set(SKBUILD_SABI_COMPONENT [===[]===] CACHE STRING "" FORCE)
197s set(SKBUILD_PLATLIB_DIR [===[/tmp/tmpn4j6kxge/wheel/platlib]===] CACHE PATH "" FORCE) 197s set(SKBUILD_DATA_DIR [===[/tmp/tmpn4j6kxge/wheel/data]===] CACHE PATH "" FORCE) 197s set(SKBUILD_HEADERS_DIR [===[/tmp/tmpn4j6kxge/wheel/headers]===] CACHE PATH "" FORCE) 197s set(SKBUILD_SCRIPTS_DIR [===[/tmp/tmpn4j6kxge/wheel/scripts]===] CACHE PATH "" FORCE) 197s set(SKBUILD_NULL_DIR [===[/tmp/tmpn4j6kxge/wheel/null]===] CACHE PATH "" FORCE)
197s   set(SKBUILD_STATE [===[editable]===] CACHE STRING "" FORCE)
197s set(CMAKE_PREFIX_PATH [===[/usr/lib/python3/dist-packages]===] CACHE PATH "" FORCE)
197s   set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE "BOTH" CACHE PATH "")
197s DEBUG scikit_build_core:_shutil.py:66 RUNENV - changes since last run only: 197s PYTEST_CURRENT_TEST='tests/test_pyproject_pep660.py::test_pep660_wheel (call)'
197s   - SKBUILD_CMAKE_ARGS='<unset>'
197s   - SKBUILD_CMAKE_DEFINE='<unset>'
197s DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake -S. -B/tmp/tmpn4j6kxge/build -C/tmp/tmpn4j6kxge/build/CMakeInit.txt -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_MAKE_PROGRAM=/usr/bin/gmake 197s =========================== short test summary info ============================ 197s SKIPPED [1] tests/test_fortran.py:17: could not import 'numpy': No module named 'numpy'
197s SKIPPED [1] tests/test_builder.py:66: MSVC only
197s SKIPPED [1] tests/test_dynamic_metadata.py:118: install hatch-fancy-pypi-readme and setuptools-scm to test the dynamic metadata plugins
197s SKIPPED [1] tests/test_pyproject_pep517.py:242: Doesn't work yet
197s SKIPPED [13] tests/test_schema.py:33: could not import 'validate_pyproject.api': No module named 'validate_pyproject' 197s SKIPPED [6] tests/test_schema.py:54: could not import 'fastjsonschema': No module named 'fastjsonschema' 197s SKIPPED [2] tests/test_schema.py:82: could not import 'validate_pyproject.api': No module named 'validate_pyproject' 197s XPASS tests/test_builder.py::test_get_python_library Doesn't matter if this fails, usually not used
197s ERROR tests/test_dynamic_metadata.py::test_pep517_wheel - SystemExit: 1
197s ERROR tests/test_pyproject_abi3.py::test_abi3_wheel - SystemExit: 1
197s ERROR tests/test_pyproject_pep517.py::test_pep517_wheel - SystemExit: 1
197s ERROR tests/test_pyproject_pep517.py::test_pep517_wheel_source_dir - SystemEx... 197s ERROR tests/test_simplest_c.py::test_pep517_wheel[component0] - SystemExit: 1 197s ERROR tests/test_simplest_c.py::test_pep517_wheel[component1] - SystemExit: 1 197s ERROR tests/test_simplest_c.py::test_pep517_wheel[component2] - SystemExit: 1 197s ERROR tests/test_simplest_c.py::test_pep517_wheel_incexl - SystemExit: 1 197s FAILED tests/test_builder.py::test_get_python_include_dir - AssertionError: a... 197s FAILED tests/test_pyproject_pep660.py::test_pep660_wheel - SystemExit: 1 197s = 2 failed, 108 passed, 25 skipped, 37 deselected, 1 xpassed, 8 errors in 8.74s =
--- End Message ---
--- Begin Message ---
Source: scikit-build-core
Source-Version: 0.7.0-1
Done: Emmanuel Arias <eam...@debian.org>

We believe that the bug you reported is fixed in the latest version of
scikit-build-core, 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 1056...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Arias <eam...@debian.org> (supplier of updated scikit-build-core 
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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 13 Dec 2023 10:25:48 -0300
Source: scikit-build-core
Architecture: source
Version: 0.7.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Emmanuel Arias <eam...@debian.org>
Closes: 1056528 1058395 1058722
Changes:
 scikit-build-core (0.7.0-1) unstable; urgency=medium
 .
   * New upstream version.
   * d/control: Remove Andrius Merkys from Uploaders (Closes: #1058722).
   * d/control: Remove libpython3-dev as B-Depends (Closes: #1058395, #1056528).
     - Use python3-all-dev instead of python3-dev.
   * wrap-and-sort.
   * d/salsa-ci.yml: Enable salsa ci.
   * d/gbp.conf: Set debian/untable as default Debian branch.
Checksums-Sha1:
 cc99a7deefbde4dbd2aa89c0caea95b324a0fb37 2419 scikit-build-core_0.7.0-1.dsc
 3b589fa2b5751b52d4e08ff96faea5b1532259f7 209267 
scikit-build-core_0.7.0.orig.tar.gz
 ee593fbeeaabf96a25c4fb9a173a6dca7e3faece 2832 
scikit-build-core_0.7.0-1.debian.tar.xz
 5013d84a10244c87deaf3d8d030aee43ab418a0f 8956 
scikit-build-core_0.7.0-1_amd64.buildinfo
Checksums-Sha256:
 ca64d24411ce483c9b7dc92e63d1be77e1e5fb2c53486c24b60248d78099bfef 2419 
scikit-build-core_0.7.0-1.dsc
 b98e29fca614488bbc244571772ebff37eac5ee8c5d4d26fa383acd601e955d2 209267 
scikit-build-core_0.7.0.orig.tar.gz
 7dec4ca63dc39646b42f56610f40ed7028eb7be081cd0354929a5d1e39ebc91c 2832 
scikit-build-core_0.7.0-1.debian.tar.xz
 9e1b399ba6c863b82adbd66fa1cb8e15769484b77ddf535351c6e7bd72c84602 8956 
scikit-build-core_0.7.0-1_amd64.buildinfo
Files:
 24077d1a6c8aea2a6d3b77b73cdc0d58 2419 python optional 
scikit-build-core_0.7.0-1.dsc
 dfb4b4f8510bbb1799aafcc03ce1f5b1 209267 python optional 
scikit-build-core_0.7.0.orig.tar.gz
 71dbcc4456a5cdc16a1186b859e8605b 2832 python optional 
scikit-build-core_0.7.0-1.debian.tar.xz
 39bdf8a645dfd00888913dca22d93e3e 8956 python optional 
scikit-build-core_0.7.0-1_amd64.buildinfo

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

iQJGBAEBCgAwFiEEE3lnVbvHK7ir4q61+p3sXeEcY/EFAmV93EUSHGVhbWFudUBk
ZWJpYW4ub3JnAAoJEPqd7F3hHGPxlDIQAJn5285Up52fkmc4DfFEYpdXJgbXrMp9
7ch6nWgchDX+hAZWdkdMJftniuDunvbQh68WX7o+++NZx7CzXTLF9VWpBZNVbCBS
o8mEw6aok/k8yQYeaHC5H/EqjvCxOLRMqpSyXqZZf6Mn/EVXjcQH5V95ed4INTxr
M8kuysxsvdntDd7sGN0uONIrGHmkQmHzJHiHiJbzswzk85kR0X1fGKUlFDYsHlIM
tR39JqfFwdTN0mDe3p8HqUlG0XXc1vZGln9Fmu7ImMYGC1avsbiFzSqvv65Vr1Rg
may9gYiBn/ssOl0o5gz2x1W7hOa16zu3p0M9AyBhpLORffxvaN89jRdUC6ybXU7/
AuK6OubPFSh4WTF1nGXIRrh8upBJUW+1LwsB1wNUgGCvICS6OCwr2VzqsGz7SGRk
DORlMNEbvetTT11NWcNawQh41q1OnIUVoHe4JZfrEm/mQayEo630NgsfSaTVx06I
J7LJutvRPULxbqg8RmtLMYUhMtewBBLqYdhq3bHt3FCTJneDKHULCuSEEPmdqcTy
3xgFTwPLeTaQHB6nFjg1kAfDQc4kb+mCdcOHwnG73/WSvhkMZP9fZP8cky6RrjM9
I2gvChUcKyb5nQuf8ZXN8uN1SrgPGOxIfGQBnE2ZpQP/0YFmiLwsqv/hN/n3W5Jt
M6Q+K9hKSepG
=3w0Y
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to