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

Pinned Comments

Latest Comments

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

gothicVI commented on 2022-09-24 18:21 (UTC)

Since the last update I'm getting a failing test when building:

test_doctest_main_issue4197 (test.test_zipimport_support.ZipSupportTests) ... Expected line File "/tmp/tmpJp0FeC/script.py", line 2, in __main__.Test
Got stdout:
**********************************************************************
File "/tmp/tmpJp0FeC/script.py", line 2, in __main__.Test
Failed example:
    'line 2'
Expected nothing
Got:
    'line 2'
**********************************************************************
1 items had failures:
   1 of   1 in __main__.Test
***Test Failed*** 1 failures.

Expected line File "/tmp/tmpJp0FeC/test_zip.zip/__main__.py", line 2, in __main__.Test
Got stdout:
**********************************************************************
File "/tmp/tmpJp0FeC/test_zip.zip/__main__.py", line 2, in __main__.Test
Failed example:
    'line 2'
Expected nothing
Got:
    'line 2'
**********************************************************************
1 items had failures:
   1 of   1 in __main__.Test
***Test Failed*** 1 failures.

fhdrin commented on 2022-09-24 17:54 (UTC) (edited on 2022-09-24 18:01 (UTC) by fhdrin)

install manually with makepkg. dont' use an aur helper if your having issues with this one. solved my issue.

jango commented on 2022-09-24 17:26 (UTC) (edited on 2022-09-24 19:36 (UTC) by jango)

thanks micwoj92 still have error: 1 test failed: test_curses

update: makepkg --nocheck solve my failed test.

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?