Your message dated Tue, 05 Dec 2023 23:35:32 +0000
with message-id <e1raewu-002cr3...@fasolo.debian.org>
and subject line Bug#1055576: fixed in meson-python 0.15.0-1
has caused the Debian Bug report #1055576,
regarding meson-python needs an update for 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.)


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

meson-python fails tests with Python 3.12. Log attached.
Updating to 0.15.0 doesn't help with this issue.


[...]
+ meson setup /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mesonpy/build/tests/packages/simple /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mesonpy/build/tests/packages/simple/build/cp312 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mesonpy/build/tests/packages/simple/build/cp312/meson-python-native-file.ini
The Meson build system
Version: 1.2.1
Source dir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mesonpy/build/tests/packages/simple Build dir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mesonpy/build/tests/packages/simple/build/cp312
Build type: native build
Project name: simple
Project version: 1.0.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python found: YES (/usr/bin/python3.12)
Build targets in project: 0

simple 1.0.0

  User defined options
Native files: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mesonpy/build/tests/packages/simple/build/cp312/meson-python-native-file.ini
    buildtype   : release
    b_ndebug    : if-release
    b_vscrt     : md

Found ninja-1.11.1 at /usr/bin/ninja
+ /usr/bin/ninja
ninja: no work to do.
The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt install python3.12-venv

You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.

Failing command: /tmp/pytest-of-buildd/pytest-0/mesonpy-test-venv0/bin/python3.12

___________________ ERROR at setup of test_editble_reentrant ___________________

self = <tests.conftest.VEnv object at 0x7f0d4b125820>
context = namespace(env_dir='/tmp/pytest-of-buildd/pytest-0/mesonpy-test-venv1', env_name='mesonpy-test-venv1', prompt='(mesonpy...d/pytest-0/mesonpy-test-venv1/bin/python3.12', cfg_path='/tmp/pytest-of-buildd/pytest-0/mesonpy-test-venv1/pyvenv.cfg')

    def _setup_pip(self, context):
        """Installs or upgrades pip in a virtual environment"""
        try:
>           self._call_new_python(context, '-m', 'ensurepip', '--upgrade',
'--default-pip', stderr=subprocess.STDOUT)

/usr/lib/python3.12/venv/__init__.py:360:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.12/venv/__init__.py:355: in _call_new_python
    subprocess.check_output(args, **kwargs)
/usr/lib/python3.12/subprocess.py:466: in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

input = None, capture_output = False, timeout = None, check = True
popenargs = (['/tmp/pytest-of-buildd/pytest-0/mesonpy-test-venv1/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-buildd/pytest-0/mesonpy-test-venv1', 'env': {'APT_CONFIG': '/var/lib/sbuild/apt.conf', 'ASFLAG...ild/ccache', ...}, 'executable': '/tmp/pytest-of-buildd/pytest-0/mesonpy-test-venv1/bin/python3.12', 'stderr': -2, ...} process = <Popen: returncode: 1 args: ['/tmp/pytest-of-buildd/pytest-0/mesonpy-test-ve...> stdout = b'/tmp/pytest-of-buildd/pytest-0/mesonpy-test-venv1/bin/python3.12: No module named ensurepip\n'
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:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E subprocess.CalledProcessError: Command '['/tmp/pytest-of-buildd/pytest-0/mesonpy-test-venv1/bin/python3.12', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

/usr/lib/python3.12/subprocess.py:571: CalledProcessError

During handling of the above exception, another exception occurred:

tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f0d4b629d60>, _basetemp=PosixPath('/tmp/pytest-of-buildd/pytest-0'), _retention_count=3, _retention_policy='all')

    @pytest.fixture()
    def venv(tmp_path_factory):
        path = pathlib.Path(tmp_path_factory.mktemp('mesonpy-test-venv'))
>       return VEnv(path)

tests/conftest.py:104:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/conftest.py:85: in __init__
    self.create(env_dir)
/usr/lib/python3.12/venv/__init__.py:76: in create
    self._setup_pip(context)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.conftest.VEnv object at 0x7f0d4b125820>
context = namespace(env_dir='/tmp/pytest-of-buildd/pytest-0/mesonpy-test-venv1', env_name='mesonpy-test-venv1', prompt='(mesonpy...d/pytest-0/mesonpy-test-venv1/bin/python3.12', cfg_path='/tmp/pytest-of-buildd/pytest-0/mesonpy-test-venv1/pyvenv.cfg')

        def _setup_pip(self, context):
            """Installs or upgrades pip in a virtual environment"""
            try:
self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT)
            except subprocess.CalledProcessError as err:
                stdlib = sysconfig.get_path('stdlib')
                if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'):
                    print("""\
The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv
    package using the following command.

        apt install python{}-venv

You may need to use sudo with that command. After installing the python3-venv
    package, recreate your virtual environment.

    Failing command: {}
    """.format(sysconfig.get_python_version(), context.env_exec_cmd))
