spotify-cli
spotify-cli copied to clipboard
Add 3.10 support by fixing PyInquirer dependency
Users with Python 3.10+ installed face issue #23 caused by the PyInquirer dependency. However, I noticed that this issue is only present in the PyPI release. The official GitHub repository, although not updated for a while, is ahead of this release and supports 3.10, so I simply changed the dependency in setup.py to pull from this repo instead of from PyPI. Expectedly, this affects the files:
- setup.py
- cli/commands/auth.py
- cli/commands/devices.py
I also made a change to cli/spotify.py since the --version flag implemented by click.version_info would fail to detect the package name. I don't know if this issue is unique to my development environment, but I updated the decorator just in case. Users still see the same output, spotify-cli, version X.Y.Z.