[issue20570] Bundle pip 1.5.3 in Python 3.4rc2

Jeroen Ruigrok van der Werven report at bugs.python.org
Sun Feb 9 14:06:42 CET 2014


Jeroen Ruigrok van der Werven added the comment:

Nick et al,

currently trying b3 and using the bundled pip (1.5.2) to update the bundled setuptools from 2.1 to 2.2 on Windows 7 and I get the following. Any idea if this is still an issue with the newer versions (and thus might be relevant to this case)?

F:\Python34>Scripts\pip3.4.exe install -U setuptools
Downloading/unpacking setuptools from https://pypi.python.org/packages/3.4/s/setuptools/setuptools-2.2-py2.py3-none-any.whl#md5=3b7d84f496aed8c07b91efba4aa197a4

Cleaning up...
Exception:
Traceback (most recent call last):
  File "F:\Python34\lib\site-packages\pip\basecommand.py", line 122, in main
    status = self.run(options, args)
  File "F:\Python34\lib\site-packages\pip\commands\install.py", line 274, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "F:\Python34\lib\site-packages\pip\req.py", line 1206, in prepare_files
    for subreq in dist.requires(req_to_install.extras):
  File "F:\Python34\lib\site-packages\pip\_vendor\pkg_resources.py", line 2232, in requires
    dm = self._dep_map
  File "F:\Python34\lib\site-packages\pip\_vendor\pkg_resources.py", line 2423, in _dep_map
    self.__dep_map = self._compute_dependencies()
  File "F:\Python34\lib\site-packages\pip\_vendor\pkg_resources.py", line 2445, in _compute_dependencies
    for req in self._parsed_pkg_info.get_all('Requires-Dist') or []:
  File "F:\Python34\lib\site-packages\pip\_vendor\pkg_resources.py", line 2415, in _parsed_pkg_info
    self._pkg_info = Parser().parsestr(self.get_metadata(self.PKG_INFO))
  File "F:\Python34\lib\email\parser.py", line 70, in parsestr
    return self.parse(StringIO(text), headersonly=headersonly)
  File "F:\Python34\lib\email\parser.py", line 60, in parse
    return feedparser.close()
  File "F:\Python34\lib\email\feedparser.py", line 170, in close
    self._call_parse()
  File "F:\Python34\lib\email\feedparser.py", line 163, in _call_parse
    self._parse()
  File "F:\Python34\lib\email\feedparser.py", line 449, in _parsegen
    self._cur.set_payload(EMPTYSTRING.join(lines))
  File "F:\Python34\lib\email\message.py", line 311, in set_payload
    " payload") from None
TypeError: charset argument must be specified when non-ASCII characters are used in the payload

Storing debug log for failure in C:\Users\asmodai\pip\pip.log

----------
nosy: +asmodai

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20570>
_______________________________________


More information about the Python-bugs-list mailing list