>                   sys.exit(1)
E                   SystemExit: 1

/usr/lib/python3.12/venv/__init__.py:377: SystemExit
---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mesonpy/build/tests/packages/imports-itself-during-build/.git/ + meson setup /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mesonpy/build/tests/packages/imports-itself-during-build /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mesonpy/build/tests/packages/imports-itself-during-build/build/cp312 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mesonpy/build/tests/packages/imports-itself-during-build/build/cp312/meson-python-native-file.ini
The Meson build system
Version: 1.2.1
Source dir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mesonpy/build/tests/packages/imports-itself-during-build Build dir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mesonpy/build/tests/packages/imports-itself-during-build/build/cp312
Build type: native build
Project name: imports-itself-during-build
Project version: 1.0.0
C compiler for the host machine: cc (gcc 13.2.0 "cc (Ubuntu 13.2.0-6ubuntu1) 13.2.0")
C linker for the host machine: cc ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python found: YES (/usr/bin/python3.12)
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Run-time dependency python found: YES 3.12
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
Build targets in project: 1

imports-itself-during-build 1.0.0

  User defined options
Native files: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mesonpy/build/tests/packages/imports-itself-during-build/build/cp312/meson-python-native-file.ini
    buildtype   : release
    b_ndebug    : if-release
    b_vscrt     : md

Found ninja-1.11.1 at /usr/bin/ninja
+ /usr/bin/ninja
[1/2] Compiling C object plat.cpython-312-x86_64-linux-gnu.so.p/plat.c.o
[2/2] Linking target plat.cpython-312-x86_64-linux-gnu.so
The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt install python3.12-venv

You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.

Failing command: /tmp/pytest-of-buildd/pytest-0/mesonpy-test-venv1/bin/python3.12

