Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537068 - dev-python/pygit2-0.22.0 - python3_4:setup.py: ImportError: No module named 'version'
Summary: dev-python/pygit2-0.22.0 - python3_4:setup.py: ImportError: No module named '...
Status: RESOLVED DUPLICATE of bug 537122
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-19 17:16 UTC by Helmut Jarausch
Modified: 2015-01-21 16:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pygit2 build log (pygit2-0.22.0.build,33.54 KB, text/plain)
2015-01-19 17:16 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2015-01-19 17:16:33 UTC
Created attachment 394344 [details]
pygit2 build log

Since I have installed dev-python/setuptools-12.0.1 it looks as if some
packages fail to install, e.g.

dev-python/pygit2-0.22.0 gives
running egg_info
creating /var/tmp/portage/dev-python/pygit2-0.22.0/work/pygit2-0.22.0-python3_4/pygit2.egg-info
writing requirements to /var/tmp/portage/dev-python/pygit2-0.22.0/work/pygit2-0.22.0-python3_4/pygit2.egg-info/requires.txt
writing /var/tmp/portage/dev-python/pygit2-0.22.0/work/pygit2-0.22.0-python3_4/pygit2.egg-info/PKG-INFO
writing top-level names to /var/tmp/portage/dev-python/pygit2-0.22.0/work/pygit2-0.22.0-python3_4/pygit2.egg-info/top_level.txt
writing dependency_links to /var/tmp/portage/dev-python/pygit2-0.22.0/work/pygit2-0.22.0-python3_4/pygit2.egg-info/dependency_links.txt
Traceback (most recent call last):
  File "setup.py", line 197, in <module>
    cmdclass=cmdclass)
  File "/usr/lib64/python3.4/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib64/python3.4/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib64/python3.4/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/usr/lib64/python3.4/distutils/command/install.py", line 551, in run
    self.run_command(cmd_name)
  File "/usr/lib64/python3.4/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib64/python3.4/site-packages/setuptools/command/install_egg_info.py", line 33, in run
    self.run_command('egg_info')
  File "/usr/lib64/python3.4/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib64/python3.4/site-packages/setuptools/command/egg_info.py", line 171, in run
    writer = ep.load(installer=installer)
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 2310, in load
    return self.resolve()
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 2316, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named 'version'
Comment 1 Tim Harder gentoo-dev 2015-01-19 22:10:04 UTC
I'm unable to reproduce this. Perhaps try again with setuptools-12.0.3 that I just added to the tree.
Comment 2 Tim Harder gentoo-dev 2015-01-21 16:51:56 UTC

*** This bug has been marked as a duplicate of bug 537122 ***