From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IGnaDzQm+mOICAEAbAwnHQ (envelope-from ) for ; Sat, 25 Feb 2023 16:16:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CLroDjQm+mOFIwAAG6o9tA (envelope-from ) for ; Sat, 25 Feb 2023 16:16:04 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B3898F8AC for ; Sat, 25 Feb 2023 16:16:03 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677338163; a=rsa-sha256; cv=none; b=LJ9UoqGblDYq1VhoCEFu4P/kWRMD1S6bUXKcqWU5gAH1lxTkaOkX++QYeQoAO56hMM9KWA FmhptB0SySWg28QcCoZh1PzOwQJkJZx8+PT+PUBJzFGhktcLRtws2jjFkWyMXtubGOZdvg NR2Bu5Kb6FPu3QxbmRNrrDxTSintKshLh1XLfPhNATX9F7liaGNBBwdgWQtyfHgTjrKmgY cCVwDRq4SnUD1KAStjBxeHBZd3ZogazV3fztVUIipdAOPYZDgeg9Xg9itdBkL62mwM2Xcm Eai32GyqfwT0aF2Dhrvu4jE3wlGhuSIoSFnMe3UxXEVJoh77TzT3LkG83LI9jA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677338163; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=T+5q/7ZHulIknQoLD5eC+wg4bq7k/9+SiREvLJRCvzw=; b=izac6uB2/pl7WXOBAgCKU5OChH2+KN4etQxsMsSOHQMVr88JhV7xiQUp6ihxNH4yUJYqRK P87E7ATa5mDB5Z2M4RIMWEN8DIEieI0FoHh+wnoZORmuimIONHh7dGVwNIpF67VxhwdwmL E9V6GTc0Yl3iRPkl+JGjGojJsECuoAf5KGhL7m6CXmbjbViSUmF0OF60zRrs7Jfiqi8S7a kVX5mNlPAf8iJ4Q30A0T+lqMGq49YLE8QpTzJ5OlnbRhYzQcqr0HwdZjvXyvL0rKXeX3Lp f64uuWC7J1KB85HX+j53iGMGuRCFKATeoiiVO1bOvsQceGgkejI/kf77iOLEGQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVwH4-00005v-OS; Sat, 25 Feb 2023 10:15:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVwGq-00089Q-Rd for guix-devel@gnu.org; Sat, 25 Feb 2023 10:15:36 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVwGo-0006cf-Vy for guix-devel@gnu.org; Sat, 25 Feb 2023 10:15:32 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 0C91DC33; Sat, 25 Feb 2023 16:15:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Itw7FcO26NwA; Sat, 25 Feb 2023 16:15:25 +0100 (CET) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 25C69707; Sat, 25 Feb 2023 16:15:25 +0100 (CET) Date: Sat, 25 Feb 2023 16:15:23 +0100 From: Andreas Enge To: Lars-Dominik Braun Cc: guix-devel@gnu.org Subject: Re: Python Message-ID: References: <20230212100540.2214f16c@sybil.lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Received-SPF: pass client-ip=2a0c:e300::1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: B3898F8AC X-Spam-Score: -2.28 X-Migadu-Spam-Score: -2.28 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: tZ9o1ItXuGJ9 Hello Lars, Am Fri, Feb 24, 2023 at 07:08:44PM +0100 schrieb Lars-Dominik Braun: > sorry, I can’t quite keep up with the Python issues on core-updates > right now :( thanks for your reply, this is very helpful, as I am more than insecure when it comes to python packaging! > > Yet another python failure: python-pathlib > this is a backport of Python’s built-in pathlib library. It should be > dropped as a dependency for all of these packages, since our Python is >= > 3.4 – the version pathlib was introduced into the standard library. And > then drop the package entirely. Good, thanks for the info. What generally makes me hesitant is that we are down to manual dependency resolution without having a good overview: I need python-json-spec, which so far had pathlib as an input. When I drop pathlib, the package nevertheless fails to build due to its own Collection.abc issue. So I tried to update it to the latest version. This version requires python-importlib-metadata; not its latest version 6, but something at least 5 and less than 6. We were still at 4.something. So I have just updated it to 5.2.0, the latest version 5 from last December. This gives me python-json-spec, so I am one step closer to calibre, which I am interested in. But python-importlib-metadata has 892 dependents (among which interesting looking ones, such as freecad and gnome-terminal). I wonder whether I am not breaking 891 dependents by enabling, maybe, the one that I am interested in. Anyway, I am operating from the assumption that updating to a newer version is always good, and that packages that do not build anymore will have to be updated or patched themselves. Hopefully this is a reasonable assumption in the python world... If not, please feel free to revert my changes and to propose a different solution. Andreas