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

Python 3.11 #65

Open
bigcomposer opened this issue Mar 15, 2023 · 1 comment
Open

Python 3.11 #65

bigcomposer opened this issue Mar 15, 2023 · 1 comment

Comments

@bigcomposer
Copy link

First, I LOVE using Troop with students -- it's so easy to configure and get up and running. We use it exclusively (so far) with Tidalcycles. I appreciate that we spend our time talking about making music together instead of just troubleshooting installs--although there's some value in that too :) Thanks for developing this tool!

I haven't seen it mentioned yet, so I thought I'd create this post. We had trouble when we upgraded to Python 3.11 on Mac systems. Everything is very stable with 3.10.10, but when we went to 3.11, Troop began to crash when clients joined the server. For additional context, we're using a mixture of Mac M1s and Win11 machines.

@mewo2
Copy link

mewo2 commented Apr 4, 2023

The problem is that inspect.getargspec (which has been deprecated for a long time) has finally been removed in 3.11. There's one use of that function in src/message.py (line 184) which can be replaced by inspect.getfullargspec to get it to work. That function is also deprecated, so long-term it probably wants replacing with the Signature API, but it will work for now if you just want to get things running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants