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 E4BAF35A2B3 for ; Wed, 27 Aug 2025 14:28:42 +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=1756304923; cv=none; b=DNzczicMJld6PIqAuNuuTkJfl7aRiRSex5ulBpZ66YEZ1/pDCnmGJlPk9CDKXsbVBvIFmj6wt6d8chQutAcZEkVsYy/w5jS4evioG5UakK4gDsgeMFSXRiFkci31MA8ZYUQE8QXhg2T9fld4x78GdrUqMOSxVLoIUZI2Y1cAUdo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756304923; c=relaxed/simple; bh=1mumYXDuoF1YrIyq3IWKZYTQ51Fp0mBMjGiwrKIgpp4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LahXkkqVuQM4WYGkeo48Q+w5gbMkWHqjA2qO882YRkOEaqCC9/7sn7hwJVlYdZo/hzLoEGni/yfXVGHYIghAKqE2eyKLfT+0f8f22a/bH/aR6OK37Sp8yNBXQBX/KiXDrmflgFz40j1I2QEuLBoNcyeOYMxX0ce/7tnct6YJnqs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IzXTKrWE; 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="IzXTKrWE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8FBFAC4CEF5; Wed, 27 Aug 2025 14:28:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1756304922; bh=1mumYXDuoF1YrIyq3IWKZYTQ51Fp0mBMjGiwrKIgpp4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IzXTKrWEZBFtO4s/NHL9C6Ilaj3a531hs2o3CG3c89SlmKIEpM/4Wow0IkmQ9IoGr yvsQ+YpL1PPuTl9QTfQQwEFNcFEdL7ddZHQv//UuSNjNZ0UX8spPT7CfqDhmmNui7M 4RQTK9tBs32T1tM4FIpojWwCqum/HdynNsRUv+WiQryK+WNQd0VUh49r0WCjdY2U1O AHOLMdAYTT6FhJxGDNdi/SZAuf+pWhZxSVlSJOjxP+kLOq6/+QvlR/emxiJJWwNrFY F4FNtSYbETAu+YrbaqnNvqgPSqp1i0jUn1Fu0604lbEUN354ZScUZfPS2C2tSbGGhI QKn+ET2DD5cLQ== From: Chuck Lever To: Cc: Chuck Lever Subject: [PATCH v1 19/26] pynfs: Don't install xdrlib3 on older RHEL Date: Wed, 27 Aug 2025 10:28:14 -0400 Message-ID: <20250827142832.2629291-20-cel@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250827142832.2629291-1-cel@kernel.org> References: <20250827142832.2629291-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". 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