Your message dated Sat, 24 Dec 2022 09:35:21 +0000
with message-id <e1p90w5-00c4cu...@fasolo.debian.org>
and subject line Bug#1024916: fixed in ipyparallel 7.1.0-4
has caused the Debian Bug report #1024916,
regarding ipykernel: (autopkgtest) needs update for python3.11: No such file or 
directory: '/usr/lib/python3/dist-packages/parso/python/grammar311.txt'
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.)


-- 
1024916: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024916
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ipykernel
Version: 6.17.0-1
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
User: debian-pyt...@lists.debian.org
Usertags: python3.11
Control: affects -1 src:python3-defaults

Dear maintainer(s),

We are in the transition of adding python3.11 as a supported Python version [0]. With a recent upload of python3-defaults the autopkgtest of ipykernel fails in testing when that autopkgtest is run with the binary packages of python3-defaults from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
python3-defaults       from testing    3.10.6-3
ipykernel              from testing    6.17.0-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of python3-defaults to testing [1]. https://docs.python.org/3/whatsnew/3.11.html lists what's new in Python3.11, it may help to identify what needs to be updated.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] https://bugs.debian.org/1021984
[1] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/i/ipykernel/28726234/log.gz

=================================== FAILURES =================================== _________________ InProcessKernelManagerTestCase.test_complete _________________

self = <ipykernel.inprocess.tests.test_kernelmanager.InProcessKernelManagerTestCase testMethod=test_complete>

    def test_complete(self):
        """Does requesting completion from an in-process kernel work?"""
        km = self.km
        km.start_kernel()
        kc = km.client()
        kc.start_channels()
        kc.wait_for_ready()
        km.kernel.shell.push({"my_bar": 0, "my_baz": 1})
      kc.complete("my_ba", 5)

ipykernel/inprocess/tests/test_kernelmanager.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ipykernel/inprocess/client.py:127: in complete
    self._dispatch_to_kernel(msg)
ipykernel/inprocess/client.py:192: in _dispatch_to_kernel
    idents, reply_msg = self.session.recv(stream, copy=False)
/usr/lib/python3/dist-packages/jupyter_client/session.py:924: in recv
    msg_list = socket.recv_multipart(mode, copy=copy)
ipykernel/inprocess/socket.py:31: in recv_multipart
    return self.queue.get_nowait()
