#8221 Change impact: F31 Mass Python 2 Package Removal
Closed: It's all good 4 years ago by churchyard. Opened 5 years ago by churchyard.

https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal

There will be releng tickets to orphan or retire packages.

I also offer that I can do those (or at least help with them) if I have ACLs to do so.


This is huge change and I expect some of the stuff will break. I know for a fact some of the releng scripts might break (I converted most of them, but on top my head we need fix torrent generation scripts)

But, RelEng acks the change and hopefully nothing breaks :smile:

Metadata Update from @mohanboddu:
- Issue tagged with: change-ack, changes, f31

5 years ago

What exactly is expected to break on releng side?

As I said in the first comment, the one that I know that will definitely break is torrent generation. Other than that I dont know if anything else will break for sure.

I'm sorry, I don't understand how does this change break torrent generation. Could you please explain?

Is it because you have a script for that that runs on Python 2?

https://pagure.io/releng/blob/master/f/scripts/torrent-generator/torrent-generator seems like it only uses the standard library, it will not be affected by this change at all.

well, also torrent01 is a rhel7 instance, so we can keep using python2 there. :)

There seem to be a number of python2 scripts in the releng/scripts repo:

block_retired.py:#!/usr/bin/python -tt
build-current.py:#!/usr/bin/python
build-previous.py:#!/usr/bin/python
build_composeinfo:#!/usr/bin/env python
check-latest-build.py:#!/usr/bin/python
check-testing-pre-GA.py:#!/usr/bin/python
check-upgrade-paths.py:#!/usr/bin/python
check_epel_deps.py:#!/usr/bin/python
clean-amis.py:#!/usr/bin/python
clean-overrides.py:#!/usr/bin/python
critpath.py:#!/usr/bin/python -tt
distgit/utilities.py:#! /usr/bin/python -tt
fedora-torrent-ini.py:#!/usr/bin/env python
fedretire:#!/usr/bin/python -tt
find-bad-builds.py:#!/usr/bin/python
find-hidden-packages.py:#!/usr/bin/python
find_FTBFS.py:#!/usr/bin/python -tt
find_failures.py:#!/usr/bin/python
find_tagged_retired_epel_builds.py:#!/usr/bin/python -tt
get-critpath:#!/usr/bin/python
isolate-tag.py:#!/usr/bin/python
koji-build-srpm.py:#!/usr/bin/python
koji-compare.py:#!/usr/bin/python
koji-import.py:#!/usr/bin/python
koji-reimport.py:#!/usr/bin/python
koji-stalk.py:#!/usr/bin/python
koji_cleanup_signed.py:#!/usr/bin/python
mass-rebuild-special.py:#!/usr/bin/python
mass-rebuild.py:#!/usr/bin/python
mass-tag.py:#!/usr/bin/python
mass_rebuild_file_bugs.py:#!/usr/bin/python
massrebuildsinfo.py:#!/usr/bin/python -tt
mbs/find-unsigned-modules.py:#!/usr/bin/env python
mbs/koji-module-info.py:#!/usr/bin/env python
need-rebuild.py:#!/usr/bin/python
prune-tag.py:#!/usr/bin/python
push-two-week-atomic.py:#!/usr/bin/env python
secondary-sync.py:#!/usr/bin/python
sigulsign_unsigned.py:#!/usr/bin/python
srpm-excluded-arch.py:#!/usr/bin/python
sync-blocked-primary.py:#!/usr/bin/python
sync-tagged-primary.py:#!/usr/bin/python

At least some of these probibly need porting.

I moved most of them to python3 but I need to change the shebangs. I just let it be, but I can change them and see what happens.

Metadata Update from @syeghiay:
- Issue assigned to mohanboddu

4 years ago

Metadata Update from @churchyard:
- Issue close_status updated to: It's all good
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata