Package Details: python2 2.7.18-14

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: andreas_baumann
Last Packager: andreas_baumann
Votes: 76
Popularity: 0.103082
First Submitted: 2022-09-23 10:01 (UTC)
Last Updated: 2026-05-07 08:44 (UTC)

Required by (739)

Sources (4)

Pinned Comments

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 21 Next › Last »

fbrennan commented on 2023-06-07 08:22 (UTC)

Yeah, same here. I personally think all these tests ought to be removed as they serve no purpose as this late date besides causing failed builds.

hirnschmalz commented on 2023-06-07 07:48 (UTC)

My build also fails because of test_gdb

== Tests result: FAILURE ==

368 tests OK.

1 test failed:
    test_gdb

26 tests skipped:
    test_aepack test_al test_applesingle test_bsddb test_bsddb185
    test_bsddb3 test_cd test_cl test_dl test_gl test_imageop
    test_imgfile test_ioctl test_kqueue test_linuxaudiodev test_macos
    test_macostools test_msilib test_ossaudiodev test_py3kwarn
    test_scriptpackages test_startfile test_sunaudiodev test_winreg
    test_winsound test_zipfile64
3 skips unexpected on linux2:
    test_bsddb test_bsddb3 test_ioctl

Total duration: 8 min 232 ms
Tests result: FAILURE
==> ERROR: A failure occurred in check().
    Aborting...

micwoj92 commented on 2023-06-05 19:19 (UTC)

No issue here.

<deleted-account> commented on 2023-06-02 10:35 (UTC)

Build is failing with:

== Tests result: FAILURE ==

369 tests OK.

1 test failed:
test_gdb

25 tests skipped:
test_aepack test_al test_applesingle test_bsddb test_bsddb185
test_bsddb3 test_cd test_cl test_dl test_gl test_imageop
test_imgfile test_kqueue test_linuxaudiodev test_macos
test_macostools test_msilib test_ossaudiodev test_py3kwarn
test_scriptpackages test_startfile test_sunaudiodev test_winreg
test_winsound test_zipfile64
2 skips unexpected on linux2:
test_bsddb test_bsddb3

Total duration: 9 min 17 sec
Tests result: FAILURE

khvalera commented on 2023-05-10 12:36 (UTC)

to assemble you need to run: gpg --recv-key 0x04C367C218ADD4FF

drws commented on 2023-02-23 10:01 (UTC) (edited on 2023-07-26 17:46 (UTC) by drws)

Build is failing with:

======================================================================
FAIL: test_sendall_interrupted (test.test_socket.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../build/python2/src/Python-2.7.18/Lib/test/test_socket.py", line 745, in test_sendall_interrupted
    self.check_sendall_interrupted(False)
  File ".../build/python2/src/Python-2.7.18/Lib/test/test_socket.py", line 732, in check_sendall_interrupted
    c.sendall(b"x" * test_support.SOCK_MAX_SIZE)
AssertionError: ZeroDivisionError not raised

======================================================================
FAIL: test_sendall_interrupted_with_timeout (test.test_socket.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../build/python2/src/Python-2.7.18/Lib/test/test_socket.py", line 748, in test_sendall_interrupted_with_timeout
    self.check_sendall_interrupted(True)
  File ".../build/python2/src/Python-2.7.18/Lib/test/test_socket.py", line 732, in check_sendall_interrupted
    c.sendall(b"x" * test_support.SOCK_MAX_SIZE)
AssertionError: ZeroDivisionError not raised

FabioLolix commented on 2023-02-06 17:00 (UTC)

Clean chroot builded python2 package at https://sourceforge.net/projects/fabiololix-os-archive/files/Packages/


I did have to load the pgp key for this new system though.

@Cody_Learner yes because keys in AUR pkgbuilds are unrelated to system keys

@eniac @sp1cyf0x It builded fine for me on 2023-01-21 and today 2023-02-06

--nocheck option for makepkg exist for skipping tests

eniac commented on 2023-01-27 07:00 (UTC)

I'm still at 2.7.18-7 as I can't build the latest version (tests failing) even when using the chroot solution below. Is there a way to skip those tests?