From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59D33214801 for ; Thu, 4 Sep 2025 15:15:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756998938; cv=none; b=HuLQ9goMMoAcdwP4zkvvY0wPEUCPIUMDcC1h4uLAnDoFl+QHOlOsuDSG7EJ0LH64N1cAOxDeD9gASQcyVtyuE3SxdtVHn2sJsYyAQ2Yg8Ly3Q6P8xURV2atk/L5Vbqo4HDg7AtB3dtHHOC8EmfGbG+PmBPgUVPqJOItIlmDcoW4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756998938; c=relaxed/simple; bh=t4coHHc1A8LiVrOnZLP876iO6G+BliSYnRPCxymPvsQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FkV20ePVWMwpTzqYgR9ISjN2iwcJRilNh/9WaNcNuL2Z8PFjU3ajzKIzP7hAXcP7wubOHurzgpWnZvwdwcvV6EO1a7WMJTbRYi2fnla7Hqz2UH/KxXdBkh9nfQj5TBI+qoFYwyAEDCPQoXBzNf7oTnOekCviLx4IAzig7lL0tcg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kgfjijYd; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kgfjijYd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8899C4CEF0; Thu, 4 Sep 2025 15:15:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1756998938; bh=t4coHHc1A8LiVrOnZLP876iO6G+BliSYnRPCxymPvsQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kgfjijYdl/H01iNX25XIy8r/MJv855a8p4EUY6UMTGJuSY584+X148I7t/ct+e5Kr IDnlIwm3whIbI0AC23tSvNhnKHh4ppnuTdGUIQAt5lTWAHCbX+YJKdbXSbQeDIOK2e pbIqQ/WlSzFdYU5atBegC4L4fY91Y8VhOZ19PlVSq8P/ZzeIdjYHYJLKw9Fycpp8uK RP/wqGvxpicgWYUe80yNe5h6ouLd6cAYGf/8fS7m0042xD0hCguaetZS4ihWzAlnpB LH1QgeDIC144Y8pSEuQV9/Pmjw6+t9LQu3hjJJah1FyCVYYJmD24G46QESP5lD2ehR 9pYpHbTU/1xDg== From: Chuck Lever To: Cc: Chuck Lever , Luis Chamberlain Subject: [PATCH v3 19/36] pynfs: Don't install xdrlib3 on older RHEL Date: Thu, 4 Sep 2025 11:15:07 -0400 Message-ID: <20250904151526.1596282-20-cel@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250904151526.1596282-1-cel@kernel.org> References: <20250904151526.1596282-1-cel@kernel.org> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Chuck Lever When running the pynfs workflow on RHEL 8: > :stderr: Could not find a version that satisfies the requirement > xdrlib3 (from versions: ) > No matching distribution found for xdrlib3 RHEL 8 sports a version of Python that neither requires or supports the use of "pip install xdrlib3". Reviewed-by: Luis Chamberlain Signed-off-by: Chuck Lever --- playbooks/roles/pynfs/tasks/install-deps/redhat/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/roles/pynfs/tasks/install-deps/redhat/main.yml b/playbooks/roles/pynfs/tasks/install-deps/redhat/main.yml index 5139825ea872..6046c84ac4c4 100644 --- a/playbooks/roles/pynfs/tasks/install-deps/redhat/main.yml +++ b/playbooks/roles/pynfs/tasks/install-deps/redhat/main.yml @@ -27,3 +27,5 @@ - name: Install xdrlib3 ansible.builtin.pip: name: xdrlib3 + when: + - ansible_distribution == "Fedora" or ansible_distribution_major_version | int > 8 -- 2.51.0