-
Notifications
You must be signed in to change notification settings - Fork 3k
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
WIP: Add requirement parsing module. #7020
Closed
Closed
Commits on Sep 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a2112f1 - Browse repository at this point
Copy the full SHA a2112f1View commit details -
This prevents a circular import since req.constructors will depend on req.parsing.
Configuration menu - View commit details
-
Copy full SHA for 47a76f5 - Browse repository at this point
Copy the full SHA 47a76f5View commit details -
Use parse_requirement_text in install_req_from_line.
To start, we use the parsed link instead of populating it in several places. We no longer need to normalize relative URLs since the requirement string must be either: 1. a relative path (e.g. `.` or `./example`), which gets normalized by `parse_requirement_text`, or 2. an absolute file URL
Configuration menu - View commit details
-
Copy full SHA for bd77439 - Browse repository at this point
Copy the full SHA bd77439View commit details -
Remove unneeded directory format check.
Since the lower-level parsing already determined it's a file path, we can just check whether it's a directory.
Configuration menu - View commit details
-
Copy full SHA for 9bf3804 - Browse repository at this point
Copy the full SHA 9bf3804View commit details -
Move error hints text to new parsing block.
A single '=' may only be applicable to direct references or named references, since they are the ones that allow version specifiers.
Configuration menu - View commit details
-
Copy full SHA for dae1278 - Browse repository at this point
Copy the full SHA dae1278View commit details -
Enforce that file path requirements exist.
Previously, non-existent file paths were falling through to the Requirement parsing and it was failing at that point. Now we specifically require that any mentioned files exist.
Configuration menu - View commit details
-
Copy full SHA for 36781cd - Browse repository at this point
Copy the full SHA 36781cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bdbb81 - Browse repository at this point
Copy the full SHA 2bdbb81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50c5282 - Browse repository at this point
Copy the full SHA 50c5282View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1548fa - Browse repository at this point
Copy the full SHA a1548faView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.