/usr/lib/python3.11/queue.py:199: in get_nowait
    return self.get(block=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <queue.Queue object at 0x7f7d2c35e890>, block = False, timeout = None

    def get(self, block=True, timeout=None):
        '''Remove and return an item from the queue.
    
 If optional args 'block' is true and 'timeout' is None (the default),
        block if necessary until an item is available. If 'timeout' is
 a non-negative number, it blocks at most 'timeout' seconds and raises
        the Empty exception if no item was available within that time.
 Otherwise ('block' is false), return an item if one is immediately
        available, else raise the Empty exception ('timeout' is ignored
        in that case).
        '''
        with self.not_empty:
            if not block:
                if not self._qsize():
                  raise Empty
E                   _queue.Empty

/usr/lib/python3.11/queue.py:168: Empty
----------------------------- Captured stdout call -----------------------------
status
------------------------------ Captured log call ------------------------------- ERROR  ipykernel.inprocess.ipkernel:kernelbase.py:408 Exception in message handler:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/jedi/cache.py", line 110, in wrapper
    return dct[key]
           ~~~^^^^^
KeyError: ((), frozenset())

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/parso/grammar.py", line 252, in load_grammar
    return _loaded_grammars[path]
           ~~~~~~~~~~~~~~~~^^^^^^
KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar311.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/parso/grammar.py", line 255, in load_grammar
    with open(path) as f:
         ^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar311.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.atvey6gy/downtmp/build.hFM/src/ipykernel/kernelbase.py", line 406, in dispatch_shell
    await result
File "/tmp/autopkgtest-lxc.atvey6gy/downtmp/build.hFM/src/ipykernel/kernelbase.py", line 777, in complete_request
    matches = self.do_complete(code, cursor_pos)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/autopkgtest-lxc.atvey6gy/downtmp/build.hFM/src/ipykernel/ipkernel.py", line 445, in do_complete
    return self._experimental_do_complete(code, cursor_pos)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/autopkgtest-lxc.atvey6gy/downtmp/build.hFM/src/ipykernel/ipkernel.py", line 476, in _experimental_do_complete
    completions = list(_rectify_completions(code, raw_completions))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/IPython/core/completer.py", line 501, in rectify_completions
    completions = list(completions)
                  ^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/IPython/core/completer.py", line 1913, in completions for c in self._completions(text, offset, _timeout=self.jedi_compute_type_timeout/1000): File "/usr/lib/python3/dist-packages/IPython/core/completer.py", line 1962, in _completions
    matched_text, matches, matches_origin, jedi_matches = self._complete(
                                                          ^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/IPython/core/completer.py", line 2151, in _complete
    completions = self._jedi_matches(
                  ^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/IPython/core/completer.py", line 1445, in _jedi_matches
    interpreter = jedi.Interpreter(text[:offset], namespaces)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jedi/api/__init__.py", line 725, in __init__
    super().__init__(code, environment=environment,
File "/usr/lib/python3/dist-packages/jedi/api/__init__.py", line 118, in __init__
    self._inference_state = InferenceState(
                            ^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jedi/inference/__init__.py", line 91, in __init__
    self.grammar = environment.get_grammar()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/jedi/cache.py", line 112, in wrapper
    result = method(self, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jedi/api/environment.py", line 37, in get_grammar
    return parso.load_grammar(version=version_string)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/parso/grammar.py", line 264, in load_grammar
    raise NotImplementedError(message)
NotImplementedError: Python version 3.11 is currently not supported.
_______________________________ test_no_closure ________________________________

    def test_no_closure():
        @interactive
        def foo():
            a = 5
            return a
            pfoo = dumps(foo)
      bar = loads(pfoo)

ipykernel/tests/test_pickleutil.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ipykernel/tests/test_pickleutil.py:19: in loads
    return uncan(pickle.loads(obj))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (0, 0, 0, 1, 1, 19, ...)

    def code_ctor(*args):
      return types.CodeType(*args)
E       TypeError: code() argument 13 must be str, not int

/usr/lib/python3/dist-packages/ipyparallel/serialize/codeutil.py:23: TypeError ____________________________ test_generator_closure ____________________________

    def test_generator_closure():
        # this only creates a closure on Python 3
        @interactive
        def foo():
            i = "i"
            r = [i for j in (1, 2)]
            return r
            pfoo = dumps(foo)
      bar = loads(pfoo)

ipykernel/tests/test_pickleutil.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ipykernel/tests/test_pickleutil.py:19: in loads
    return uncan(pickle.loads(obj))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (1, 0, 0, 2, 3, 19, ...)

    def code_ctor(*args):
      return types.CodeType(*args)
E       TypeError: code() argument 13 must be str, not int

/usr/lib/python3/dist-packages/ipyparallel/serialize/codeutil.py:23: TypeError _____________________________ test_nested_closure ______________________________

    def test_nested_closure():
        @interactive
        def foo():
            i = "i"
                def g():
                return i
                return g()
            pfoo = dumps(foo)
      bar = loads(pfoo)

ipykernel/tests/test_pickleutil.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ipykernel/tests/test_pickleutil.py:19: in loads
    return uncan(pickle.loads(obj))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (0, 0, 0, 0, 1, 19, ...)

    def code_ctor(*args):
      return types.CodeType(*args)
E       TypeError: code() argument 13 must be str, not int

/usr/lib/python3/dist-packages/ipyparallel/serialize/codeutil.py:23: TypeError _________________________________ test_closure _________________________________

    def test_closure():
        i = "i"
            @interactive
        def foo():
            return i
            pfoo = dumps(foo)
      bar = loads(pfoo)

ipykernel/tests/test_pickleutil.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ipykernel/tests/test_pickleutil.py:19: in loads
    return uncan(pickle.loads(obj))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (0, 0, 0, 0, 1, 19, ...)

    def code_ctor(*args):
      return types.CodeType(*args)
E       TypeError: code() argument 13 must be str, not int

/usr/lib/python3/dist-packages/ipyparallel/serialize/codeutil.py:23: TypeError
===Flaky Test Report===

test_embed_kernel_basic passed 1 out of the required 1 times. Success!
test_embed_kernel_namespace passed 1 out of the required 1 times. Success!
test_embed_kernel_reentrant passed 1 out of the required 1 times. Success!
test_subprocess_print passed 1 out of the required 1 times. Success!
test_subprocess_noprint passed 1 out of the required 1 times. Success!
test_subprocess_error passed 1 out of the required 1 times. Success!
test_ipython_start_kernel_userns passed 1 out of the required 1 times. Success! test_ipython_start_kernel_no_userns passed 1 out of the required 1 times. Success!

===End Flaky Test Report===

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: ipyparallel
Source-Version: 7.1.0-4
Done: Jochen Sprickerhof <jspri...@debian.org>

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

Debian distribution maintenance software
pp.
Jochen Sprickerhof <jspri...@debian.org> (supplier of updated ipyparallel 
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: Sat, 24 Dec 2022 10:00:11 +0100
Source: ipyparallel
Architecture: source
Version: 7.1.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Jochen Sprickerhof <jspri...@debian.org>
Closes: 1024916
Changes:
 ipyparallel (7.1.0-4) unstable; urgency=medium
 .
   * Team upload.
   * Add upstream patch for Python 3.11 (Closes: #1024916)
Checksums-Sha1:
 5d7bcc807840c7e523247a9d10c70186ee72d4c6 2955 ipyparallel_7.1.0-4.dsc
 a3806ecc08223d63f8a58bb7fa03a0ac0d706450 10828 
ipyparallel_7.1.0-4.debian.tar.xz
 5b2381ef16d970d214b6954560e28f618ac62b81 11100 
ipyparallel_7.1.0-4_source.buildinfo
Checksums-Sha256:
 98ce27e067301aea32e5cc65182b391bf99dee481415788fb27ff6a728841a2a 2955 
ipyparallel_7.1.0-4.dsc
 dcc3be1695c0d5a586ccc001ae0d6b789bc03d8d29897998e0e4ac7402277586 10828 
ipyparallel_7.1.0-4.debian.tar.xz
 54f0fa8a49797a8630d56c224a67f6ca7de01857b7029f01bd239330b4e99a34 11100 
ipyparallel_7.1.0-4_source.buildinfo
Files:
 5e3c64c9acd595cff1119a4534993327 2955 python optional ipyparallel_7.1.0-4.dsc
 5324768afcd1e758a0d6822d71414937 10828 python optional 
ipyparallel_7.1.0-4.debian.tar.xz
 2f97a9b25ea9b4d1a7382893ccaff73a 11100 python optional 
ipyparallel_7.1.0-4_source.buildinfo

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

iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmOmwIkACgkQW//cwljm
lDNjRxAAg/0U0srdnTLSMuCT1u2rmFrNcaMjl7Av94TaGAOo5tq+Ft3NZ5tAwMAa
cn90YOlA4llb44teJiZ7MBELE218GBR68Zyl+tSEkSTf9gS/bojzklB0UnMhcBR5
7qBUOa6RRtltwpDXlh+iOubC7LlpOI6WiPHkKqBH67t8J+s8tljgkMZsDV8iLQRS
H6xQ7X87ExQwTex3fnF9hUk68PsnH7X9J8UO8eJOLxNqfhJ5qHx01EZBF9k4bzxh
PQHENMd8An7/v/jovJ+58lbSPZSCFN/qRA0UrWCmPGk88O6V7P2Ar1GuMsgzwXar
hgaWLEFsCxJFoIoKGR2jWbQPRGG2lUBgRsnVQpCZGzrkFWfeIDQ6fk1DxfnetZIY
YHB6UYGZWdEc/XXXC5pZktVTbtO4qepa6Ju1YNoEyLMhArHo2iTfmSQVRcf6zQUb
69XF2oUnADX8FacgmAjYR5fCI18LGibPvO9c8C3GaKcUuHjYLuD5cXtVDRKRvfwp
j161l8Palab6ntBbcTgun09qhW2a+a4fU3qC434P2p176DSWWT5dK2xFFqVUvmqi
+ykpo//qpYiMqapQsUwS4n/1+y8O50tKOm9vYiiJYI6k29UmErWvfQcFlFTB5Ori
OigBLlLRZLPWeEIm4V6/6zraXlEwo/rEDAZ2oo4a8OKnQWXC+sI=
=qimS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to