Python Versions

Page content

History

Long time ago, there were huge discussions about Python 2.7 or Python 3.xx. Fortunately, these times are gone and we’ve all gotten over the hurdle to Python 3. But are you on 3.6, 3.7, 3.8 ? or even 3.11 or 3.12 ? That’s the current Version you should use for your daily Projects ?

Status of Python versions

A good indicator is this Website: https://devguide.python.org/versions/

OpenBSD

It’s also recommended to check what our Operating System is installing by default, or what you can get from their Package Repository.

For OpenBSD, you get offered the following:

pkg_info -Q python
pkg_info -Q python
python-2.7.18p11
python-3.10.13 (installed)
python-3.11.5 (installed)
python-3.9.18

and as you can see, i have the latest two Versions installed.

Debian

apt-cache search python3 |grep "^python3\."

Debian is one step further, and they offer Python3.11 only as default.

# apt-cache search python3 |grep "^python3\."
python3.11 - Interactive high-level object-oriented language (version 3.11)
python3.11-dbg - Debug Build of the Python Interpreter (version 3.11)
python3.11-dev - Header files and a static library for Python (v3.11)
python3.11-doc - Documentation for the high-level object-oriented language Python (v3.11)
python3.11-examples - Examples for the Python language (v3.11)
python3.11-full - Python Interpreter with complete class library (version 3.11)
python3.11-minimal - Minimal subset of the Python language (version 3.11)
python3.11-nopie - Python interpreter linked without PIE (version 3.11)
python3.11-venv - Interactive high-level object-oriented language (pyvenv binary, version 3.11)

So, keep an Eye on it so you still can do your job and also get the security fixes. For the Moment, Python 3.10 - 3.12 seems fine.


Any Comments ?

sha256: 407a56f99e097b92039e13b0c8fd11ec580fa83a71e3e4d56a7d69f4bd1bc82e