[bug-notifications] [gitosis 0003907]: Missing dependency on "python_devel"

Mantis Bug Tracker noreply at opencsw.org
Thu Sep 17 22:10:15 CEST 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://www.opencsw.org/bugtrack/view.php?id=3907 
====================================================================== 
Reported By:                trygvis
Assigned To:                
====================================================================== 
Project:                    gitosis
Issue ID:                   3907
Category:                   packaging
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2009-09-17 22:10 CEST
Last Modified:              2009-09-17 22:10 CEST
====================================================================== 
Summary:                    Missing dependency on "python_devel"
Description: 
When importing my public key I got a python exception about a missing
distutils module. 

$ gitosis-init < /tmp/id_dsa.pub
Traceback (most recent call last):
  File "/opt/csw/bin/gitosis-init", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 657, in
<module>
    class Environment(object):
  File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 660, in
Environment
    def __init__(self, search_path=None,
platform=get_supported_platform(), python=PY_MAJOR):
  File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 55, in
get_supported_platform
    plat = get_build_platform(); m = macosVersionString.match(plat)
  File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 186, in
get_build_platform
    from distutils.util import get_platform
ImportError: No module named distutils.util

Installing python_devel fixed it.

Not sure if gitosis is missing the dependency, it seems to be used by
setuptools.
======================================================================




More information about the bug-notifications mailing list