-
Notifications
You must be signed in to change notification settings - Fork 25
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
Port Mopidy-Raspberry-GPIO to Python 3 #1
Comments
I was aware of the impending Python migration- although I didn’t know how far along you were. Thanks for the step-by-step. I’ll get this done as soon as I can. |
Couple of hiccups:
|
Anyway, while trying to boost code coverage (probably erroneously since this constitutes writing tests after the fact) I ran into an issue where testing against Mopidy's API will give me a typeerror, where Now I'm no I'm not sure if I should be attempting to inject a value here, or if it's the repsonsibility of whatever setup is being used to supplant Mopidy with a
|
Yes, sorry about that, I've suggested a change to the checklist which will hopefully get integrated.
It was originally written specifically for porting packages belonging to the mopidy project where that step was already done. I hit it myself when porting mopidy-tunein. For testing, we would pass a real Also note that getting the volume from the playback controller is deprecated, get it from the mixer. |
Switches from use of playback controller (deprecated) to mixer volume as mentioned in #1 Uses `get_state()` instead of `state`
I'm not sure if you are aware but we have been working on porting Mopidy and extensions to Python 3 and our next major release will drop Python 2 support. It's not a huge amount of work but with support soon ending for Python 2 it will need to be done. You can find a checklist of what to do here and some examples of what we've already done with some of our extensions here and here.
The text was updated successfully, but these errors were encountered: