Skip to content

Commit

Permalink
Merge pull request pypa#4920 from asottile/no_need_for_distro_patch
Browse files Browse the repository at this point in the history
Drop vendoring patch for distro
  • Loading branch information
dstufft authored Dec 15, 2017
2 parents ad0d3f5 + 6bf55db commit b0a762a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 24 deletions.
Empty file.
1 change: 0 additions & 1 deletion src/pip/_vendor/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ Modifications
* ``CacheControl`` has been modified to import its dependencies from ``pip._vendor``
* ``packaging`` has been modified to import its dependencies from ``pip._vendor``
* ``requests`` has been modified *not* to optionally load any C dependencies
* Modified distro to delay importing ``argparse`` to avoid errors on 2.6


Automatic Vendoring
Expand Down
3 changes: 1 addition & 2 deletions src/pip/_vendor/distro.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import json
import shlex
import logging
import argparse
import subprocess


Expand Down Expand Up @@ -1074,8 +1075,6 @@ def _parse_distro_release_content(line):


def main():
import argparse

logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
logger.addHandler(logging.StreamHandler(sys.stdout))
Expand Down
21 changes: 0 additions & 21 deletions tasks/vendoring/patches/distro.patch

This file was deleted.

0 comments on commit b0a762a

Please sign in to comment.