GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gitdb and gitdb2 on PyPI · Issue #59 · gitpython-developers/gitdb

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.

gitdb and gitdb2 on PyPI #59

Copy link
Copy link
Closed
Closed
gitdb and gitdb2 on PyPI#59
Copy link
Assignees
Harmon758

Description

@Harmon758
Harmon758
opened on Feb 23, 2020
Issue body actions

In 2015, access was lost to the PyPI account that owns gitdb.
v0.6.4 was the last release under the gitdb package on PyPI prior to this happening.

In 2016, gitdb2 was created to continue development for the library under a new package (38866bc), and every release since then has been with that package name. This has caused confusion (see #45, #47, #57, gitpython-developers/GitPython#983) and having an old, stale PyPI project is less than ideal.

Recently, the original PyPI account has been recovered.
The intention now is to transition back to using the original gitdb package name and have the gitdb2 package simply be a mirror/dummy package that depends on and installs gitdb, so as to maintain backwards compatibility.

Currently, these are the anticipated steps that need to be taken:

  • Release a new version, v3.0.3, as the gitdb2 package, that restricts the smmap2 version to < 3
    (See smmap and smmap2 on PyPI smmap#44)
  • Release a new version, v4.0.0, as the gitdb package; the only change from gitdb2 v3.0.3 should be to require smmap rather than smmap2 (smmap and smmap2 on PyPI smmap#44)
  • Create a gitdb2 branch with a single setup.py that requires gitdb
  • Release a new version, v4.0.0, of the gitdb2 package from the gitdb2 branch
    • Note Because I (@Byron) accidentally released step 2 in this list as package gitdb2 instead of gitdb, v4.0.0 of gitdb2 already existed. The change requested here is now in v4.0.1.

v4.0.0 for both packages should be functionally equivalent to gitdb2 v3.0.3, with gitdb2 v4.0.0 simply installing gitdb >= 4.0.0 and with gitdb v4.0.0 requiring smmap rather than smmap2 (gitpython-developers/smmap#44).

  • gitdb2 v3.0.3 was released with an erroneous and incomplete changelog
    gitdb2 v3.0.3.post1 has been tagged and released on PyPI to fix this
  • gitdb v4.0.0 was tagged with the wrong package name and released with an incomplete changelog and unbound smmap requirement version specifiers
    The master branch has been force-pushed to 253dfe7 and gitdb v4.0.1 has been tagged and released on PyPI
    • gitdb v4.0.0 has been deleted on PyPI
  • gitdb2 improperly branches off of the 4.0.0 tag and includes the entire GitDB library
    The gitdb2 branch has been force-pushed to d3bf396 to be properly set up for gitdb2 to be a mirror package and the gitdb2-4.0.0 and gitdb2-4.0.1 tags have been deleted
  • gitdb2 v4.0.0 was released as the entire GitDB library and without requiring gitdb
    gitdb2 v4.0.0 has been deleted on PyPI
  • gitdb2 v4.0.1 was released as the entire GitDB library while still requiring gitdb
    gitdb2 v4.0.2 has been released on PyPI from the new gitdb2 branch (d3bf396)
    • gitdb2 v4.0.1 has been deleted on PyPI
  • A new version of GitPython, v3.1.0, that requires gitdb rather than gitdb2, has been tagged (at first, gitpython-developers/GitPython@c859019 was tagged, but that commit forgot the version bump and as such, it has now been re-tagged to the version bump commit, gitpython-developers/GitPython@8c9da73) and released on PyPI

gitdb v4.0.1 and gitdb2 v4.0.2 should be functionally equivalent to gitdb2 v3.0.3 with gitdb v4.0.2 simply installing gitdb >= 4.0.1 and with gitdb v4.0.1 requiring smmap rather than smmap2 (gitpython-developers/smmap#44).

Note: @Byron was having issues with releases, so I was added as a maintainer for gitdb, gitdb2, smmap, and smmap2 on PyPI. Since there were already issues with the new signature key being used, I've released gitdb v4.0.1, gitdb2 v3.0.3.post1, gitdb2 v4.0.2, smmap v3.0.1, and smmap2 v3.0.1 without any signature keys. The intention is still for @Byron to release new versions with the proper signature key once he has access to it again.

Activity

  1. Harmon758
    assigned
    Byron
    and
    Harmon758
    on Feb 23, 2020
  2. Harmon758
    pinned this issue on Feb 23, 2020
  3. ghost added a commit that references this issue on Feb 23, 2020

    Bump version to v3.0.3; update changelog

    169dbcf
  4. ghost added a commit that references this issue on Feb 23, 2020

    Bump to v4.0.0; require smmap package

    5f819b5
  5. ghost added a commit that references this issue on Feb 23, 2020

    Require gitdb (at least version 4)

    92459d3
  6. Harmon758
    unassigned
    Byron
    on Feb 23, 2020
  7. openstack-gerrit
    added 2 commits that reference this issue on Feb 24, 2020

    Update gitdb to 4.0.1, gitdb2 to 4.0.2

    7d5bea2

    Update git submodules

    c174fbe
  8. Harmon758
    closed this as completedon Feb 24, 2020
  9. wip-sync
    added a commit that references this issue on Mar 7, 2020

    py-git: update to 3.1.0.

    cc95dab
  10. jonringer
    added a commit that references this issue on Mar 14, 2020

    python.pkgs.gitdb2: remove

    6db65f8
  11. tanaypf9
    added 7 commits that reference this issue on May 20, 2024

    Update gitdb to 4.0.1, gitdb2 to 4.0.2

    0d112a6

    Update patch set 2

    4fd6dfb

    Bump gitdb2 upper constraint to 4.0.2

    8782d23

    Update gitdb to 4.0.1, gitdb2 to 4.0.2

    9ab44f0

    Update gitdb to 4.0.1, gitdb2 to 4.0.2

    7240eca

    Update gitdb to 4.0.1, gitdb2 to 4.0.2

    3643ab6

    Update gitdb to 4.0.1, gitdb2 to 4.0.2

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

Metadata

Metadata

Assignees

  • @Harmon758
    Harmon758

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

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.