Skip to content

Commit 976213f

Browse files
blhsingclaude
andcommitted
Fix CI: break shim<->main exact-pin lockstep
The `build wheel + sdist` job failed at the `pure-python-git[git]` smoke-install with ResolutionImpossible: pure-python-git-shim 0.1.0 pinned `pure-python-git==0.1.0`, which cannot coexist with the current main package. The main `[git]` extra likewise exact-pinned the shim, so every main release re-broke the extra. Replace both exact pins with lower bounds (the shim only registers a `git` console-script delegating to pythongit.cli:main, so it is version-independent): - shim: pure-python-git>=0.1.0 (was ==0.1.0), bump 0.1.0 -> 0.1.1 - main `[git]` extra: pure-python-git-shim>=0.1.1 (was ==0.1.0), bump 1.0.0 -> 1.0.1 Verified locally: installing both wheels together resolves, `pygit` and the `git` shim run, and uninstalling the shim removes `git` while keeping `pygit`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 354f446 commit 976213f

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

pure-python-git-shim/pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pure-python-git-shim"
7-
version = "0.1.0"
7+
version = "0.1.1"
88
description = "Drop-in `git` console-script that delegates to pure-python-git. Install via `pip install pure-python-git[git]`."
99
readme = "README.md"
1010
requires-python = ">=3.9"
1111
authors = [{ name = "Ben Hsing", email = "blhsing@gmail.com" }]
1212
license = { file = "LICENSE" }
13-
dependencies = ["pure-python-git==0.1.0"]
13+
# Lower bound, not an exact pin: the shim only registers a `git` console-script
14+
# that calls pythongit.cli:main, so it works with any main-package version.
15+
# Exact-pinning forced a lockstep that broke the `[git]` extra on every release.
16+
dependencies = ["pure-python-git>=0.1.0"]
1417
classifiers = [
1518
"Development Status :: 4 - Beta",
1619
"Environment :: Console",

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pure-python-git"
7-
version = "1.0.0"
7+
version = "1.0.1"
88
description = "Pure-Python git reimplementation with a byte-exact in-process `ort` merge engine and no C `git` dependency. Installs `pygit`; opt-in `git` shim via `pip install pure-python-git[git]`."
99
readme = "README.md"
1010
requires-python = ">=3.9"
@@ -45,7 +45,7 @@ pygit = "pythongit.cli:main"
4545
# This pulls in `pure-python-git-shim`, whose only role is to register a `git`
4646
# console-script that calls pythongit.cli:main. Uninstall the shim with pip
4747
# to remove the shim without uninstalling the main package.
48-
git = ["pure-python-git-shim==0.1.0"]
48+
git = ["pure-python-git-shim>=0.1.1"]
4949
test = ["pytest>=7"]
5050

5151
[tool.setuptools.packages.find]

0 commit comments

Comments
 (0)