public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Steven Penny <svnpenn@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Python extraneous dependencies
Date: Tue, 26 Mar 2019 23:09:00 -0000	[thread overview]
Message-ID: <5c9ab133.1c69fb81.d2609.60f1@mx.google.com> (raw)
In-Reply-To: <1c57f64c080acc1bd5c2d2c0320e84d6baf217da.camel@cygwin.com>

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

  reply	other threads:[~2019-03-26 23:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-24  1:45 Steven Penny
2019-02-24  3:08 ` LRN
2019-02-25  2:24 ` Yaakov Selkowitz
2019-02-25 13:54   ` Steven Penny
2019-02-26  5:31     ` Yaakov Selkowitz
2019-02-26  9:48       ` Ray Donnelly
2019-03-26  2:39   ` Steven Penny
2019-03-26 14:08     ` Yaakov Selkowitz
2019-03-26 18:25       ` Steven Penny
2019-03-26 18:58         ` Yaakov Selkowitz
2019-03-26 23:09           ` Steven Penny [this message]
2019-04-21 15:46           ` Steven Penny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5c9ab133.1c69fb81.d2609.60f1@mx.google.com \
    --to=svnpenn@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).