-
-
Notifications
You must be signed in to change notification settings - Fork 244
Closed
Description
wrapt cannot be imported in Python 3.11:
$ python3.11 --version
Python 3.11.0a2
$ python3.11 -c 'import wrapt'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/jwilk/.local/lib/python3.11/site-packages/wrapt/__init__.py", line 10, in <module>
from .decorators import (adapter_factory, AdapterFactory, decorator,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jwilk/.local/lib/python3.11/site-packages/wrapt/decorators.py", line 34, in <module>
from inspect import ismethod, isclass, formatargspec
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/local/lib/python3.11/inspect.py)This is most likely caused by python/cpython#28618 ("Remove deprecated inspect methods").
The-Compiler, jnsnow, KotlinIsland, DetachHead, tacaswell and 12 morefelixdivo, cooperlees, Danielemiccoli-dev, ghardeA and AdwaitLee
Metadata
Metadata
Assignees
Labels
No labels