Python2 depreciated

I notiuced while doing updates that pythlon2 is now depreciated. I used “dependency-checker python2” and got the below. Is this going to be addressed so as not to have to reinstall various items?

dependency-checker python2                                                                 ✔ ▓▒░
extra/manjaro-documentation-en make depends on python2 (built by Philip Mueller <philm@manjaro.org>)
extra/manjaro-documentation-fr make depends on python2 (built by Philip Mueller <philm@manjaro.org>)
extra/manjaro-firmware make depends on python2 (built by Ramon Buldó <ramon@manjaro.org>)
community/obkey-gtk3 depends on python2 (built by fhdk <fh@manjaro.org>)
xerolinux_repo/disper depends on python2 (built by DarkXero <info@techxero.com>)
xerolinux_repo/gputest optionally depends on python2: tkinter gui (built by DarkXero <info@techxero.com>)
xerolinux_repo/python2-libxml2 depends on python2 (built by DarkXero <info@techxero.com>)
xerolinux_repo/pywal-git optionally depends on python2: reload gtk2 themes on the fly (built by DarkXero <info@techxero.com>)
arcolinux_repo_3party/disper depends on python2 (built by Erik Dubois <erik.dubois@gmail.com>)
arcolinux_repo_3party/gputest optionally depends on python2: tkinter gui (built by Erik Dubois <erik.dubois@gmail.com>)
arcolinux_repo_3party/libglade optionally depends on python2: libglade-convert script (built by Erik Dubois <erik.dubois@gmail.com>)
arcolinux_repo_3party/obkey depends on python2 (built by Erik Dubois <erik.dubois@gmail.com>)
arcolinux_repo_3party/obkey-git depends on python2 (built by Erik Dubois <erik.dubois@gmail.com>)
arcolinux_repo_3party/python2-cairo depends on python2 (built by Erik Dubois <erik.dubois@gmail.com>)
arcolinux_repo_3party/python2-gobject depends on python2 (built by Erik Dubois <erik.dubois@gmail.com>)
arcolinux_repo_3party/python2-gobject2 depends on python2 (built by Erik Dubois <erik.dubois@gmail.com>)
arcolinux_repo_3party/python2-libxml2 depends on python2 (built by Erik Dubois <erik.dubois@gmail.com>)
arcolinux_repo_3party/python2-notify make depends on python2 (built by Erik Dubois <erik.dubois@gmail.com>)
arcolinux_repo_3party/wacom-utility depends on python2 (built by Erik Dubois <erik.dubois@gmail.com>)
arcolinux_repo_xlarge/openoffice-bin optionally depends on python2: adds python support (built by Erik Dubois <erik.dubois@gmail.com>)
chaotic-aur/amdvlk-2021q2.5 make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/android-ndk optionally depends on python2: various helper scripts (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/boost-python2-libs make depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/clang-git make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/cling optionally depends on python2: support for scan-view and Jupyter (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/clion optionally depends on python2: Python 2 programming language support (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/clion-eap optionally depends on python2: Python 2 programming language support (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/compiler-rt-git make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/cwiid depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/cython2 depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/github-desktop make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/google-cloud-sdk optionally depends on python2: for dev_appserver.py and endpointscfg support (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/handbrake-nvenc make depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/handbrake-nvenc-cli make depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/joplin make depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/joplin-desktop make depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/libglade optionally depends on python2: libglade-convert script (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/liblnk-git make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/liblnk-tools-git make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/libretro-mame-git make depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/lld-git make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/lldb-git make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/llvm-git make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/llvm-libs-git make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/llvm-ocaml-git make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/natron-compositor make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/openswan optionally depends on python2 (built by Eduard Tolosa <edu4rdshl@protonmail.com>)
chaotic-aur/pam-python depends on python2 (built by Chaotic-AUR Wild Bear Node <wildbear.node@chaotic.cx>)
chaotic-aur/polly-git make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/pybitmessage depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/pycharm-community-eap optionally depends on python2: Support for Python 2 language (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/pyside-tools-common make depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/python-liblnk-git make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/python-shiboken make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/python-sip-pyqt4 make depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/python2-apsw depends on python2 (built by Chaotic-AUR Wild Bear Node <wildbear.node@chaotic.cx>)
chaotic-aur/python2-cairo depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/python2-config depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/python2-constantly depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/python2-dbus depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/python2-gobject2 depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/python2-incremental depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/python2-iniparse depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/python2-liblnk-git depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/python2-mistune depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/python2-msgpack depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/python2-numpy depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/python2-opengl depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/python2-pid depends on python2 (built by Chaotic-AUR Wild Bear Node <wildbear.node@chaotic.cx>)
chaotic-aur/python2-pyliblzma depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/python2-pyside-tools make depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/python2-pysqlite depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/python2-shiboken depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/python2-sip-pyqt4 depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/python2-urlgrabber depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/shiboken make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/spidermonkey-git make depends on python2 (built by Nico Jensch <dr460nf1r3@chaotic.cx>)
chaotic-aur/unity-editor-lts depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/wacom-utility depends on python2 (built by Chaotic-AUR Temeraire node <dr460nf1r3@chaotic.cx>)
chaotic-aur/waterfox-classic-kpe make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)
chaotic-aur/webkitgtk make depends on python2 (built by UFSCar HPC Builder <hpc.ufscar@chaotic.cx>)

This post was flagged by the community and is temporarily hidden.

Rude much? It’s not something I installed

1 Like

Python2 was removed from the repositories, and most of the packages are now AUR packages. Its usually safe to remove these types of packages that are installed in your system unless you have older applications or AUR ones that havent been updated and rely on them.
I would make a timeshift backup, then remove the python2 packages.It has to be done manually because Manjaro cant tell which user has old applications that need them. They dont want to break users systems. Then test your older applications to see if they work. If you find something is broken its easy to restore the system with timeshift.

1 Like

Thank you for that. Now one more question I got the below and allowed it to attempt to build and install but it failed the install. Trying it again now. Any suggestions if it fails again?

1  aur/python2  2.7.18-5 -> 2.7.18-5
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==>
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  python2-2.7.18-5

It looks safe to continue, the only package that needs the python2 packages is python2, and it should be removed as well… But backing up never hurts.

OK since it takes FOREVER to build and install I stop it and uninstall the one Pamac says is installed and see what I get. Of course after running TimeShift.

While @zbe is rude, he is right. You have repos of other Archbased Distors included and that is fully your choice.

Sorry, but LOL. I really I cannot believe that. Who else did that?

4 Likes

Do you remember enabling those repositories?

If you did not explicitly add/enable them, my only other hunch (of which is very unlikely), is that you installed a third-party application that uses root/sudo privileges to add additional Pacman repositories.

…shure you did, and you forgot to scroll back your pacman-update output, because donig-all-supercool-automated .
…if you had managed your system correctly, this would not have happened, at least you would be aware that your packages ended up in the AUR.
Now you can block me too.

1 Like

Rather I installed those repos or not with the message that pythlon2 was dead it should not have attempted to update itself. That is either a mistake on the part of the devs for it or on Manjaro for not catching that this update might get pushed. I’m apt to believe the devs for pythlon2 pushed it without meaning to. That said I ended the build in Konsole, removed the installed version, rebooted, and all seems good.

As for Topgrade not a thing wrong with using it to do the updates.

I checked dependency-checker

$ dependency-checker python2
extra/manjaro-documentation-en make depends on python2 (built by Philip Mueller <philm@manjaro.org>)
extra/manjaro-documentation-fr make depends on python2 (built by Philip Mueller <philm@manjaro.org>)
extra/manjaro-firmware make depends on python2 (built by Ramon Buldó <ramon@manjaro.org>)

Let’s check if they are correct:

$ pacman -Si manjaro-firmware | grep Depends
Depends On      : None

$ pacman -Si manjaro-documentation-en | grep Depends
Depends On      : None

It looks like all Manjaro packages don’t need python2.

I think dependency-checker has a bug from libpamac

1 Like

That was the only package in the Manjaro repos depending on python2. It has been dropped.

Your are responsible for the packages from the unofficial repositories you use.

Indeed.

What bug? Notice those three packages all say make depends on python2, not depends on python2. :wink:

2 Likes