Unverified Commit 7ac8d2c6 authored by Jairo Llopis's avatar Jairo Llopis
Browse files

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.
parent cb0966b9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ 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";