From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8BC59159C96 for ; Mon, 29 Jul 2024 20:10:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7109E2AE4; Mon, 29 Jul 2024 20:09:56 +0000 (UTC) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5A2C1E2ADF for ; Mon, 29 Jul 2024 20:09:56 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1sYWgt-0004OQ-6N for gentoo-user@lists.gentoo.org; Mon, 29 Jul 2024 22:09:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: 17 new packages because pip wants to write poetry? Date: Mon, 29 Jul 2024 20:09:46 -0000 (UTC) Message-ID: References: <5298f915-8e1e-40d6-b64c-da720eafad6f@gentoo.org> User-Agent: slrn/1.0.3 (Linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 85bd1470-7fd3-49e9-ab3e-97ddd27ad36d X-Archives-Hash: 016d45d40507f2b97e8eb54af1b5441c On 2024-07-29, Eli Schwartz wrote: >> [...] I (for one) would appreciate some sort of notice when such an >> unbundling happens so that I don't waste time trying to track down >> why emerge suddenly wants to install a bunch of new packages. I >> can't really come up with a good mechanism for that other than news >> items. > > Well, it is there in the `git log` of the package. And at > https://packages.gentoo.org/packages/dev-python/pip/changelog > > Commits on 2024-06-23 > > dev-python/pip: Unbundle dependencies Right, but that's only useful after you track down the trigger for the new packages. What would be nice is avoiding that "tracking down" effort. [I know, I should just relax, hit 'Y', and trust that emerge and the devs know what they're doing.] >> OK, now I'm genuinely curious: what does pip need to do with markdown >> and RTF? My first guess was that its man pages aren't written in nroff >> any more and somehow markdown was being used. [I already had at least >> one markdown implementation installed, but pip apparently demands a >> different one.] But there is no man page for pip. There are a bunch of >> documents in /usr/share/doc/pip-, but they're all reStructured Text. >> >> Oh well, I guess I should be thankful it didn't force LaTeX and pandoc >> installs. > > Python software loves to depend on python software and hates to depend > on anything that isn't written in python, so I think you're pretty safe > there. :) Good point. :) > As for why it needs to format markdown -- build dependencies of > python software often do, since they want to render the darned stuff > into the https://pypi.org display page for that software Oh. Is that display page (in html?) written into a log somewhere or shown during the build? > and the one and only way to do so is to render it into the metadata > files which get installed at runtime -- and which are also directly > displayed on https://pypi.org > > I don't understand it myself, either. You certainly understand more of it than I do. > In this case it's actually a bit worse because pip internally uses, and > usually bundles a code copy, of https://pypi.org/project/rich/ > > "rich" can do a lot of things, including take markdown and print it with > fancy formatting and colors to your terminal emulator. pip isn't using > most of the features of rich, but it is *using* rich at all, and > therefore markdown ends up as a recursive dependency. > ... > > aside: there are pip manpages, funny you should mention that. When installed on Gentoo using dev-python/pip? > I could totally add another bdepend on sphinx for this! But I would have > to package some things first. :( No thanks, sphinx would pull in 10 more packages. :) If I need pip documentation, I can google for it or look at the rst.bz2 files install in /usr/share/doc... Thanks for tolerating my whinging. -- Grant