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

pip/index.py: Add import of normalize_path #1

Merged
merged 1 commit into from
Mar 7, 2015

Conversation

msabramo
Copy link

@msabramo msabramo commented Mar 7, 2015

You were missing an import of normalize_path, which was causing the pep8 and py3pep8 targets to fail.

This fixes that.

Disturbing that the other tests targets didn't fail -- I guess we don't have enough test coverage?

@msabramo
Copy link
Author

msabramo commented Mar 7, 2015

Passing Travis CI build: https://travis-ci.org/msabramo/pip/builds/53423279

@pfmoore
Copy link
Owner

pfmoore commented Mar 7, 2015

Thanks, I got distracted and never got back to this

pfmoore added a commit that referenced this pull request Mar 7, 2015
pip/index.py: Add import of normalize_path
@pfmoore pfmoore merged commit eaac580 into pfmoore:normalize_findlinks Mar 7, 2015
@msabramo
Copy link
Author

msabramo commented Mar 7, 2015

No problem!

I do wonder why only the pep8 failed and no other targets.

@msabramo msabramo deleted the pr2455_tweak_1 branch March 7, 2015 16:08
msabramo added a commit to msabramo/pip that referenced this pull request Mar 11, 2015
Adds a `test_tilde` test to augment @pfmoore's work in
pypa#2455 ("Normalize paths starting with ~
in find-links")

This would've caught the missing import problem we had
(pfmoore#1).
pfmoore pushed a commit that referenced this pull request Mar 16, 2015
Break long lines to make pep8 happy
pfmoore pushed a commit that referenced this pull request May 26, 2015
two major changes:

1) re-use the optparse options in pip.cmdoptions instead of maintaining
   a custom parser

2) as a result of #1, simplify the call stack
    from:  parse_requirements -> parse_content -> parse_line
      to:  parse_requirements -> process_line

beyond #1/#2, minor cosmetics and adjusting the tests to match
pfmoore pushed a commit that referenced this pull request May 26, 2015
   and adjust the logic to match; the result is simpler.
2) Due to #1, we can remove some hairy "format_control" hacks
3) Due to #1, we have to relax the parsing and allow:
   - multiple options per line
   - any supported option on a line with a requirement (not just
     --install-option/--global-option, although they are the only
     options that are passed into a requirement)
pfmoore pushed a commit that referenced this pull request Nov 29, 2015
   are unavailable, but issue a warning if this is used.
2. Explicitly handle the case where the unicode detection finds wide
   unicode but this is a 3.3+ build (necessary due to #1)
3. Fix tests broken due to #2.
pfmoore pushed a commit that referenced this pull request Apr 11, 2016
Make search name column width dynamic
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.

2 participants