#9968 Delete branch v2.7.2 from rpms/python-pygments
Closed: Fixed by pingou. Opened by churchyard.

Please delete this accidental branch:

https://src.fedoraproject.org/rpms/python-pygments/commits/v2.7.2

It is included in the master branch.

Thanks.


Metadata Update from @pingou:
- Issue assigned to pingou

It makes the script crash:

Checking package python-pygments in .../GIT/python-pygments
Branch v2.7.2 not found in bodhi, checking if branch matches pattern...
...no match, seems OK to remove
Querying koji for builds...
Traceback (most recent call last):
  File ".../repos/gitrepo/releng/scripts/distgit-branch-unused.py", line 284, in <module>
    exit(branch_is_reachable(opts))
  File ".../repos/gitrepo/releng/scripts/distgit-branch-unused.py", line 232, in branch_is_reachable
    builds = {opts.package: list_builds(opts.package, opts)}
  File ".../repos/gitrepo/releng/scripts/distgit-branch-unused.py", line 119, in list_builds
    build['source'] = msession.getTaskInfo(build['task_id'], request=True)
  File "/usr/lib/python3.8/site-packages/koji/__init__.py", line 3242, in __exit__
    self.call_all()
  File "/usr/lib/python3.8/site-packages/koji/__init__.py", line 3224, in call_all
    raise err
xmlrpc.client.Fault: <Fault 1: "int() argument must be a string, a bytes-like object or a number, not 'NoneType'">

However, I can see that the commit of this branch are also all in the rawhide branch:

$ git lola -10
* aa2b6c0 (origin/rawhide, origin/main, origin/HEAD, rawhide) Update to 2.8.1
* e60b1d7 (origin/f34) Update to 2.7.4
* e37bc6b - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* 1395d68 Add BuildRequires: make
* b6614ab (HEAD -> v2.7.2, origin/v2.7.2) Update to 2.7.2
* 987ed3b Update to 2.7.1
| * 78a9908 (origin/f32) Backport upstream patch to fix CVE
| | * 4bc1b0f (origin/f33) Backport upstream patch to fix CVE
| |/  
|/|   
* | 8ff7f90 spec: replace hardcoded python3
* | d5a1b4e - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

So I've removed that branch

Metadata Update from @pingou:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata