Page MenuHomePhabricator

Coverage fails with pkg_resources require
Closed, DuplicatePublic

Description

Running in virtualenv with coverage installed.

(env)jdloft:~/workspace (master) $ coverage-2.7 run --source=pywikibot setup.py test
running test
Coverage.py warning: No data was collected.
Traceback (most recent call last):
  File "setup.py", line 211, in <module>
    use_2to3=False
  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 125, in run
    self.distribution.fetch_build_eggs(self.distribution.install_requires)
  File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 264, in fetch_build_eggs
    replace_conflicting=True
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 633, in resolve
    requirements.extend(dist.requires(req.extras)[::-1])
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2299, in requires
    "%s has no such extra feature %r" % (self, ext)
UnknownExtra: requests 2.2.1 has no such extra feature u'security'

Event Timeline

Negative24 raised the priority of this task from to Needs Triage.
Negative24 updated the task description. (Show Details)
Negative24 added a project: Pywikibot.
Negative24 added a subscriber: Negative24.
Xqt triaged this task as High priority.Jan 24 2016, 6:28 AM
Xqt added a subscriber: valhallasw.
Xqt added a subscriber: Xqt.