Skip to content
This repository was archived by the owner on Jul 26, 2026. It is now read-only.
This repository was archived by the owner on Jul 26, 2026. It is now read-only.

Support of PyPy interpreter (smmap, gitdb, and GitPython) #49

Description

@zougloub

I was hoping to get this to run under PyPy but this is happening.

======================================================================
FAIL: test_basics (smmap.test.test_buf.TestBuf)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "smmap-5.0.0/smmap/test/test_buf.py", line 114, in test_basics
    assert manager.collect()
AssertionError

I may take a look and suggest a fix, but maybe a someone who knows the codebase can figure this problem out easily?

Edit: the code makes a heavy use of del expecting instant behavior, but this is not automatic under pypy. See http://docs.cython.org/en/latest/src/userguide/pypy.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions