-
Notifications
You must be signed in to change notification settings - Fork 950
One test fails with Python 3.11 beta 1 #3459
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
Comments
The problem still exists with Python 3.11b3. I'm trying to investigate it and what I know so far is that when I run the failing test with Python 3.10, the method |
So, the main problem is in ipywidgets/python/ipywidgets/ipywidgets/widgets/interaction.py Lines 257 to 273 in 9326d28
The main difference is the signature of the print function:
In the code of the function below, it's expected that getting the print function's signature raises the exception that is no longer true in Python 3.11. When the signature is investigated, new_kwargs in the If I understand the test correctly, its purpose is to test a function without an existing signature so I think we can just use something different than |
In Python 3.11, `inspect.signature(print)` no longer raises ValueError. Fixes: jupyter-widgets#3459
Thanks for diving into this! |
We are building RPM packges in Fedora with the latest Python 3.11 beta 1 nad ipywidgets fails:
The text was updated successfully, but these errors were encountered: