PR https://github.com/python/cpython/pull/5500 is a backport for https://github.com/python/cpython/pull/5265 Bedevere should have removed the needs backport PR from https://github.com/python/cpython/pull/5265.
Activity
Mariatta commentedon Feb 13, 2018
So it was because the PR title starts with a space:
The regex pattern in https://github.com/python/bedevere/blob/master/bedevere/backport.py#L11 did not handle that 😅
Mariatta commentedon Feb 13, 2018
Another example: python/cpython#5037 is the backport for python/cpython#5034. Labels not removed from python/cpython#5034
Mariatta commentedon Feb 18, 2018
Another example from today: python/cpython#5746 is the backport for python/cpython#5726
Mariatta commentedon Feb 19, 2018
For python/cpython#5746, it was because the commit message on python/cpython#5726 was wrong: it did not have the correct bpo- and GH- numbers.
Mariatta commentedon May 14, 2018
Another instance where backport pr was not linked correctly:
python/cpython#6807
brettcannon commentedon May 15, 2018
It looks like
bedevere/bedevere/backport.py
Line 11 in b41fe6b
to fix this. This will:
\s*).+)(GH-or(#((?:GH-|#))