Python 3.11 support
samschott opened this issue · 6 comments
Describe the bug
Stone's frontend uses the inspect.getargspec
method which was deprecated in Python 3.0 and removed in 3.11 (see https://docs.python.org/3.10/library/inspect.html#inspect.getargspec).
stone/stone/frontend/ir_generator.py
Line 1077 in bdd49bc
This results in attribute errors when running stone in Python 3.11.
Versions
- What version of the Stone are you using? 3.3.1
- What version of the language are you using? Python 3.11
- What platform are you using? macOS 13
Additional context
The recommended migration path is to use inspect.getfullargspec
as drop-in replacement.
Thanks for the report! I'll ask the team to update that.
For a lot of distributions will stone
fail to build due to the missing support for Python 3.11. This will lead to broken dropbox-sdk-python
packages down the road.
Hi! We're currently rebuilding all Python packages against Python 3.11 on Arch Linux. This project is now broken.
Can you please replace the use of getargspec()
with getfullargspec()
(see https://docs.python.org/3/whatsnew/3.11.html) and release a new version? Thanks! :)