From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QP0yMEWnOmNCTAAAbAwnHQ (envelope-from ) for ; Mon, 03 Oct 2022 11:11:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YHlVMEWnOmOrLAAA9RJhRA (envelope-from ) for ; Mon, 03 Oct 2022 11:11:33 +0200 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 849F536725 for ; Mon, 3 Oct 2022 11:11:33 +0200 (CEST) Received: from localhost ([::1]:47566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofHU4-0007FR-Mw for larch@yhetil.org; Mon, 03 Oct 2022 05:11:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofHOl-0003wN-27 for bug-guix@gnu.org; Mon, 03 Oct 2022 05:06:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofHOk-0005ro-N7 for bug-guix@gnu.org; Mon, 03 Oct 2022 05:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofHOk-0004LQ-IE for bug-guix@gnu.org; Mon, 03 Oct 2022 05:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58149: Letting clients warn about old daemons Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 03 Oct 2022 09:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58149 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe , Maxim Cournoyer Cc: Matthieu Haefele , 58149@debbugs.gnu.org, zimoun Received: via spool by 58149-submit@debbugs.gnu.org id=B58149.166478790616625 (code B ref 58149); Mon, 03 Oct 2022 09:06:02 +0000 Received: (at 58149) by debbugs.gnu.org; 3 Oct 2022 09:05:06 +0000 Received: from localhost ([127.0.0.1]:48946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofHNp-0004K5-MR for submit@debbugs.gnu.org; Mon, 03 Oct 2022 05:05:05 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:13149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofHNn-0004JW-Sb for 58149@debbugs.gnu.org; Mon, 03 Oct 2022 05:05:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version:content-transfer-encoding; bh=5BT2pkINDnXNn4a7x8wXNWDcaJdN3cHuU9Nr2/pmZwc=; b=cG4oH5vryhR+QAjkZR00p6TJMNXiwghnTxXwO6SjjauUgrOpZ4b43yIP hPlsflGyF7Fp09Lok5gNdFH3IlmHnL4Jve2H/nx3+C67oxrweQenIms5f JB8qct9ZlhgZWc2ZFWCxcDg+kGL2k4S8P5F0G8FNnCFmeJQXp1BDXKAOn I=; X-IronPort-AV: E=Sophos;i="5.93,365,1654552800"; d="scan'208";a="25290981" Received: from unknown (HELO ribbon) ([193.50.110.164]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2022 11:04:56 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87mtajb1bz.fsf@gmail.com> <87bkqycndo.fsf@inria.fr> <87h70q9pqh.fsf@inria.fr> <5e2f17b1-c763-c6ce-1223-0a8f6cd3c734@cnrs.fr> <878rm18f7r.fsf@inria.fr> <6765fefb-b632-ac3e-8a82-53904468b471@cnrs.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Duodi 12 =?UTF-8?Q?Vend=C3=A9miaire?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour de l'Immortelle X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 03 Oct 2022 11:04:56 +0200 In-Reply-To: <6765fefb-b632-ac3e-8a82-53904468b471@cnrs.fr> (Matthieu Haefele's message of "Fri, 30 Sep 2022 11:42:42 +0200") Message-ID: <87sfk51dmv.fsf_-_@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664788293; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5BT2pkINDnXNn4a7x8wXNWDcaJdN3cHuU9Nr2/pmZwc=; b=Lq2ewkiuyrN+mncfg/92zgPX2cmlOlI0mTTzraOY9nd8w044sO8UqdpK/DjrDAtRcmJZyQ Z3/M5G1PI4VTOJAe9UyIUVrR77sVijLNJo1vh+AbG2zToVhm5rOAsv7iwzdX1hmq5jZ76i hcFsTQUTuJk20uBKSO2FmXOeXacRt9ikVa3nEiR3cHyiSHsaCAqULZ5wEotmWeX7jWbGhJ 6abpdgN3/akj8mFGEW+KcMW30FF1raEFE6WbHFPVCfVpLynfkb+Y7z9LzZQMwu91pIMIt6 C1KXsbYKKbSKM0QQtfBs+u7TiFHYVPQtora/x/xGAmEP4xa5rxkCu93RY1ZYJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664788293; a=rsa-sha256; cv=none; b=r6s+tEsnkd9SmtFM79VpPRAIR+8qMZv6Dc5LHysF1HnJyNBKt+hRaNR/3C2hNdGYhpItQM 3inMUnxZlqmj77xKj5puxD5KY5UV6JGDJTmmj++xa8xHYHYjXNJrHdx46eQFJFvI4OwOPz aQ5s0f1/i0AKGN4DZsRzRCXfVX7cNBBw2isO0aiCLihT9KLkRYTWh/4L/fQEBxJacfAz1E ilCKznz1FDlYzFt25aZHp2YRUHaniJZ9jveYxAATZpRkHf1WYtySEx7Hh3K//ZfFFEG7pj kdvMLEKLPv1IsoyZEKXmV9MiSRLIe0WDk5QHHTl1LqVmjmJBR4ABX3ZZ1/R0Ag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=cG4oH5vr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.45 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=cG4oH5vr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 849F536725 X-Spam-Score: 7.45 X-Migadu-Scanner: scn1.migadu.com X-TUID: VTSIrRMsqqTb Hi, (Cc: Mathieu O. + Maxim.) Matthieu Haefele skribis: > I worked intensively with guix this summer, I did not get any > deprecation warnings, I am quite sure. And I still do not get any. So > might be a good idea to check the deprecation machinery. > > (base) mhaefele@mdlspc113:~ $ guix shell python-numpy python coreutils > (base) mhaefele@mdlspc113:~ $ echo $GUIX_ENVIRONMENT > /gnu/store/cy8y10jfnbq5y2r16i13q04h1lii428a-profile Indeed. I=E2=80=99ve just realized that commit f9c62b23cc88541756656b3ec602ce987828d906, which added that deprecation warning, will actually only fire with daemons dating back from before 2018 (the date at which =E2=80=98PROTOCOL_VERSION=E2=80=99 was last updated= in =E2=80=98worker-protocol.hh=E2=80=99). Going back to this issue at hand, i= t won=E2=80=99t report a daemon that lacks lzip support. Mathieu, Maxim: I think we need a finer-grain mechanism here, or maybe a new builtin that would let a client ask the daemon for supported features. Thoughts? Ludo=E2=80=99.