-
Notifications
You must be signed in to change notification settings - Fork 3
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
If no GitHub URL for project an error is raised #39
Comments
@ryancheley This issue still exists: To Reproduce
# _get_package_github_url method in helpers.py
project_urls = requests.get(url).json().get("info").get("project_urls")
for k, v in project_urls.items():
...
|
Thanks @omerfarukabaci. I will work on a fix. The short term fix will be to just report out that there's not enough information. Something like this:
For a more long term solution ... 🤷♂️yet |
Maybe searching a GitHub URL in PyPI description can make sense, but yeah for a quick-fix you solution seems good. |
Using the Top PyPI Packages I determined that the top 5000 packages all have a What might be best is to have a message that says something like:
|
It sounds logical, thank you! 🚀 |
Describe the bug
For projects that have (usually the Home Page) set to a page that is not on the GitHub.com domain you receive an
UnboundLocalError
To Reproduce
From the command line run
See the error get generated
For this specific package
Expected behavior
The CLI can handle Home Pages not pointed at GitHub
Additional context
This issue was discovered while running the CLI on a requirements file which included the package
healthkit-to-sqlite
The text was updated successfully, but these errors were encountered: