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: 71
Popularity: 3.97
First Submitted: 2022-09-23 10:01 (UTC)
Last Updated: 2024-06-17 22:01 (UTC)

Required by (1194)

Sources (4)

Pinned Comments

Latest Comments

« First ‹ Previous 1 .. 13 14 15 16 17 18

frankspace commented on 2022-09-24 17:03 (UTC)

Compilation fails for me during testing:

0:01:20 load avg: 1.05 [170/400] test_htmlparser
0:01:20 load avg: 1.05 [171/400] test_httplib
0:01:21 load avg: 1.05 [172/400] test_httpservers -- test_httplib failed
Exception in thread Thread-252:
Traceback (most recent call last):
  File "/build/python2/src/Python-2.7.18/Lib/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/build/python2/src/Python-2.7.18/Lib/test/test_httpservers.py", line 58, in run
    self.server = HTTPServer(('localhost', 0), self.request_handler)
  File "/build/python2/src/Python-2.7.18/Lib/SocketServer.py", line 420, in __init__
    self.server_bind()
  File "/build/python2/src/Python-2.7.18/Lib/BaseHTTPServer.py", line 108, in server_bind
    SocketServer.TCPServer.server_bind(self)
  File "/build/python2/src/Python-2.7.18/Lib/SocketServer.py", line 434, in server_bind
    self.socket.bind(self.server_address)
  File "/build/python2/src/Python-2.7.18/Lib/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
gaierror: [Errno -2] Name or service not known

...at that point, it just hangs forever. This happens both if I try compiling in a chroot and if I don't. I'm baffled, is there anything I am obviously doing wrong?

micwoj92 commented on 2022-09-24 16:16 (UTC)

It works now.

jango commented on 2022-09-24 16:12 (UTC)

same here i have 4 tests failed: test_curses test_minidom test_xml_etree test_xml_etree_c

anyone have solution to fix this?

micwoj92 commented on 2022-09-24 00:01 (UTC)

look at my comment, solution is in the task.

kamazeuci commented on 2022-09-23 23:56 (UTC)

Can't compile, error making python2 4 tests failed: test_curses test_minidom test_xml_etree test_xml_etree_c any ideas how to solve this? thanks!

micwoj92 commented on 2022-09-23 21:08 (UTC)

Could you implement fix for https://bugs.archlinux.org/task/74299?