From 25f6ddf60104cfede4842b0462b473a90dd07c23 Mon Sep 17 00:00:00 2001 From: Ches Martin Date: Mon, 15 Jan 2024 17:15:18 +0700 Subject: [PATCH] poetry: Relax dep requirement check for xattr Following from #280522, the xattr dependency still failed the pythonRuntimeDepsCheck hook, likely overlooked because it is a Darwin-only dep: > Checking runtime dependencies for poetry-1.7.1-py3-none-any.whl > - xattr<0.11.0,>=0.10.0 not satisfied by version 1.0.0 From 0.10.0 to 1.0.0 there are no functional changes with compatibility implications, only dropped support for Python 2. --- pkgs/tools/package-management/poetry/unwrapped.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/package-management/poetry/unwrapped.nix b/pkgs/tools/package-management/poetry/unwrapped.nix index 009dec1a6c25..53e61354deed 100644 --- a/pkgs/tools/package-management/poetry/unwrapped.nix +++ b/pkgs/tools/package-management/poetry/unwrapped.nix @@ -61,6 +61,8 @@ buildPythonPackage rec { pythonRelaxDeps = [ # platformdirs 4.x is backwards compatible; https://github.com/python-poetry/poetry/commit/eb80d10846f7336b0b2a66ce2964e72dffee9a1c "platformdirs" + # xattr 1.0 is backwards compatible modulo dropping Python 2 support: https://github.com/xattr/xattr/compare/v0.10.0...v1.0.0 + "xattr" ]; propagatedBuildInputs = [