Closed vinlin24 closed 2 years ago
Hello @vinlin24 , looks like your changes to the setup.py
file aren't acceptable to pypi. Unfortunately I'll have to revert this. Build error linked below.
Am considering just using click or a simpler library instead of pyinquirer, but I don't have the time for it right now. Just voicing out some thoughts in case you or anyone else is up to it!
https://github.com/ledesmablt/spotify-cli/actions/runs/3135206863/jobs/5090622155
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:
I also made a change to cli/spotify.py since the
--version
flag implemented byclick.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
.