Unverified Commit 983334de authored by Yt's avatar Yt Committed by GitHub
Browse files

python3Packages.cleanlab: 2.7.1 -> 2.8.0 (#478091)

parents 17163beb 4656f140
Loading
Loading
Loading
Loading
+10 −17
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@

  # build-system
  setuptools,
  setuptools-scm,

  # dependencies
  numpy,
@@ -30,22 +31,21 @@
  pythonAtLeast,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "cleanlab";
  version = "2.7.1";
  version = "2.8.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "cleanlab";
    repo = "cleanlab";
    tag = "v${version}";
    hash = "sha256-KzVqBOLTxxkgvoGPYMeYb7zMuG8VwQwX6SYR/FUhfBw=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-sgDQJy0iNxs3bIVuqV7LVEFC0jjlWvnqFzKr7ZDGmPo=";
  };

  build-system = [ setuptools ];

  pythonRelaxDeps = [
    "numpy"
  build-system = [
    setuptools
    setuptools-scm
  ];

  dependencies = [
@@ -56,13 +56,6 @@ buildPythonPackage rec {
    pandas
  ];

  # This is ONLY turned off when we have testing enabled.
  # The reason we do this is because of duplicate packages in the enclosure
  # when using the packages in nativeCheckInputs.
  # Affected packages: grpcio protobuf tensorboard tensorboard-plugin-profile
  catchConflicts = (!doCheck);
  doCheck = true;

  nativeCheckInputs = [
    cleanvision
    datasets
@@ -111,7 +104,7 @@ buildPythonPackage rec {
  meta = {
    description = "Standard data-centric AI package for data quality and machine learning with messy, real-world data and labels";
    homepage = "https://github.com/cleanlab/cleanlab";
    changelog = "https://github.com/cleanlab/cleanlab/releases/tag/v${version}";
    changelog = "https://github.com/cleanlab/cleanlab/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.agpl3Only;
    maintainers = with lib.maintainers; [ happysalada ];
    # cleanlab is incompatible with datasets>=4.0.0
@@ -119,4 +112,4 @@ buildPythonPackage rec {
    # https://github.com/cleanlab/cleanlab/issues/1244
    broken = lib.versionAtLeast datasets.version "4.0.0";
  };
}
})