From owner-freebsd-ports@FreeBSD.ORG Mon Nov 3 11:58:35 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF1E316A4CE; Mon, 3 Nov 2003 11:58:35 -0800 (PST) Received: from chilled.skew.org (skew.org [65.101.207.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id E06AD43FD7; Mon, 3 Nov 2003 11:58:34 -0800 (PST) (envelope-from mike@skew.org) Received: from chilled.skew.org (localhost.skew.org [127.0.0.1]) by chilled.skew.org (8.12.9p2/8.12.9) with ESMTP id hA3Jwadh044156; Mon, 3 Nov 2003 12:58:36 -0700 (MST) (envelope-from mike@chilled.skew.org) Received: (from mike@localhost) by chilled.skew.org (8.12.9p2/8.12.9/Submit) id hA3JwZc5044155; Mon, 3 Nov 2003 12:58:35 -0700 (MST) (envelope-from mike) From: Mike Brown Message-Id: <200311031958.hA3JwZc5044155@chilled.skew.org> To: perky@freebsd.org Date: Mon, 3 Nov 2003 12:58:35 -0700 (MST) X-Whoa: whoa. X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: ports@freebsd.org cc: Jeremy Kloth Subject: Why is PyExpat not in the Python 2.3 package? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2003 19:58:36 -0000 We have a complaint about the Python 2.3 package, e.g. the one dated Oct 30 at ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-stable/All/python-2.3.2_1 The problem is that the package apparently does not include PyExpat. Starting with Python 2.3, Python ships with its *own* Expat (1.95.6) C libs and corresponding PyExpat bindings, so there is no longer a dependency on external libs for this, contrary to what the package's post-install message says. That dependency should only be effective for Python 2.2.x and prior. In our opinion, there is no need to omit XML support from the build. In fact, developers of XML applications for Python 2.3 and up are going to be surprised, as we were, at the failure of, say, xml.sax.make_parser() when using what we thought would be a stock Python 2.3 installed from the packages collection on FreeBSD. The presence of Expat is expected because it is now part of the core of Python, in a default build. Distributing Python without it is like distributing Python without distutils. I mean, sure, you can do it, but it's not the default, and there seems to be no good reason not to include it. Is there? TIA for whatever attention to this issue you can provide. Respectfully - Mike Brown, core developer for 4Suite Jeremy Kloth, core developer for 4Suite, PyXML