From dc140c0f794e35dd3106453cc5443feb5ab2a9e3 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 7 Oct 2022 09:55:54 +0800 Subject: [PATCH 1/3] remove package signing The new key isn't signed with the old key so not accepted downstream, and that's it as the old key literally broke and there is no backup. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9054de2b8..2af8de084 100644 --- a/Makefile +++ b/Makefile @@ -17,4 +17,4 @@ release: clean force_release: clean git push --tags origin main python3 setup.py sdist bdist_wheel - twine upload 27C50E7F590947D7273A741E85194C08421980C9 dist/* \ No newline at end of file + twine upload dist/* From be3400b79ec15b84cd13a3ba30da289cdd98b878 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 11 Oct 2022 07:45:32 +0800 Subject: [PATCH 2/3] fix version replacement in `setup.py` (#1500) It would fail to perform the replacement, but unfortunately wouldn't stop the release process. The latter could be done, but isn't implemented either as it's hard to test given everything is runtime. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5494cf484..daad454d8 100755 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ def _stamp_version(filename: str) -> None: with open(filename, "r") as f: for line in f: if "__version__ =" in line: - line = line.replace("'git'", "'%s'" % VERSION) + line = line.replace("\"git\"", "'%s'" % VERSION) found = True out.append(line) except OSError: From 19aaa74aafc06663644d634f33bb8af871d58536 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 11 Oct 2022 07:48:32 +0800 Subject: [PATCH 3/3] prepare next release --- VERSION | 2 +- doc/source/changes.rst | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index ab6c88e86..05b41fb67 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1.28 +3.1.29 diff --git a/doc/source/changes.rst b/doc/source/changes.rst index e4a22a5d7..d36194c86 100644 --- a/doc/source/changes.rst +++ b/doc/source/changes.rst @@ -2,6 +2,14 @@ Changelog ========= +3.1.29 +====== + +- Make the git.__version__ re-appear. + +See the following for all changes. +https://github.com/gitpython-developers/gitpython/milestone/59?closed=1 + 3.1.28 ======