#314 F31 System-Wide Change: F31 Mass Python 2 Package Removal
Closed 4 years ago by pbokoc. Opened 4 years ago by bcotton.

This issue tracks the release note for the following Fedora Change:

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

If you own this change, please add additional information here that we should communicate to Fedora users. Specifically, please consider:

  • New features available because of this change - pick 2 or 3 that are important
  • Considerations for users of previous releases of Fedora (upgrade issues, format changes, etc.)
  • Links to any upstream Release Notes
  • If this helps Fedora be a superior environment for our target audiences, please explain how so that we can emphasize this.

Your notes to us do not need to be formally written. We will edit them and add details as needed. This is a way for you to ensure that we know what is critical about your change.

If you want to write this release note, then:

  • Assign this issue to yourself
  • Check the wiki page linked above, find out what the change is about
  • Determine whether the change actually made it into the release or not[0]
  • Write a draft release note using that information against the correct branch here, in Pagure. (or see below)
  • Get in touch with the contact person/people listed on the wiki page, either through IRC or e-mail, and ask them to check your draft for technical accuracy
  • Submit your Release Note as a PR to this repository.

Once you're done with the above, make sure to either commit the relnote to an appropriate section of the Release Notes book, or, if you're not familiar with Git, AsciiDoc, or whatever else, just add it to this issue as a comment and let pbokoc[1] know that you're done with this one and you'd like the note included. Be sure to do this at least one day before the final release (October 29 according to the current schedule). Also make sure to do this even for relnotes that haven't been checked by the change owner.

[0] You can do that by asking the change owner listed on the wiki page; alternatively you can infer it by checking the tracker bug (linked in Wiki) in Bugzilla and looking at its status; see bug comments for details. Ask someone on the mailing list or on IRC if you're not sure.
[1] In #fedora-docs on FreeNode (UTC+1 timezone, online mostly during the day on weekdays), or pbokoc @redhat.com if you can't get a hold of me on IRC.


Metadata Update from @mareksu:
- Issue assigned to mareksu

4 years ago

Hi, @churchyard and @pviktori, what's the status of the Python 2 removal in F31?

I'm preparing a release note to announce the news. While the formal process of the removal is described in great detail in the Change, it doesn't say anything about the accomplished result.

Are there still any Python 2 packages in F31?

There are still plenty Python 2 packages in F31. Do you like a list of removed packages? List of remaining packages?

@churchyard, ideally, I'd like to summarize what's changed in F31 in general, or what the removed packages have in common. Something like: "Fedora 31 has removed all Python 2 packages that have Python 3 ports" or such.

Is there any general rule like that?

Fedora 31 has removed all Python 2 packages that only included Python 2 importable modules and no other Fedora 31 package requires.

$ repoquery --releasever=N --repo={fedora,updates} --whatrequires python2 --whatrequires python2-libs

Gives:

  • 1701 unique Python 2 package names in Fedora 30
  • 828 unique Python 2 package names in Fedora 31

@churchyard, here's my draft for the release note:

== Many Python 2 packages have been removed

The Python upstream will stop supporting Python 2 on 1 January 2020. For that reason, Fedora gradually removes Python 2 packages from the distribution.

In this release, Python 2 packages that met the following conditions have been removed:

* The packages contained only Python 2 libraries.

* No other package depended on these Python 2 packages.

Overall, 873 Python 2 packages have been removed.

What do you think?

I rephrased "Python 2 importable modules" as "Python 2 libraries". If that's not what you meant, please feel free to correct me.

Metadata Update from @pbokoc:
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata