From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30988 invoked by alias); 26 Mar 2019 23:09:44 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 30980 invoked by uid 89); 26 Mar 2019 23:09:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*M:1c69fb81, somewhere, H*M:google, noticed X-HELO: mail-ot1-f50.google.com Received: from mail-ot1-f50.google.com (HELO mail-ot1-f50.google.com) (209.85.210.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 26 Mar 2019 23:09:42 +0000 Received: by mail-ot1-f50.google.com with SMTP id e5so13119958otk.12 for ; Tue, 26 Mar 2019 16:09:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:references:subject:to:user-agent; bh=XCNtiT6cA4aXeZMn2monTsXdF3a8hHwYJGz++XsXAiw=; b=n3aGlg0G8+RFrMr6u6Anm44SfdMVJQq7jh4xRx3VPch0ZUBCnSFLuQ4hV1vU2sgDMw j2mOl4RaQQuKAv51rOLS+2sfJ7FHDlmQwwnD2MsQ5gfJVdZqWVtEljGrncqkIg1a5I8y 82X13rMClsMUgE9uv2j2pqOr9uAg4BQtkkes+EfZEv6ZdzVlUiBXa+QDRkz1033onvu1 qERN7t3c5Zwqrsn4IKlPH4UdKWRIluqayPKitDPkUzMPgwExDOASgBB4rSqLBcin7Q7V 0P6Xm605mz7ytU1j+3OBpjFysJIyxY4B54FUZ24TaQB3JVR0EW84UVna4HqboeLZka4h iR0g== Return-Path: Received: from VoK ([2605:6000:9fc0:56:2199:655:be99:2224]) by smtp.gmail.com with ESMTPSA id t14sm10215750otj.23.2019.03.26.16.09.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Mar 2019 16:09:39 -0700 (PDT) Message-ID: <5c9ab133.1c69fb81.d2609.60f1@mx.google.com> Date: Tue, 26 Mar 2019 23:09:00 -0000 From: Steven Penny References: <1c57f64c080acc1bd5c2d2c0320e84d6baf217da.camel@cygwin.com> Subject: Re: Python extraneous dependencies To: cygwin@cygwin.com Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.8.0 (cup.github.io/suede/tryst) X-SW-Source: 2019-03/txt/msg00596.txt.bz2 On Tue, 26 Mar 2019 14:58:12, Yaakov Selkowitz wrote: > Nak. ctypes is part of the Python standard library and therefore the > dependency needs to be on the main package(s). > > BTW, binutils is usually included by default in all but the most > minimal base installs, so I'm not quite sure why you object so much to > this requirement. Using Python 3.6 I noticed that a: print('hello world') will actually work with only the Base packages and the "python36" package, and none of the current "python36" dependencies installed. Obviously this comes with some caveats as you have pointed out. But my counter is this: - Current "python36" package is 5,746,648 bytes - "binutils" 2.29 package is 5,863,216 bytes So by choosing to have "binutils" as a dependency we are literally doubling the size of Cygwin Python install. To me this is not trivial. I know with Git it used to "require" Python but not really - it was only some ancillary scripts that were eventually broken out into their own package so that the Python requirement could be removed from Cygwin Git. To contrast however the Perl dependency remained with Cygwin Git as currently its too ingrained to be removed. What Im saying is that while you are technically correct that "binutils" is a requirement for current Cygwin Python, it doesnt have to be that way. We could move the Python elements that require binutils into their own package, or we could create a "python_base" similar to "perl_base". I think if we just say "something somewhere in the bowels of Python needs it, so it must be a hard dependency", even if that thing is rarely used by anyone, we are doing a disservice to the Cygwin community. However that may not be the case and perhaps "ctypes" is used much more than I am aware of. Thanks -- 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