Unverified Commit 341a9005 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #212136 from fabaff/dvc-objects-bump

python310Packages.dvc-data: 0.28.4 -> 0.35.1, python310Packages.dvc-objects: 0.14.0 -> 0.19.0
parents ad6cd417 85256447
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -8,13 +8,14 @@
, nanotime
, pygtrie
, pythonOlder
, shortuuid
, setuptools-scm
, shortuuid
, sqltrie
}:

buildPythonPackage rec {
  pname = "dvc-data";
  version = "0.28.4";
  version = "0.35.1";
  format = "pyproject";

  disabled = pythonOlder "3.8";
@@ -23,7 +24,7 @@ buildPythonPackage rec {
    owner = "iterative";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-ocwOIhguH460+HJ0sE5Wj+KOiyG4NprJ+QaO+YtfTGU=";
    hash = "sha256-MyYRkClbJDcMgwAHcESY0Bo7LgAFpDtkOVmVRUJ7jME=";
  };

  SETUPTOOLS_SCM_PRETEND_VERSION = version;
@@ -40,6 +41,7 @@ buildPythonPackage rec {
    nanotime
    pygtrie
    shortuuid
    sqltrie
  ];

  # Tests depend on upath which is unmaintained and only available as wheel
@@ -57,6 +59,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "DVC's data management subsystem";
    homepage = "https://github.com/iterative/dvc-data";
    changelog = "https://github.com/iterative/dvc-data/releases/tag/${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ fab ];
  };
+3 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

buildPythonPackage rec {
  pname = "dvc-objects";
  version = "0.14.0";
  version = "0.19.0";
  format = "pyproject";

  disabled = pythonOlder "3.8";
@@ -25,7 +25,7 @@ buildPythonPackage rec {
    owner = "iterative";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-Refpekyr114mIGvbaAynxldA+s83EtALeLoTQO73b/M=";
    hash = "sha256-jwjhRY1SMqiTZ5UJmoZb4odg3g8uC9ehPmxRU2VsH8U=";
  };

  SETUPTOOLS_SCM_PRETEND_VERSION = version;
@@ -56,6 +56,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Library for DVC objects";
    homepage = "https://github.com/iterative/dvc-objects";
    changelog = "https://github.com/iterative/dvc-objects/releases/tag/${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ fab ];
  };
+52 −0
Original line number Diff line number Diff line
{ lib
, attrs
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pygtrie
, orjson
, python
, setuptools-scm
}:

buildPythonPackage rec {
  pname = "sqltrie";
  version = "0.0.26";
  format = "pyproject";

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "iterative";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-QxQyxGOt6K3Q/ShdTMgI72lJML4J1+zZj1OoKyPAYVs=";
  };

  SETUPTOOLS_SCM_PRETEND_VERSION = version;

  nativeBuildInputs = [
    setuptools-scm
  ];

  propagatedBuildInputs = [
    attrs
    orjson
    pygtrie
  ];

  # nox is not available at the moment
  doCheck = false;

  pythonImportsCheck = [
    "sqltrie"
  ];

  meta = with lib; {
    description = "DVC's data management subsystem";
    homepage = "https://github.com/iterative/sqltrie";
    changelog = "https://github.com/iterative/sqltrie/releases/tag/${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -10896,6 +10896,8 @@ self: super: with self; {

  sqlsoup = callPackage ../development/python-modules/sqlsoup { };

  sqltrie = callPackage ../development/python-modules/sqltrie { };

  srp = callPackage ../development/python-modules/srp { };

  srpenergy = callPackage ../development/python-modules/srpenergy { };