Unverified Commit b44ee2cb authored by Samuel Ainsworth's avatar Samuel Ainsworth Committed by GitHub
Browse files

python312Packages.mhcflurry: 2.1.1 -> 2.1.3 (#343599)

parents 81ea4e40 706fa3ea
Loading
Loading
Loading
Loading
+14 −8
Original line number Diff line number Diff line
{
  appdirs,
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # dependencies
  appdirs,
  keras,
  lib,
  mhcgnomes,
  nose,
  pandas,
  pytestCheckHook,
  pyyaml,
  scikit-learn,
  tensorflow,
  tf-keras,
  tqdm,

  # tests
  nose,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "mhcflurry";
  version = "2.1.1";
  version = "2.1.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "openvax";
    repo = "mhcflurry";
    rev = "refs/tags/v${version}";
    hash = "sha256-absIKvcFo6I1Uu0t+l8OLOU/AQ4kD295P4+KVwMAWMc=";
    hash = "sha256-Xz3Myd+pifNQMTH1BC2qsQEy7UorYNQNj+7ysMVmCOs=";
  };

  # keras and tensorflow are not in the official setup.py requirements but are required for the CLI utilities to run.
@@ -35,6 +40,7 @@ buildPythonPackage rec {
    pyyaml
    scikit-learn
    tensorflow
    tf-keras
    tqdm
  ];

@@ -88,7 +94,7 @@ buildPythonPackage rec {
    changelog = "https://github.com/openvax/mhcflurry/releases/tag/v${version}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ samuela ];
    # ModuleNotFoundError: No module named 'keras.api._v2' as tensorflow is too outdated
    broken = true;
    # Requires a recent version of tensorflow
    broken = lib.versionOlder tensorflow.version "2.15.0";
  };
}