Skip to content

New Python versions always require a pygit2 upgrade #1046

@SpaceManiac

Description

@SpaceManiac

I use pygit2 in a Python tool which is distributed to non-programmers on Windows. Every new Python release, I get support requests from people who installed the latest Python version (because they're installing Python for the first time) and the ever-so-slightly old version of pygit2 in the tool's requirements.txt. This has happened with 3.7, 3.8, and now 3.9.

Unfortunately the error messages for this situation are beyond useless, instructing users to install MSVC (a huge waste of time) and then to install libgit2 development headers (difficult to figure out how to do this).

Would it be feasible to either

  • back-publish wheels for some range of old pygit2 versions on each new Python release; or
  • use ctypes to allow for Python-version-independent binary wheels?

Regarding the latter, if you think it's feasible, I may be able to contribute some of the actual work.

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