4 ms·
RHEL and macOS are two very different products with two very different audiences and can hardly be compared like this. That being said, Python 2 will last thro
by mroche 5y ago
RHEL and macOS are two very different products with two very different audiences and can hardly be compared like this.
That being said, Python 2 will last through the end of RHEL 7's lifespan through June 2024, and that includes the AppStream module in RHEL 8 which will similarly end support in June 2024. After that customers are recommended to upgrade to a supported version of Python or continue using Python 2.7 at their own self-supported risk, we will not support them in that endeavor.
RHEL 9 (due out in a few months) does not ship Python 2.7.
https://access.redhat.com/support/policy/updates/rhel8-app-streams-life-cycle https://access.redhat.com/support/policy/updates/rhel8-app-s...
- seanw444 5y agoWith Ubuntu, if you delete Python, it obliterates everything. Have fun re-installing your system. Learned that the hard way. You can bet I "use Arch btw" now.
- mroche 5y agoI don't see how that's relevant here, unless you interpreted my statement to mean we will be removing Python 2.7 in RHEL 8. That isn't happening, the module will remain in the AppStream repositories but will not receive any support. Removing the system Python is prevented on RHEL/Fedora (with an exception). The package manager, DNF and YUM, are marked as protected which prevent their removal. You'd need to remove the protection file from /etc/dnf/protected.d before you can do that. Removing the system python would remove the package manager which depends on it, therefore the transaction is stopped. Using the RPM utility directly also will not work unless you a) pass --nodeps or b) list out every single dependency at the same time manually. You can test this in the CentOS containers with the following: quay.io/centos/centos:7: yum remove python rpm -ev python quay.io/centos/centos:stream8 dnf remove platform-python rpm -ev platform-python quay.io/centos/centos:stream9 dnf remove python3 rpm -ev python3 Best practice policy: use yum/dnf, not rpm for any package management.