[go: up one dir, main page]

|
|
Log in / Subscribe / Register

Fedora mulls its "python" version

Fedora mulls its "python" version

Posted Jul 4, 2019 8:28 UTC (Thu) by cpitrat (subscriber, #116459)
In reply to: Fedora mulls its "python" version by Conan_Kudo
Parent article: Fedora mulls its "python" version

This was the same on arch. The problem was with anything coming from outside of arch. At that time, python3 migration was not at the same stage, but I'm pretty sure many migrated to python3 without changing the shebang (or missing some).


to post comments

Fedora mulls its "python" version

Posted Jul 4, 2019 12:01 UTC (Thu) by khim (subscriber, #9252) [Link] (5 responses)

Python2 goes away in one year, anyway. Packages which still haven't transitioned would give you grief no matter what (if they haven't switched in 9 years it's unlikely that they would switch in 10).

So you would face worse problems with these systems soon. Fedora, like usual, just does that half-year too early.

Fedora mulls its "python" version

Posted Jul 4, 2019 12:33 UTC (Thu) by cpitrat (subscriber, #116459) [Link] (3 responses)

Packages which didn't migrate are not related to the problem here. Although using versionned binary in shebang is recommended, you can totally keep python (PEP394 says it can be used if compatible with both versions).

So valid Python 3 scripts kept compatible with Python 2 by careful developers could be broken by removing python.

Fedora mulls its "python" version

Posted Jul 4, 2019 12:38 UTC (Thu) by rahulsundaram (subscriber, #21946) [Link] (2 responses)

> So valid Python 3 scripts kept compatible with Python 2 by careful developers could be broken by removing python.

I don't follow. In a future of release of Fedora, if /usr/bin/python points to /usr/bin/python3, valid Python 3 scripts will work just fine

Fedora mulls its "python" version

Posted Jul 4, 2019 13:16 UTC (Thu) by cpitrat (subscriber, #116459) [Link] (1 responses)

The article mentions discussion about removing completely the python link and providing only python2 and python3.

Fedora mulls its "python" version

Posted Jul 4, 2019 13:24 UTC (Thu) by rahulsundaram (subscriber, #21946) [Link]

> The article mentions discussion about removing completely the python link and providing only python2 and python3.

That's not the actual proposal and people who proposed that backed off from it. So that's not happening

Fedora mulls its "python" version

Posted Aug 2, 2019 11:35 UTC (Fri) by mgedmin (guest, #34497) [Link]

> if they haven't switched in 9 years it's unlikely that they would switch in 10

You're seriously underestimating the power of the last minute.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds