Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Python3.8 support this year #1731

Closed
buhtz opened this issue May 27, 2024 · 8 comments · Fixed by #1816
Closed

Drop Python3.8 support this year #1731

buhtz opened this issue May 27, 2024 · 8 comments · Fixed by #1816
Assignees
Labels
Discussion decision or consensus needed Infrastructure

Comments

@buhtz
Copy link
Member

buhtz commented May 27, 2024

Regarding to python.org the Python version 3.8 will lose its "security" support phase in October this year.

Because of that we should drop the support for Python 3.8 after the upcoming release.

@buhtz buhtz added this to the 2nd release from now milestone May 27, 2024
@buhtz buhtz added Infrastructure Discussion decision or consensus needed labels May 27, 2024
@buhtz buhtz self-assigned this May 27, 2024
@daveTheOldCoder
Copy link

daveTheOldCoder commented Jul 30, 2024

Aside from the security issue, will the latest version of BiT still work with Python 3.8?

I'm asking because my python3 version is 3.8.10.

I suppose I could upgrade python3, but I would need to find a PPA or use a manual install.

If I only need to change the value of PYTHON_VERSION_REQUIRED in the script(s), I may do that for now.

@buhtz
Copy link
Member Author

buhtz commented Jul 30, 2024

Technically you are right. We don't plan to use Python features that are exclusive to Python 3.9 or higher.
Be aware that the last release 1.5.1 still supports Python 3.8. That BIT version will be part of the next Ubuntu.

The reason to drop 3.8 is the release schedule of Python.org itself .Python 3.8 is not actively supported anymore. It only gets security updates, but only until the end of this year. It is nearly dead. We are just orientate on that. If there are GNU/Linux distros out there supporting such old Python versions they have to really support it. In consequence this means they need to backport some other software (e.g. Bit).

As maintainer I am always interested in user stories. So what operating system are you on that you are stick to Python 3.8?

@daveTheOldCoder
Copy link

daveTheOldCoder commented Jul 30, 2024

I'm using Pop!_OS 20.04, which is based on Ubuntu 20.04, which is supported until Apr 2025.

I should upgrade to Pop!_OS 22.04, or Pop!_OS 24.04 which should be available soon, but I've been having trouble setting up a dual-boot so that I can keep the old version bootable (for a while) as well as the new one.

Both of those have Python 3.9 or higher.

I also found this PPA, which has newer versions of Python 3 : https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa

@buhtz
Copy link
Member Author

buhtz commented Jul 30, 2024

I'm using Pop!_OS 20.04, which is based on Ubuntu 20.04, which is supported until Apr 2025.

In case of Ubuntu you must read the fine print. What does mean "supported"? If there are security issues in Python3.8 the Python Foundation itself won't fix them because they do not support Python3.8 anymore. Does Canonical Ubuntu fix them? I am not sure about it and won't count on it. The terms "support" and "LTS" in context of Canonical Ubuntu are just a hot bubble, a marketing lie. If you need something stable, secure and reliable, try Debian GNU/Linux.

And it is also fact that Back In Time is not part of Ubuntu. BIT is contained in the "universe" repository of Ubuntu which is not Ubuntu. BIT for example is just copied from Debian GNU/Linux repository into that "universe" repository. "Universe" is a community driven repository that is not contained in the "support" and "LTS" of Canonical. Canonical use this repository only for marketing. The community does the work and Canonical put their Ubuntu lable on it, earning money without taking the responsibility for the "universe" repo.

I also found this PPA, which has newer versions of Python 3 : https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa

I wouldn't recommend to mix Python versions on a system.

@daveTheOldCoder
Copy link

I've been using Pop!_OS for about five years, and Ubuntu for about 14 years, and am generally happy with them. I use distros that are provided by the manufacturer of my computers, which are specifically designed to be Linux-compatible, so everything works. Before I did that, there were always a few things that I could never get working.

The PPA should have all the dependencies, so I wouldn't really be mixing Python versions.

buhtz added a commit that referenced this issue Aug 11, 2024
@daveTheOldCoder
Copy link

daveTheOldCoder commented Aug 18, 2024

Out of curiosity, did my mention of Pop!_OS result in the issue you posted to their github tracker? 😉

I was in the process of upgrading to Pop!_OS 22.04, but am now considering installing Ubuntu 24.04 instead.

The reasons are (a) System76 has limited S/W support (System76's business is building and selling Linux computers, not developing and supporting software. I suspect they only have one or two people supporting Pop!_OS on a part-time basis.) and (b) Ubuntu 24.04 was released in April, while Pop!_OS 24.04 is only in Alpha. Also, "Ubuntu" is easier to type than "Pop!_OS". 😺

@buhtz
Copy link
Member Author

buhtz commented Aug 19, 2024

Hi Dave,
yes I was trying to get info from PopOS but found out their website is not very verbose/transparent about the project details. Not very maintainer friendly.

@daveTheOldCoder
Copy link

Aside from the security issue, will the latest version of BiT still work with Python 3.8?

I'm just noting that this is no longer an issue for me. I'm now using Ubuntu 24.04, which has Python 3.12.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion decision or consensus needed Infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants