← Winnitude! Search  ·  Reader Mode (1550 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 43 LINKS

Fix inheritance issue at commit.iter_items by yvolchkov · Pull Request #1119 · gitpython-developers/GitPython

Repository navigation

Fix inheritance issue at commit.iter_items - #1119


Merged
Byron merged 1 commit into gitpython-developers:master from yvolchkov:master Feb 5, 2021
Merged

Fix inheritance issue at commit.iter_items #1119 Byron merged 1 commit into gitpython-developers:master from yvolchkov:master

Conversation

yvolchkov commented Feb 5, 2021



Copy link Copy Markdown

The iterator used to yield Commit() objects, which does not play well
with inheritance. Yield cls() instead.

Signed-off-by: Yuri Volchkov yuri@volch.org

yvolchkov force-pushed the master branch from 33e09c8 to e03a8b3
Compare
February 5, 2021 11:05 Fix inheritance issue at commit.iter_items af86f05
The iterator used to yield Commit() objects, which does not play well
with inheritance. Yield cls() instead.

Signed-off-by: Yuri Volchkov <yuri@volch.org>
yvolchkov force-pushed the master branch from e03a8b3 to af86f05
Compare
February 5, 2021 11:09

yvolchkov commented Feb 5, 2021



Copy link Copy Markdown
Author

I am not sure the test failure:

   stderr: 'fatal: unable to connect to localhost:
localhost[0: ::1]: errno=Connection refused
localhost[1: 127.0.0.1]: errno=Connection refused

is related to my changes anyhow...

Is that a known issue. Or could someone help me figure out what is wrong?

Byron added this to the v3.1.13 - Bugfixes milestone Feb 5, 2021

Byron commented Feb 5, 2021



Copy link Copy Markdown
Member

Thanks a lot for the fix!
The tests failed spuriously, which is a rare event on CI.

Byron merged commit 9de6450 into gitpython-developers : master Feb 5, 2021

yvolchkov commented Feb 5, 2021



Copy link Copy Markdown
Author

thanks for the quick merge! Are you planning a release soon by any chance? :)

Byron commented Feb 9, 2021



Copy link Copy Markdown
Member

v3.1.13 was just released on pypi .

EliahKagan mentioned this pull request Sep 21, 2023 Occasional "fatal: unable to connect to localhost" on CI #1676 Closed Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

2 participants