Skip to content
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

fix(python) Add options support to requirements.txt parsing #370

Merged
merged 1 commit into from
Nov 1, 2018

Conversation

zlav
Copy link
Member

@zlav zlav commented Nov 1, 2018

The requirements.txt parser does not currently acknowledge options or file references as distinct information. It uploads them as dependencies causing a missing dependency on the backend. This fixes that issue.
Requirements.txt spec

@codecov
Copy link

codecov bot commented Nov 1, 2018

Codecov Report

Merging #370 into master will increase coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #370      +/-   ##
==========================================
+ Coverage   46.83%   46.89%   +0.06%     
==========================================
  Files          67       67              
  Lines        3094     3094              
==========================================
+ Hits         1449     1451       +2     
+ Misses       1496     1495       -1     
+ Partials      149      148       -1
Impacted Files Coverage Δ
buildtools/pip/pip.go 58.49% <100%> (+3.77%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2347102...42fe929. Read the comment docs.

@zlav zlav requested a review from elldritch November 1, 2018 15:59
Copy link
Contributor

@microsoftly microsoftly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elldritch
Copy link
Contributor

[nit] I would call this PR "Add options support to requirements.txt parsing"

@zlav zlav changed the title fix(python) Fix the way we handle requirements.txt. fix(python) Add options support to requirements.txt parsing Nov 1, 2018
@zlav zlav merged commit 2dd95e9 into master Nov 1, 2018
@zlav zlav deleted the fix/python-parser-options branch November 1, 2018 19:06
meghfossa pushed a commit that referenced this pull request Nov 12, 2021
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