Skip to content

Pypy2.4.0 support #267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
andrefreitas opened this issue Mar 3, 2015 · 1 comment
Closed

Pypy2.4.0 support #267

andrefreitas opened this issue Mar 3, 2015 · 1 comment
Labels

Comments

@andrefreitas
Copy link

Hi,
I am trying to use gitpython in pypy2.4.0 but I got an exception:

>>>> import git
>>>> git.Repo("/Users/andre/git/MPAndroidChart")
<git.Repo "/Users/andre/git/MPAndroidChart/.git">
>>>> r = git.Repo("/Users/andre/git/MPAndroidChart")
>>>> r.iter_commits(max_count=6)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Applications/pypy3-2.4.0-osx64/site-packages/git/repo/base.py", line 466, in iter_commits
    rev = self.head.commit
  File "/Applications/pypy3-2.4.0-osx64/site-packages/git/refs/symbolic.py", line 182, in _get_commit
    obj = self._get_object()
  File "/Applications/pypy3-2.4.0-osx64/site-packages/git/refs/symbolic.py", line 175, in _get_object
    return Object.new_from_sha(self.repo, hex_to_bin(self.dereference_recursive(self.repo, self.path)))
TypeError: 'str' does not support the buffer interface

I am getting this in any repository.

@Byron
Copy link
Member

Byron commented Mar 3, 2015

Thanks for posting.
However, pypy is not supported.
If you have seen this stated somewhere, please let me know and I will try to fix that.

@Byron Byron added the rejected label Mar 3, 2015
@Byron Byron closed this as completed Mar 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants