Skip to content

tests failing and import failing #54

@nborwankar

Description

@nborwankar

setup.py install succeeds

setup.py test gives output:-

running test
running egg_info
writing pygit2.egg-info/PKG-INFO
writing top-level names to pygit2.egg-info/top_level.txt
writing dependency_links to pygit2.egg-info/dependency_links.txt
reading manifest file 'pygit2.egg-info/SOURCES.txt'
writing manifest file 'pygit2.egg-info/SOURCES.txt'
running build_ext
copying build/lib.macosx-10.5-i386-2.7/pygit2.so ->
Traceback (most recent call last):
File "setup.py", line 88, in
**kwargs
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/setuptools/command/test.py", line 137, in run
self.with_project_on_sys_path(self.run_tests)
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/setuptools/command/test.py", line 117, in with_project_on_sys_path
func()
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/setuptools/command/test.py", line 146, in run_tests
testLoader = loader_class()
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/unittest/main.py", line 94, in init
self.parseArgs(argv)
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/unittest/main.py", line 149, in parseArgs
self.createTests()
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/unittest/main.py", line 158, in createTests
self.module)
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/unittest/loader.py", line 128, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/unittest/loader.py", line 113, in loadTestsFromName
test = obj()
File "/my/code/git/pygit2/test/init.py", line 42, in test_suite
return unittest.defaultTestLoader.loadTestsFromNames(modules)
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/unittest/loader.py", line 128, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_blob'

import gives:-
ImportError Traceback (most recent call last)
/my/code/git/pygit2/ in ()
----> 1 import pygit2

ImportError: dlopen(./pygit2.so, 2): Symbol not found: _git_commit_author
Referenced from: /my/code/git/pygit2/pygit2.so
Expected in: dynamic lookup

HELP!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions