Skip to content

remind me what those two failures are about #259

Closed
@yarikoptic

Description

@yarikoptic

silly me tried to reincarnate my evil attempts to setup travis to test across multiple debian/ubuntu releases via chroots... for some reason for me they all (?didn't check all but few, some have additional failures) have:

======================================================================

ERROR: test_init_repo_object (git.test.test_docs.Tutorials)

----------------------------------------------------------------------

Traceback (most recent call last):

File "/home/travis/build/yarikoptic/GitPython/git/ext/gitdb/gitdb/test/lib.py", line 87, in wrapper

return func(self, path)

File "/home/travis/build/yarikoptic/GitPython/git/test/test_docs.py", line 66, in test_init_repo_object

assert repo.tags['0.3.5'] == repo.tag('refs/tags/0.3.5') # you can access tags in various ways too

File "/home/travis/build/yarikoptic/GitPython/git/util.py", line 686, in __getitem__

raise IndexError("No item found with id %r" % (self._prefix + index))

IndexError: No item found with id '0.3.5'

======================================================================

ERROR: test_repo_creation_from_different_paths (git.test.test_repo.TestRepo)

----------------------------------------------------------------------

Traceback (most recent call last):

File "/home/travis/build/yarikoptic/GitPython/git/test/lib/helper.py", line 111, in repo_creator

rw_repo.head.commit = rw_repo.commit(working_tree_ref)

File "/home/travis/build/yarikoptic/GitPython/git/repo/base.py", line 426, in commit

return self.rev_parse(text_type(rev) + "^0")

File "/home/travis/build/yarikoptic/GitPython/git/repo/fun.py", line 183, in rev_parse

obj = name_to_object(repo, rev[:start])

File "/home/travis/build/yarikoptic/GitPython/git/repo/fun.py", line 117, in name_to_object

raise BadName(name)

BadName: Ref '0.3.2.1' did not resolve to an object

see more at https://travis-ci.org/yarikoptic/GitPython/builds/51467235

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions