[GH-ISSUE #698] pip cannot retrieve license #413

Closed
opened 2026-02-27 23:22:29 +03:00 by kerem · 2 comments
Owner

Originally created by @khatkar on GitHub (Jun 28, 2021).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/698

Describe the bug
Pip cannot retrieve the actual MIT license, instead provides the name of the license file itself. This effectively prevents some license verification utilities from correctly verifying the spotipy license.

Your code
pip show spotipy

Expected behavior

Name: spotipy
Version: 2.18.0
...
License: MIT
...

Output

Name: spotipy
Version: 2.18.0
...
License: LICENSE.md
...

Environment:

  • OS: Ubuntu
  • Python version: 3.8.6
  • spotipy version: 2.18.0
  • your IDE: Terminal

Additional context
A solution would be to rename the LICENSE.md file as LICENSE and use GitHub to generate the file as described here.

Originally created by @khatkar on GitHub (Jun 28, 2021). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/698 **Describe the bug** Pip cannot retrieve the actual MIT license, instead provides the name of the license file itself. This effectively prevents some license verification utilities from correctly verifying the spotipy license. **Your code** `pip show spotipy` **Expected behavior** ``` Name: spotipy Version: 2.18.0 ... License: MIT ... ``` **Output** ``` Name: spotipy Version: 2.18.0 ... License: LICENSE.md ... ``` **Environment:** - OS: Ubuntu - Python version: 3.8.6 - spotipy version: 2.18.0 - your IDE: Terminal **Additional context** A solution would be to rename the LICENSE.md file as LICENSE and use GitHub to generate the file as described [here](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository).
kerem 2026-02-27 23:22:29 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@stephanebruckert commented on GitHub (Jun 28, 2021):

Ok, does https://github.com/plamere/spotipy/pull/699 look good?

<!-- gh-comment-id:869957636 --> @stephanebruckert commented on GitHub (Jun 28, 2021): Ok, does https://github.com/plamere/spotipy/pull/699 look good?
Author
Owner

@stephanebruckert commented on GitHub (Dec 26, 2021):

Fixed in 2.19.0

<!-- gh-comment-id:1001115882 --> @stephanebruckert commented on GitHub (Dec 26, 2021): Fixed in 2.19.0
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#413
No description provided.