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
This commit is contained in:
Fabian Affolter 2023-01-22 19:15:15 +01:00 committed by GitHub
commit 341a90059f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 63 additions and 5 deletions

View File

@ -8,13 +8,14 @@
, nanotime , nanotime
, pygtrie , pygtrie
, pythonOlder , pythonOlder
, shortuuid
, setuptools-scm , setuptools-scm
, shortuuid
, sqltrie
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dvc-data"; pname = "dvc-data";
version = "0.28.4"; version = "0.35.1";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -23,7 +24,7 @@ buildPythonPackage rec {
owner = "iterative"; owner = "iterative";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-ocwOIhguH460+HJ0sE5Wj+KOiyG4NprJ+QaO+YtfTGU="; hash = "sha256-MyYRkClbJDcMgwAHcESY0Bo7LgAFpDtkOVmVRUJ7jME=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -40,6 +41,7 @@ buildPythonPackage rec {
nanotime nanotime
pygtrie pygtrie
shortuuid shortuuid
sqltrie
]; ];
# Tests depend on upath which is unmaintained and only available as wheel # Tests depend on upath which is unmaintained and only available as wheel
@ -57,6 +59,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "DVC's data management subsystem"; description = "DVC's data management subsystem";
homepage = "https://github.com/iterative/dvc-data"; homepage = "https://github.com/iterative/dvc-data";
changelog = "https://github.com/iterative/dvc-data/releases/tag/${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View File

@ -16,7 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dvc-objects"; pname = "dvc-objects";
version = "0.14.0"; version = "0.19.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "iterative"; owner = "iterative";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-Refpekyr114mIGvbaAynxldA+s83EtALeLoTQO73b/M="; hash = "sha256-jwjhRY1SMqiTZ5UJmoZb4odg3g8uC9ehPmxRU2VsH8U=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -56,6 +56,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Library for DVC objects"; description = "Library for DVC objects";
homepage = "https://github.com/iterative/dvc-objects"; homepage = "https://github.com/iterative/dvc-objects";
changelog = "https://github.com/iterative/dvc-objects/releases/tag/${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View File

@ -0,0 +1,52 @@
{ 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 ];
};
}

View File

@ -10896,6 +10896,8 @@ self: super: with self; {
sqlsoup = callPackage ../development/python-modules/sqlsoup { }; sqlsoup = callPackage ../development/python-modules/sqlsoup { };
sqltrie = callPackage ../development/python-modules/sqltrie { };
srp = callPackage ../development/python-modules/srp { }; srp = callPackage ../development/python-modules/srp { };
srpenergy = callPackage ../development/python-modules/srpenergy { }; srpenergy = callPackage ../development/python-modules/srpenergy { };