[Yum-devel] yum 2.1.7 incompatibility with python 2.2

Ryan Tomayko rtomayko at gmail.com
Fri Oct 15 13:08:00 UTC 2004


That should definitely not be doing that. I'll take a look tonight.

timeouts won't be supported on python < 2.3 but we shouldn't be
failing horribly like that either.

Thanks,
Ryan

On Fri, 15 Oct 2004 13:31:25 +0300 (EEST), Panu Matilainen
<pmatilai at welho.com> wrote:
> 
> [root at localhost root]# rpm -q yum python
> yum-2.1.7-1
> python-2.2.3-5
> [root at localhost root]# yum list
> Traceback (most recent call last):
>   File "/usr/share/yum-cli/yummain.py", line 23, in ?
>     import yum
>   File "/usr/lib/python2.2/site-packages/yum/__init__.py", line 33, in ?
>     from urlgrabber.grabber import URLGrabError
>   File "/usr/lib/python2.2/site-packages/urlgrabber/__init__.py", line 53,
> in ?
>     from grabber import urlgrab, urlopen, urlread
>   File "/usr/lib/python2.2/site-packages/urlgrabber/grabber.py", line 287,
> in ?
>     socket.setdefaulttimeout(30.0)
> AttributeError: 'module' object has no attribute 'setdefaulttimeout'
> 
> Dunno if compatibility with older python versions is considered important
> or not but this is a problem for RHEL 3 (and thus CentOS etc) at least.
> 
>         - Panu -
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at linux.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
>



More information about the Yum-devel mailing list