=========================== short test summary info ============================ SKIPPED [1] tests/test_consistency.py:17: Fails when source is copied into a build directory by pybuild
SKIPPED [1] tests/test_project.py:225: Requires MSVC
SKIPPED [1] tests/test_tags.py:36: macOS specific test
SKIPPED [1] tests/test_tags.py:47: macOS specific test
SKIPPED [1] tests/test_wheel.py:145: FIXME: Needs more investigation to pass in Debian
SKIPPED [2] tests/test_wheel.py:245: macOS specific test
XFAIL tests/test_examples.py::test_spam - FIXME: Needs more investigation to pass in Debian XFAIL tests/test_pep518.py::test_pep518[sdist_to_wheel-purelib-and-platlib] - FIXME: Needs more investigation to pass in Debian XFAIL tests/test_pep518.py::test_pep518[wheel_directly-purelib-and-platlib] - FIXME: Needs more investigation to pass in Debian
ERROR tests/test_editable.py::test_editable_install - SystemExit: 1
ERROR tests/test_editable.py::test_editble_reentrant - SystemExit: 1
============= 78 passed, 7 skipped, 3 xfailed, 2 errors in 42.27s ============== E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mesonpy/build; python3.12 -m pytest tests
--- End Message ---
--- Begin Message ---
Source: meson-python
Source-Version: 0.15.0-1
Done: Simon McVittie <s...@debian.org>

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

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

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1055...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie <s...@debian.org> (supplier of updated meson-python package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 05 Dec 2023 17:02:26 +0000
Source: meson-python
Architecture: source
Version: 0.15.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Simon McVittie <s...@debian.org>
Closes: 1055576
Changes:
 meson-python (0.15.0-1) unstable; urgency=medium
 .
   * New upstream release
     - Confirmed to build successfully with python3.12 (Closes: #1055576)
   * Update build-dependencies
     - Depend on meson (>= 1.2.3) for Python 3.12 compatibility
     - Depend on python3-all-venv.
       Thanks to Graham Inggs / Ubuntu.
     - Drop setuptools, no longer needed
     - Reduce Sphinx build-dependencies.
       Several of these are no longer needed.
   * Update patch series
     - d/p/docs-Remove-external-image-references.patch:
       No longer needed since 491749c2 upstream
     - d/p/docs-Disable-sphinx_contributors-plugin.patch:
       No longer needed since 6540f7c7 upstream
     - d/p/tests-Skip-test_consistency-during-Debian-build.patch:
       No longer needed
     - d/p/ignore-failing-tests-for-the-moment.patch:
       One of the failing tests was dropped in a0f0827d upstream,
       another is no longer failing.
   * d/rules: Stop working around zeroed mtime in the source tarball.
     Newer upstream releases no longer have that.
Checksums-Sha1:
 5cc3aad3ab933e67a96c9b2ea6b65e7202e953e0 2602 meson-python_0.15.0-1.dsc
 71bf382c2f2e76aada2f511a84bd59a99a6b1238 79920 meson-python_0.15.0.orig.tar.gz
 af8ba2cec5a32d4b4c8db4e17e5c97d6ffc649a7 13352 
meson-python_0.15.0-1.debian.tar.xz
 997c346c38d96d184fe851f338c638523be1d74f 9108 
meson-python_0.15.0-1_source.buildinfo
Checksums-Sha256:
 92273901663e180d778cd0f15524b38485fd2ef569e283fec3c1e43365bc700d 2602 
meson-python_0.15.0-1.dsc
 fddb73eecd49e89c1c41c87937cd89c2d0b65a1c63ba28238681d4bd9484d26f 79920 
meson-python_0.15.0.orig.tar.gz
 da58f004f76592945521aa5354067aa1a1c1262c97d85a408d27828922c51b3d 13352 
meson-python_0.15.0-1.debian.tar.xz
 270e92c35f5edc88f5967809079dc3ea79749d9235c42d5ee6fceed2950b35db 9108 
meson-python_0.15.0-1_source.buildinfo
Files:
 ca5adc4367444a442c2570039bd76046 2602 python optional meson-python_0.15.0-1.dsc
 e91eb9946d7bb8be06e434c5a2dadd05 79920 python optional 
meson-python_0.15.0.orig.tar.gz
 c355f503283048f326b63895102d58a2 13352 python optional 
meson-python_0.15.0-1.debian.tar.xz
 58086bb97739fdbfa7ac10d804786ca7 9108 python optional 
meson-python_0.15.0-1_source.buildinfo

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

iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmVvsqoACgkQ4FrhR4+B
TE+R3hAAtfJ91RGcwu3sidAn0x9FmmGe+TQWRBn+qI5fVrUgrxrlo8xtVbzeemKZ
UdYnIoSw58PxfM8uOcLqm1+9a9DFb462BRqY/bi6iTHmtkwpUfJo4lh5HxdDt04u
gNS/QLlurDrNSwQEve+RjTcZH7te5XiO33OZayLxpCnaXkwIA0QXCOzgpRP0OFaL
7rM9/HklqOa6pTn2JTVcWd9X0vzhejU+U9OhM4Jc/OnHmyOdoSqn4LSg6E+IHCJd
h1oJUFk3dUqat9iKh0UrijIp1zDobomVUXimpsjpcu/yQu/2hgKiftFyRknqimMU
RVsaxOow/p++XJBYc0mTA5MpFN7Zt6Ru3xNeriPiGO2L0m5kf+RXhqANvvvl2hcQ
DnwsuENn3eHXK8ybDDpQQXlj6K5m+SYHOMZWHyLez9TL4CsCULjgkzF9+7gvYAPN
IZ2AOwUrbbxLgYuZXGXPhNrDfNnDD97dhXM2OayTzWoq1GNLfuQfbvY8P8O0eql1
LvHaUynYrxNMH34HS3wZX/dVz2MtrVwXKGnWFp26x04Xdz54gsHFmX7v8J/GIWAm
HH4stNaZTEoEQkZSn7lQ44XSS7ED4qn/DE7yOVGvw3k7hSiH77oRbAhYImVVzPGi
CsKzL5j9V3IUvOeYDKD1QZjXqqrttHqJON7fpnvnTp0hvxNFUD4=
=3Leo
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to