From 7ac8d2c63bed21f0cca9c564fc8bc05bcf54bbf2 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Thu, 6 Jul 2023 12:30:59 +0100 Subject: [PATCH] python3Packages.syrupy: fix wrong version disabler `pythonOlder` only checks for major and minor version specifiers of python. However, https://github.com/tophat/syrupy/releases/tag/v4.0.0 specifies that 3.8.1 is the minimum supported release. Currently, although deprecated, the provided python38 version is 3.8.17. Thus this package should be available. --- pkgs/development/python-modules/syrupy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/syrupy/default.nix b/pkgs/development/python-modules/syrupy/default.nix index 4043cb637c2f..d571c9dd7655 100644 --- a/pkgs/development/python-modules/syrupy/default.nix +++ b/pkgs/development/python-modules/syrupy/default.nix @@ -1,7 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub -, pythonOlder +, python , poetry-core , pytest , colored @@ -13,7 +13,7 @@ buildPythonPackage rec { version = "4.0.2"; format = "pyproject"; - disabled = pythonOlder "3.8.1"; + disabled = lib.versionOlder python.version "3.8.1"; src = fetchFromGitHub { owner = "tophat";