Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-2615

ipython depedency does not support py3.11

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • crc-2023-08-22
    • Unspecified
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      from pulpcore-manager ...

      Traceback (most recent call last):
        File "/venv/lib64/python3.11/site-packages/jedi/cache.py", line 109, in wrapper
          return dct[key]
                 ~~~^^^^^
      KeyError: ((), frozenset())
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/venv/lib64/python3.11/site-packages/parso/grammar.py", line 246, in load_grammar
          return _loaded_grammars[path]
                 ~~~~~~~~~~~~~~~~^^^^^^
      KeyError: '/venv/lib64/python3.11/site-packages/parso/python/grammar311.txt'
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/venv/lib64/python3.11/site-packages/parso/grammar.py", line 249, in load_grammar
          with open(path) as f:
               ^^^^^^^^^^
      FileNotFoundError: [Errno 2] No such file or directory: '/venv/lib64/python3.11/site-packages/parso/python/grammar311.txt'
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/venv/lib64/python3.11/site-packages/IPython/core/completer.py", line 3171, in _complete
          result = matcher(context)
                   ^^^^^^^^^^^^^^^^
        File "/venv/lib64/python3.11/site-packages/IPython/core/completer.py", line 2224, in _jedi_matcher
          matches = self._jedi_matches(
                    ^^^^^^^^^^^^^^^^^^^
        File "/venv/lib64/python3.11/site-packages/IPython/core/completer.py", line 2278, in _jedi_matches
          interpreter = jedi.Interpreter(text[:offset], namespaces)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/venv/lib64/python3.11/site-packages/jedi/api/__init__.py", line 858, in __init__
          super(Interpreter, self).__init__(code, environment=environment,
        File "/venv/lib64/python3.11/site-packages/jedi/api/__init__.py", line 184, in __init__
          self._inference_state = InferenceState(
                                  ^^^^^^^^^^^^^^^
        File "/venv/lib64/python3.11/site-packages/jedi/inference/__init__.py", line 91, in __init__
          self.grammar = environment.get_grammar()
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/venv/lib64/python3.11/site-packages/jedi/cache.py", line 111, in wrapper
          result = method(self, *args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/venv/lib64/python3.11/site-packages/jedi/api/environment.py", line 37, in get_grammar
          return parso.load_grammar(version=version_string)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/venv/lib64/python3.11/site-packages/parso/grammar.py", line 260, in load_grammar
          return load_grammar(**kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^
        File "/venv/lib64/python3.11/site-packages/parso/grammar.py", line 256, in load_grammar
          raise NotImplementedError(message)
      NotImplementedError: Python version 3.11 is currently not supported.
      
      If you suspect this is an IPython 8.14.0 bug, please report it at:
          https://github.com/ipython/ipython/issues
      or send an email to the mailing list at ipython-dev@python.org
      
      You can print a more detailed traceback right now with "%tb", or use "%debug"
      to interactively debug it.
      
      Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
          %config Application.verbose_crash=True
      
      

              rh-ee-etracey Eamon Tracey (Inactive)
              jtanner@redhat.com James Tanner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: