Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3.11 support #4

Open
wmichelin opened this issue Jun 29, 2023 · 3 comments
Open

python3.11 support #4

wmichelin opened this issue Jun 29, 2023 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@wmichelin
Copy link

wmichelin commented Jun 29, 2023

> python --version
Python 3.11.3
> gorilla help
Traceback (most recent call last):
  File "/opt/homebrew/bin/gorilla", line 5, in <module>
    from go_cli import main
  File "/opt/homebrew/lib/python3.11/site-packages/go_cli.py", line 24, in <module>
    import go_questionary
  File "/opt/homebrew/lib/python3.11/site-packages/go_questionary/__init__.py", line 2, in <module>
    from prompt_toolkit.validation import Validator, ValidationError
  File "/opt/homebrew/lib/python3.11/site-packages/prompt_toolkit/__init__.py", line 16, in <module>
    from .interface import CommandLineInterface
  File "/opt/homebrew/lib/python3.11/site-packages/prompt_toolkit/interface.py", line 19, in <module>
    from .application import Application, AbortAction
  File "/opt/homebrew/lib/python3.11/site-packages/prompt_toolkit/application.py", line 8, in <module>
    from .key_binding.bindings.basic import load_basic_bindings
  File "/opt/homebrew/lib/python3.11/site-packages/prompt_toolkit/key_binding/bindings/basic.py", line 9, in <module>
    from prompt_toolkit.renderer import HeightIsUnknownError
  File "/opt/homebrew/lib/python3.11/site-packages/prompt_toolkit/renderer.py", line 11, in <module>
    from prompt_toolkit.styles import Style
  File "/opt/homebrew/lib/python3.11/site-packages/prompt_toolkit/styles/__init__.py", line 8, in <module>
    from .from_dict import *
  File "/opt/homebrew/lib/python3.11/site-packages/prompt_toolkit/styles/from_dict.py", line 9, in <module>
    from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/collections/__init__.py)
@ShishirPatil ShishirPatil added enhancement New feature or request good first issue Good for newcomers labels Jun 30, 2023
@ShishirPatil
Copy link
Member

Thanks for the pointer @wmichelin Would you be interested in potentially helping us with a PR? Happy to merge and welcome you as a contributor!

@mohidmeer
Copy link

@ShishirPatil

I am using python 3.11.4 it seems fine

image

@abitrolly
Copy link

@wmichelin can this be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants