-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Improve requirements parser #13912
Improve requirements parser #13912
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not see http section, was it removed?
I believe |
I think I tested in the past and |
@Borda it does work: Requirement.parse('pt-lightning-sphinx-theme@ https://github.com/Lightning-AI/lightning_sphinx_theme/archive/master.zip') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, but this one fails:
pkg_resources.Requirement.parse('https://github.com/Lightning-AI/lightning_sphinx_theme/archive/master.zip')
@Borda I'm getting errors during the package install step and I cannot find out why: https://github.com/Lightning-AI/lightning/runs/7773618982?check_suite_focus=true#step:9:56. I guess I "broke" an intermediate step and the Converting this to draft in the meantime to avoid an accidental merge. |
interesting, it seems like the |
73528e1
to
75277bf
Compare
What does this PR do?
Improves the requirement file parsing logic to properly support comments and pip arguments
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting
PR review
cc @carmocca @akihironitta @Borda