Actually, I added the patches locally and fixed a test, see https://aur.archlinux.org/cgit/aur.git/log/?h=python2 somehow the AUR currently doesn't show the correct current PKGBUILD?
Search Criteria
Package Details: python2 2.7.18-14
Package Actions
| 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.107333 |
| First Submitted: | 2022-09-23 10:01 (UTC) |
| Last Updated: | 2026-05-07 08:44 (UTC) |
Dependencies (18)
- bzip2 (bzip2-gitAUR)
- expat (expat-gitAUR)
- gdbm (gdbm-gitAUR)
- libffi (libffi-gitAUR)
- libnsl (libnsl-gitAUR)
- libxcrypt (libxcrypt-gitAUR)
- openssl-1.1AUR
- sqlite (sqlite-fossilAUR)
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat)
- bluez-libs (bluez-gitAUR) (make)
- tk (tk-fossilAUR) (make)
- file (file-gitAUR) (check)
- gdb (gdb-gitAUR) (check)
- xorg-server-xvfb (xorg-server-xvfb-gitAUR, xlibre-server-xvfb-binAUR, xlibre-xserver-xvfbAUR, xlibre-xserver-xvfb-betaAUR) (check)
- xterm (xterm-gitAUR) (check)
- python2-pipAUR (optional)
- python2-setuptoolsAUR (optional)
- tk (tk-fossilAUR) (optional) – for IDLE
Required by (739)
- appleseed-git
- archivemail
- archutil
- arduino-git (optional)
- armory
- arpreply-git
- balena-cli (make)
- balena-cli (optional)
- bash-it-git (optional)
- basilisk (make)
- bcoin-git (make)
- bdelta-git (make)
- blindelephant-svn
- bmpanel2 (make)
- boost-python2
- boost-python2 (make)
- boost-python2-libs (make)
- bubbros
- bus-pirate
- carto-builder
- ccstheia
- cdcover
- cddb-py
- celoterminal (make)
- cgru
- check_md_raid
- clang40 (make)
- clang40 (optional)
- claws-mail-gtk2-git (optional)
- claws-mail-protectedheaders-git (optional)
- cling-dev (make)
- cling-jupyter-dev (make)
- clonedigger
- cmpl-bin
- conkyforecast
- couchbase-server-community
- couchbase4-server-community
- cppcms (make)
- cppcoro-git (make)
- creds.py-git (make)
- crosswordpuzzle
- cryptominisat4 (make)
- cryptominisat4 (optional)
- cryptominisat5-git (make)
- cryptominisat5-git (optional)
- cupp-v3
- cvs2svn
- cwiid
- cwiid-git
- cwrap-git
- cython2
- dakota (make)
- darling-cli-python2-common-git (optional)
- darling-pyobjc-git (optional)
- darling-python2-git (optional)
- datawire-forge
- data_hacks
- desktopnova (make)
- diff2html
- dimension (make)
- disper
- dnuos
- drcom-cauc
- drqueue
- dtboost
- dtc-python2 (make)
- dynagen
- edex-ui (make)
- electron4 (make)
- electron9 (make)
- elyxer
- epydoc
- evad
- evad-svn
- extraterm-git (make)
- facadefs
- fakexrandr-git (make)
- fbless
- fbpanel (make)
- fbpanel-git
- figleaf
- fio-pmdk (optional)
- flac2ogg
- flacsync
- flacsync-git
- freemat (make)
- freemol-svn
- fungw (optional)
- fvwm-crystal
- gamin (make)
- gamin-docs (make)
- ganglia
- ganglia-minimal
- gcompris-qt-git (make)
- gdevilspie
- geany-zencoding
- geda-gaf (make)
- geda-gaf (optional)
- geda-gaf-git (make)
- geda-gaf-git (optional)
- geepro (make)
- gesftpserver
- getmail
- gimp-plugin-layerfx
- git-etc (make)
- gitinspector
- gitinspector-git
- gitosis-git
- glapse
- gmapcatcher
- gmidimonitor-git (make)
- gnomato
- gnome-python
- gnome-python-desktop (make)
- go-tool-git
- gogglesmm-git (optional)
- gonvert
- google-cloud-sdk-app-engine-python
- gpk-git
- gptsync (make)
- gputest (optional)
- gr-dab-git
- grafana-git (make)
- griver
- gtk2-doc (make)
- gutenflash
- halberd
- happycamel
- hardlinkpy-hg
- hash-identifier
- hexchat-python2 (make)
- hexchat-python2 (optional)
- heybuddy
- hinance
- hivex-git (make)
- hivex-git (optional)
- hpp-corbaserver
- hs-miner-git (make)
- hsd-git (make)
- htpc-manager-git
- httpripper
- i3-workspace-switch-git
- idba (check)
- igcc
- ignore
- intel-me-tools-git
- ipwndfu-linushenze-git (make)
- ivideo (make)
- iwscanner
- jack-rack (optional)
- java8-openjfx (make)
- java8-openjfx-doc (make)
- java8-openjfx-src (make)
- jtoolkit
- karamel-git
- keyboardlayouteditor-git
- keystone-git (make)
- koditools
- krakatau-git
- kvirc-git-nokde (make)
- ladish-no-gui
- lash
- ldc-xtensa-git
- lexconvert-git (optional)
- lib32-libglade (make)
- libadios
- libadios-git
- libevent-compat (optional)
- libevent-git (optional)
- libkml (optional)
- libkml-git (optional)
- liblnk-git (make)
- liblnk-tools-git (make)
- liblocked-sstream-git (make)
- libprelude
- libredblack (make)
- librepilot (make)
- libretro-mame-git (make)
- libretro-mame2000-git (make)
- libretro-mame2003-git (make)
- libretro-mame2010-git (make)
- libretro-mame2015-git (make)
- libretro-mame2016-git (make)
- libretro-meowpc98-git (make)
- libretro-mess-git (make)
- libretro-mrboom-git (make)
- lighthouse-git (optional)
- llvm40 (make)
- llvm40-libs (make)
- lorem-ipsum-generator (make)
- lumo-git (make)
- m4b-converter-git
- madanalysis5
- manatee
- mapcrafter-git
- mapcrafter-world113-git
- mapdamage
- maraschinoproject-git
- maszyna-git
- mavlink-git (make)
- mediawiki-lts (optional)
- medit-full
- memry (make)
- mesos
- mimms
- miniircd-git
- miro-video-converter
- mitsuba-git
- mkwvconf-git
- mlbviewer
- mlbviewer-svn
- mod-mda-lv2-git (make)
- moinmoin
- mongotron-bin
- mopidy-moped
- mopidy-moped (make)
- mopidy-tpa2016d2-git
- mopidy-tpa2016d2-git (make)
- mosesdecoder
- mosesdecoder-git
- mraa (optional)
- msp430-gdb
- msp430-jtag
- msp430mcu (make)
- muse-git (optional)
- musiclake-git (make)
- mwlib.ext
- nekobee-git (make)
- netmon-git
- newsoul-git (make)
- nodejs-buster
- nodejs-groovebasin (make)
- nodejs-groovebasin-git (make)
- nodejs-redbird (make)
- nodemcu-tool
- nolimips-git (make)
- nordugrid-arc
- nrftool
- ntop
- obexftp (make)
- obkey
- obmenu
- obtheme
- okimfpsdrv
- one-night-stand
- onetime
- onivim2 (make)
- onivim2-git (make)
- onos-git
- open-av4ms-git
- open-usp-tukubai-git
- openmalaria (make)
- openoffice-bin (optional)
- opensmtpd-extras (make)
- opensmtpd-extras (optional)
- opensmtpd-extras-git (make)
- opensmtpd-extras-git (optional)
- openswan-git (optional)
- osm-bulk-upload-git
- osmo-tetra-sq5bpf-git
- osmocombb-git
- p4vasp
- palemoon (make)
- pam-python
- parallel-python
- parlance
- paup-cli
- pdfsizeopt-git
- peepdf
- pidcat
- pidcat-git
- pingg-git (make)
- pk2-la-svn
- play-git
- plexconnect-current
- poi_arch_electron (make)
- postgresql-12 (make)
- postgresql-12 (optional)
- postgresql-docs-12 (make)
- postgresql-libs-12 (make)
- progit2 (make)
- progit2-git (make)
- psi-plugins.lv2-git (make)
- pss-git
- pychrom
- pylnker-git
- pyqt4-common (make)
- pyrit
- pysbf-git
- pysize
- pyspeed
- pystopwatch
- python-arg (make)
- python-bbcode (make)
- python-cmdln (make)
- python-keystone-git (make)
- python-kwpbar (make)
- python-liblnk-git (make)
- python-prody
- python-pydbgp (make)
- python-steamodd-git (make)
- python-tempdir (make)
- python-twopoint-git (make)
- python-xstatic-angular (make)
- python-xstatic-angular-animate (make)
- python-xstatic-angular-bootstrap (make)
- python-xstatic-angular-cookies (make)
- python-xstatic-angular-fileupload (make)
- python-xstatic-angular-gettext (make)
- python-xstatic-angular-lrdragndrop (make)
- python-xstatic-angular-material (make)
- python-xstatic-angular-mock (make)
- python-xstatic-angular-notify (make)
- python-xstatic-angular-sanitize (make)
- python-xstatic-angular-schema-form (make)
- python-xstatic-angular-uuid (make)
- python-xstatic-angular-vis (make)
- python-xstatic-bootstrap (make)
- python-xstatic-bootstrap-datepicker (make)
- python-xstatic-bootstrap-scss (make)
- python-xstatic-bootswatch (make)
- python-xstatic-d3 (make)
- python-xstatic-font-awesome (make)
- python-xstatic-hogan (make)
- python-xstatic-jasmine (make)
- python-xstatic-jquery (make)
- python-xstatic-jquery-colourpicker (make)
- python-xstatic-jquery-migrate (make)
- python-xstatic-jquery-quicksearch (make)
- python-xstatic-jquery-ui (make)
- python-xstatic-jsencrypt (make)
- python-xstatic-mdi (make)
- python-xstatic-objectpath (make)
- python-xstatic-rickshaw (make)
- python-xstatic-roboto-fontface (make)
- python-xstatic-smart-table (make)
- python-xstatic-spin (make)
- python-xstatic-termjs (make)
- python-xstatic-tv4 (make)
- python2-antlr3
- python2-antlr3-3.0.1
- python2-antlr3-3.1.2
- python2-appdirs
- python2-appjar
- python2-arg
- python2-arg (make)
- python2-atomiclong
- python2-atomicwrites
- python2-attrs
- python2-automat (make)
- python2-backports
- python2-bbcode
- python2-bbcode (make)
- python2-bcrypt
- python2-bencode
- python2-biplist
- python2-bitcoinrpc-git
- python2-bjoern
- python2-boltons
- python2-bsddb
- python2-cachecontrol
- python2-cairo
- python2-can
- python2-cdecimal
- python2-chardet
- python2-click
- python2-clyther
- python2-cmdln
- python2-cmdln (make)
- python2-cmuclmtk
- python2-colorama
- python2-colorpy
- python2-combomethod
- python2-constantly
- python2-contextlib2
- python2-coverage
- python2-cryptography
- python2-cryptography-vectors (make)
- python2-cssmin
- python2-cssselect
- python2-csv23
- python2-ctypes
- python2-currencyconverter
- python2-daemon
- python2-dateutil
- python2-dbus
- python2-defusedxml
- python2-diethack
- python2-dirspec
- python2-dis3
- python2-discoverhue
- python2-distlib
- python2-distlib (make)
- python2-distro
- python2-djvulibre
- python2-docutils
- python2-dpms
- python2-dtfabric
- python2-duckduckgo2
- python2-easyprocess
- python2-editrepl (make)
- python2-enum34
- python2-exifread
- python2-expiringdict
- python2-first
- python2-flaky
- python2-forgerypy
- python2-formatstring
- python2-fpconst
- python2-ftdi
- python2-funcsigs
- python2-fuse
- python2-fusepy
- python2-gamin
- python2-gamin (make)
- python2-gammu
- python2-geojson
- python2-gnomekeyring (make)
- python2-gobject
- python2-gobject2
- python2-graphviz (make)
- python2-graphy
- python2-gvgen
- python2-html5lib (make)
- python2-hupper
- python2-hyperlink (make)
- python2-idna
- python2-img2text
- python2-incremental
- python2-inifile
- python2-ipaddress
- python2-iptcinfo
- python2-iso8601
- python2-jaydebeapi
- python2-jaydebeapi (make)
- python2-jdcal
- python2-jpype1
- python2-jsmin
- python2-json-delta
- python2-keystone-git
- python2-keystone-git (make)
- python2-kitchen
- python2-kivy-garden
- python2-kwpbar
- python2-kwpbar (make)
- python2-labjackpython-git
- python2-lazr-smtptest
- python2-lazy-object-proxy
- python2-lhafile
- python2-libewf-git
- python2-libfiu
- python2-libformatstr-git
- python2-libfwnt
- python2-libjio
- python2-liblnk
- python2-liblnk-git
- python2-liblnk-git (make)
- python2-libvslvm
- python2-libxml2
- python2-linecache2
- python2-lineprofiler
- python2-linux-gpib
- python2-lockfile
- python2-lxml
- python2-midi
- python2-minimock
- python2-misaka
- python2-mistune
- python2-mock
- python2-msgpack
- python2-mulpyplexer
- python2-mutagen
- python2-nadds
- python2-namedlist
- python2-nbt
- python2-netifaces
- python2-nose (make)
- python2-notify (make)
- python2-nulltype
- python2-numexpr
- python2-numpy
- python2-numpy-1.15.2
- python2-olefile
- python2-opengl
- python2-options
- python2-osdetect
- python2-owm
- python2-pager
- python2-parallax
- python2-paver
- python2-pdfrw
- python2-pdftools
- python2-pexpect
- python2-pico-git
- python2-piexif
- python2-pillow
- python2-pillow-5.1.0
- python2-pip2pkgbuild
- python2-pluginloader
- python2-ply
- python2-polib
- python2-pretend
- python2-procname
- python2-profilehooks
- python2-profilehooks (make)
- python2-progress
- python2-psutil (make)
- python2-ptyprocess
- python2-py
- python2-pyasn1
- python2-pyaudio
- python2-pybluez-0.22
- python2-pycatfile
- python2-pycoin
- python2-pycrypto26
- python2-pycups
- python2-pydbgp
- python2-pydbgp (make)
- python2-pyfiglet
- python2-pygal
- python2-pyifbabel
- python2-pyinotify
- python2-pyinotify (make)
- python2-pylnk
- python2-pynmea
- python2-pynntp-git
- python2-pyparsing
- python2-pypsdd
- python2-pyqt4 (make)
- python2-pyrenamer
- python2-pyro3
- python2-pyrtf
- python2-pyscard
- python2-pyserial
- python2-pysphere
- python2-pytest-arraydiff
- python2-pytest-expect
- python2-pytest-mock
- python2-pytest-timeout
- python2-pytest-xvfb
- python2-pytoml
- python2-pytumblr-git
- python2-pytz
- python2-pyutmp
- python2-pyvirtualdisplay
- python2-pyxb
- python2-pyxb (make)
- python2-pyxdg
- python2-queryablelist
- python2-queryablelist (make)
- python2-readlike
- python2-remote-pdb
- python2-requests
- python2-requests-unixsocket
- python2-retrying
- python2-scandir
- python2-secrets
- python2-setuptools
- python2-simplejson
- python2-simpleparse
- python2-sip-pyqt4
- python2-six (make)
- python2-smartcols
- python2-socksipy-branch-1.01
- python2-sortedcontainers
- python2-sslpsk
- python2-steamodd-git (make)
- python2-stomper
- python2-subprocess32
- python2-teacup
- python2-tempdir
- python2-tempdir (make)
- python2-tmdb3
- python2-tokenlib
- python2-toml
- python2-twodict-git
- python2-twopoint-git (make)
- python2-txjsonrpc-git
- python2-typing
- python2-u-msgpack
- python2-ubjson
- python2-uinput
- python2-urlgrabber
- python2-urllib3
- python2-v4l2capture
- python2-vatnumber
- python2-viitenumero
- python2-volatility-git
- python2-volatility-git (make)
- python2-vulndb
- python2-vxi11
- python2-webencodings
- python2-werkzeug
- python2-wheel
- python2-wifi
- python2-wifileds
- python2-wnck (make)
- python2-wxpython3
- python2-xstatic-angular (make)
- python2-xstatic-angular-animate (make)
- python2-xstatic-angular-bootstrap (make)
- python2-xstatic-angular-cookies (make)
- python2-xstatic-angular-fileupload (make)
- python2-xstatic-angular-gettext (make)
- python2-xstatic-angular-lrdragndrop (make)
- python2-xstatic-angular-material (make)
- python2-xstatic-angular-mock (make)
- python2-xstatic-angular-notify (make)
- python2-xstatic-angular-sanitize (make)
- python2-xstatic-angular-schema-form (make)
- python2-xstatic-angular-uuid (make)
- python2-xstatic-angular-vis (make)
- python2-xstatic-bootstrap (make)
- python2-xstatic-bootstrap-datepicker (make)
- python2-xstatic-bootstrap-scss (make)
- python2-xstatic-bootswatch (make)
- python2-xstatic-d3 (make)
- python2-xstatic-font-awesome (make)
- python2-xstatic-hogan (make)
- python2-xstatic-jasmine (make)
- python2-xstatic-jquery (make)
- python2-xstatic-jquery-colourpicker (make)
- python2-xstatic-jquery-migrate (make)
- python2-xstatic-jquery-quicksearch (make)
- python2-xstatic-jquery-ui (make)
- python2-xstatic-jsencrypt (make)
- python2-xstatic-mdi (make)
- python2-xstatic-objectpath (make)
- python2-xstatic-rickshaw (make)
- python2-xstatic-roboto-fontface (make)
- python2-xstatic-smart-table (make)
- python2-xstatic-spin (make)
- python2-xstatic-termjs (make)
- python2-xstatic-tv4 (make)
- python2-yaml
- python2-zope-interface
- pytomtom
- pyxml
- pyxplot (make)
- qasm2circ
- qemu-guest-agent-windows (make)
- qt5-pmp-declarative (make)
- r-rnaseqr
- radare2-bindings
- radare2-bindings-git
- radare2-pipe-git
- radium
- radium-git
- ramses-git
- readesm-fr
- reclass
- reclass-git
- retmux
- retmux-git
- ripabook
- rodent (optional)
- roguehostapd-git
- rsbep-backup-git (make)
- scons2
- sk1-git (make)
- spdifconvert
- spelt
- sqlectron-gui-git (make)
- sssd-git (make)
- stegosaurus-lv2 (make)
- stl-thumbnailer
- stl2pov
- stlviewer-git (make)
- stratum-mining-proxy
- stream2chromecast-git
- streameye
- subcli
- summon
- surl
- svg2ggr
- swagger-editor-git (make)
- swift4-im-git (make)
- swiften4-git (make)
- synthclone (make)
- tegaki-pygtk
- tegaki-pygtk (make)
- tegaki-python
- tegaki-python (make)
- tegaki-recognize (make)
- thorspec (make)
- tiger1
- tinc-pre-git (optional)
- tinyswitch
- tnote
- torrentzip-svn (optional)
- tovid
- tplink-smartplug-git
- trachet-git
- ttl2c-git (make)
- tuxpaint (optional)
- tuxpaint-git (optional)
- uarm (optional)
- uarm-git (optional)
- uhub
- unibrow
- uniconvertor2-git (make)
- uniso
- unity-editor-lts
- unrpyc1
- uzbl-browser
- uzbl-browser-next-git
- uzbl-tabbed-next-git
- vampy
- vim-pythonhelper
- vim-ultisnips-git
- vim-voom
- vinetto
- virustotal
- vk4xmpp-git
- vte290 (make)
- wacom-utility
- wacom-utility-git
- wavdumper
- webkitfltk-static-git (make)
- webthings-gateway (make)
- wechat-devtools (make)
- weighttp-git
- wiggletools
- wireless-ids-git
- wm3con-git
- wmii-git (optional)
- xchat-se (optional)
- xe-guest-utilities (make)
- xenstore (make)
- xmmplayer (make)
- xt7-player-mpv (optional)
- xt7-player-mpv-git (optional)
- yagv-git
- yoda-git (optional)
- yorick-spydr-git
- yorick-yao-git
- zeromq3 (make)
- zoneclient
- zsh-directory-history-git
Sources (4)
andreas_baumann commented on 2026-05-13 14:33 (UTC) (edited on 2026-05-13 14:33 (UTC) by andreas_baumann)
stef204 commented on 2026-05-09 03:27 (UTC) (edited on 2026-05-09 03:38 (UTC) by stef204)
Here is a link to a modified PKGBUILD which should compile successfully (it includes the url to the patches which @cedric-air posted); I've tested it:
The patches download properly. The PKGBUILD will take care of that.
If you want the patches to create your own PKGBUILD, you can do:
curl -L "https://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/pub/proj/python/patchsets/2.7/python-gentoo-patches-2.7.18_p16.tar.xz" -o python-gentoo-patches-2.7.18_p16.tar.xz
patlefort commented on 2026-05-09 01:56 (UTC)
Gentoo patches fails to download. pokes
cedric-air commented on 2026-05-07 07:20 (UTC)
It seems the gentoo patches can be downloaded here: https://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/pub/proj/python/patchsets/2.7/
gschwarz commented on 2026-04-26 10:40 (UTC)
Building fails because the python Gentoo patches cannot be downloaded.
micwoj92 commented on 2025-07-21 20:25 (UTC)
@nroth no issues here. "Python 2 on Arch" already ended and this package is only on life support with each day less and less packages requiring it.
nroth commented on 2025-07-16 01:22 (UTC)
Looks like something to do with network access is at least partially broken in Python 2.7 on some systems, which breaks the build. Feel free to correct me if I'm wrong or if anyone has a fix.
For now, installing/updating with yay -S python2 --mflags "--nocheck" works, but network access and URL processing apparently do not work as expected. This will also not alert when additional things break.
The end of Python 2 on Arch seems imminent, unless someone wants to step in to fix this.
nroth commented on 2025-07-16 00:57 (UTC)
First failure:
test_ftp_basic (test.test_urllib2net.TimeoutTest) ... ERROR
test_ftp_default_timeout (test.test_urllib2net.TimeoutTest) ... ERROR
test_ftp_no_timeout (test.test_urllib2net.TimeoutTest) ... ERROR
test_ftp_timeout (test.test_urllib2net.TimeoutTest) ... ERROR
test_http_basic (test.test_urllib2net.TimeoutTest) ... ok
test_http_default_timeout (test.test_urllib2net.TimeoutTest) ... ok
test_http_no_timeout (test.test_urllib2net.TimeoutTest) ... ok
test_http_timeout (test.test_urllib2net.TimeoutTest) ... ok
======================================================================
ERROR: test_ftp_basic (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/nroth/.cache/yay/python2/src/Python-2.7.18/Lib/test/test_urllib2net.py", line 300, in test_ftp_basic
u = _urlopen_with_retry(self.FTP_HOST)
File "/home/nroth/.cache/yay/python2/src/Python-2.7.18/Lib/test/test_urllib2net.py", line 25, in wrapped
return _retry_thrice(func, exc, *args, **kwargs)
File "/home/nroth/.cache/yay/python2/src/Python-2.7.18/Lib/test/test_urllib2net.py", line 21, in _retry_thrice
raise last_exc
URLError: <urlopen error ftp error: [Errno 101] Network is unreachable>
======================================================================
ERROR: test_ftp_default_timeout (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/nroth/.cache/yay/python2/src/Python-2.7.18/Lib/test/test_urllib2net.py", line 309, in test_ftp_default_timeout
u = _urlopen_with_retry(self.FTP_HOST)
File "/home/nroth/.cache/yay/python2/src/Python-2.7.18/Lib/test/test_urllib2net.py", line 25, in wrapped
return _retry_thrice(func, exc, *args, **kwargs)
File "/home/nroth/.cache/yay/python2/src/Python-2.7.18/Lib/test/test_urllib2net.py", line 21, in _retry_thrice
raise last_exc
URLError: <urlopen error ftp error: [Errno 101] Network is unreachable>
======================================================================
ERROR: test_ftp_no_timeout (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/nroth/.cache/yay/python2/src/Python-2.7.18/Lib/test/test_urllib2net.py", line 320, in test_ftp_no_timeout
u = _urlopen_with_retry(self.FTP_HOST, timeout=None)
File "/home/nroth/.cache/yay/python2/src/Python-2.7.18/Lib/test/test_urllib2net.py", line 25, in wrapped
return _retry_thrice(func, exc, *args, **kwargs)
File "/home/nroth/.cache/yay/python2/src/Python-2.7.18/Lib/test/test_urllib2net.py", line 21, in _retry_thrice
raise last_exc
URLError: <urlopen error ftp error: [Errno 101] Network is unreachable>
======================================================================
ERROR: test_ftp_timeout (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/nroth/.cache/yay/python2/src/Python-2.7.18/Lib/test/test_urllib2net.py", line 328, in test_ftp_timeout
u = _urlopen_with_retry(self.FTP_HOST, timeout=60)
File "/home/nroth/.cache/yay/python2/src/Python-2.7.18/Lib/test/test_urllib2net.py", line 25, in wrapped
return _retry_thrice(func, exc, *args, **kwargs)
File "/home/nroth/.cache/yay/python2/src/Python-2.7.18/Lib/test/test_urllib2net.py", line 21, in _retry_thrice
raise last_exc
URLError: <urlopen error ftp error: [Errno 101] Network is unreachable>
----------------------------------------------------------------------
Ran 15 tests in 0.887s
FAILED (errors=4, skipped=1)
0:04:27 load avg: 1.71 [365/394/1] test_urllibnet -- test_urllib2net failed
nroth commented on 2025-07-16 00:56 (UTC) (edited on 2025-07-16 00:56 (UTC) by nroth)
Second failure:
======================================================================
FAIL: test_multiple_ftp_urlopen_same_host (test.test_urllibnet.urlopen_FTPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/nroth/.cache/yay/python2/src/Python-2.7.18/Lib/test/test_urllibnet.py", line 245, in test_multiple_ftp_urlopen_same_host
"Error message was: %s" % e)
AssertionError: Failed FTP binary file open. Error message was: [Errno ftp error] [Errno 101] Network is unreachable
----------------------------------------------------------------------
Ran 15 tests in 0.330s
FAILED (failures=2)
0:04:27 load avg: 1.71 [366/394/2] test_urlparse -- test_urllibnet failed
nroth commented on 2025-07-16 00:13 (UTC)
I'm getting the same issue as patriot-8891
2 tests failed:
test_urllib2 test_urllibnet
And then the package install cancels.
Does anyone have a workaround?
Pinned Comments