www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/27/18:23:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B60CB02.7010106@users.sourceforge.net>
Date: Wed, 27 Jan 2010 17:23:46 -0600
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Python 2.6 ?
References: <4B5EADFB DOT 4010200 AT users DOT sourceforge DOT net> <20100126135611 DOT GA2212 AT tishler DOT net> <4B5F54D1 DOT 3080400 AT users DOT sourceforge DOT net> <20100127193431 DOT GA1332 AT tishler DOT net>
In-Reply-To: <20100127193431.GA1332@tishler.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 27/01/2010 13:34, Jason Tishler wrote:
> I prefer the above approach.  However, what happens if 2.7 is released
> during the 2.5 to 2.6 transition period?

2.7 is currently holding at alpha2.  The 2.7 release schedule[1] shows 
that 2.7 final is due in June, and even if it's on time, it could be 
months before most software is ready for 2.7 and even longer before 
anything actually *needs* it.  I doubt most distros will make it the 
default 2.x version until 2011, so I still think 2.6 is the way to go 
right now.

> I would like to avoid supporting multiple 2.x packages simultaneously.

Fair enough, especially as 2.7 is due to be the last version of the 2.x 
series.

> OK, but what do you mean by "the -devel package is required"?  After
> reading the patch, I think you mean the binutils package.  Please
> confirm.

You are correct that binutils becomes a dependency of python.  What I 
meant to say is that, e.g. as is done in PyOpenGL, 
ctypes.util.find_library('GL') will require /usr/lib/libGL.dll.a to be 
installed, meaning that libGL-devel (which already requires: libGL1) 
will be in python-opengl's requires:.  I understand this might sound 
strange at first, but if you look at the Linux code in ctypes/util.py, 
not only do you need the -devel package and binutils, but gcc (!) as well.

If the binutils dependency bothers you for python as a whole, you could 
always split out python-ctypes into a separate binary package.  You will 
see that my .cygport files do that for the test modules (as they are 
generally not needed for normal operation), Tkinter (as the Ports 
version uses *NIX/X11 Tcl/Tk, which adds several deps not needed by the 
rest of Python), and Idle (which depends on Tkinter).


Yaakov

[1] http://www.python.org/dev/peps/pep-0373/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019