Skip to content

Fix KeyError for packages with versions#87

Open
sharkwouter wants to merge 2 commits intosesh:masterfrom
sharkwouter:fix-keyerror-for-versioned-packages
Open

Fix KeyError for packages with versions#87
sharkwouter wants to merge 2 commits intosesh:masterfrom
sharkwouter:fix-keyerror-for-versioned-packages

Conversation

@sharkwouter
Copy link
Copy Markdown

It seems the releases field no longer exists in the response of pypi if a version is specified, so I was seeing KeyErrror exceptions for them. This resolves this, while still supporting the old format (which can still be useful for older self hosted solutions).

@martin-thoma
Copy link
Copy Markdown

@sesh Is there a chance to get this merged?

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

Successfully merging this pull request may close these issues.

3 participants