Package Details: python2 2.7.18-11

Git Clone URL: https://aur.archlinux.org/python2.git (read-only, click to copy)
Package Base: python2
Description: A high-level scripting language
Upstream URL: https://www.python.org/
Licenses: PSF-2.0
Conflicts: python
Submitter: jelly
Maintainer: micwoj92
Last Packager: micwoj92
Votes: 74
Popularity: 0.45
First Submitted: 2022-09-23 10:01 (UTC)
Last Updated: 2024-06-17 22:01 (UTC)

Required by (1057)

Sources (4)

Pinned Comments

Latest Comments

« First ‹ Previous 1 .. 11 12 13 14 15 16 17 18 19 Next › Last »

benpeltz commented on 2022-09-29 15:31 (UTC)

Like oldshortcut said, I was also able to update python2 with running the following yay command:

yay -S python2 --mflags "--nocheck"

Did not need to add gpg keys

This worked for me, thanks!

Mario156090 commented on 2022-09-29 14:30 (UTC)

Here same problem, update does not works from KDE konsole but with xterm update correctly. -.-

kj_sh604 commented on 2022-09-29 09:40 (UTC)

Thank you for migrating this to the AUR

ILikeTrains27 commented on 2022-09-28 22:02 (UTC)

Tried installing with xfce terminal, got the error:

1 test failed:
    test_curses

Tried with XTerm, and it worked

maderios commented on 2022-09-28 15:22 (UTC)

It builds successfully for me after doing

gpg --recv-keys 04C367C218ADD4FF

Keys here https://www.python.org/downloads/

HurricanePootis commented on 2022-09-27 14:46 (UTC)

omg micwoj you are so amazing for python2 😫😫😫🇵🇱🇵🇱

camb commented on 2022-09-27 13:05 (UTC)

Is it possible that we're hitting https://bugs.python.org/issue36630 https://bugs.python.org/issue36982 (same bug, one is a duplicate).

test_curses doesn't like ncurses 6.1

I don't know how about how to read python test output so I couldn't convince myself that we're hitting that bug but adding test_curses to the excluded tests list. check() passes for me now.

diff --git a/PKGBUILD b/PKGBUILD
index 79d76de..75673ea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -105,7 +105,7 @@ check() {

   cd Python-${pkgver}
   LD_LIBRARY_PATH="${srcdir}/Python-${pkgver}":${LD_LIBRARY_PATH} \
-    xvfb-run "${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_idle test_tk test_ttk_guionly test_ctypes test_ssl test_ftplib test_imaplib test_urllib2_localnet test_codecmaps_jp
+    xvfb-run "${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_idle test_tk test_ttk_guionly test_ctypes test_ssl test_ftplib test_imaplib test_urllib2_localnet test_codecmaps_jp test_curses
 }

 package() {

jayx11 commented on 2022-09-27 06:35 (UTC)

Like oldshortcut said, I was also able to update python2 with running the following yay command:

yay -S python2 --mflags "--nocheck"

Did not need to add gpg keys

jskier commented on 2022-09-26 18:23 (UTC) (edited on 2022-09-26 18:23 (UTC) by jskier)

I've tried compiling on 3 different machines, with and without chroot, all segfault and fail to build:

segfault at 0 ip 00007fe8cb2c8164 sp 00007ffd147290e8 error 4 in _testcapi.so[7fe8cb2c8000+6000]

oldshortcut commented on 2022-09-26 15:31 (UTC) (edited on 2022-09-26 16:09 (UTC) by oldshortcut)

I was able to update python2 with running the following yay command on two systems

$ yay -S python2 --mflags "--nocheck"

Thank you for maintaining this package! I use it for the healing filter in GIMP.