python312Packages.dbt-common: 1.3.0 -> 1.8.0

Changelog: https://github.com/dbt-labs/dbt-common/blob/1.8.0/CHANGELOG.md
This commit is contained in:
Fabian Affolter 2024-09-14 23:41:26 +02:00
parent ef9abaca05
commit 684fc6e79b

View File

@ -1,34 +1,37 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
agate,
buildPythonPackage,
colorama,
deepdiff,
fetchPypi,
hatchling,
isodate,
jinja2,
jsonschema,
mashumaro,
pathspec,
protobuf,
python-dateutil,
requests,
typing-extensions,
pytest-mock,
pytest-xdist,
pytestCheckHook,
python-dateutil,
pythonOlder,
requests,
typing-extensions,
}:
buildPythonPackage rec {
pname = "dbt-common";
version = "1.3.0";
version = "1.8.0";
pyproject = true;
src = fetchFromGitHub {
owner = "dbt-labs";
repo = "dbt-common";
rev = "refs/tags/v${version}";
hash = "sha256-3UjwQy257ks21fQV0uZNKu5EsuzjlIAEcVtRWkR9x/4=";
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "dbt_common";
inherit version;
hash = "sha256-ehZ+a3zznnWMY9NJx9LfRtkV1vHiIH0HEhsYWfMbmb4=";
};
build-system = [ hatchling ];
@ -38,6 +41,7 @@ buildPythonPackage rec {
dependencies = [
agate
colorama
deepdiff
isodate
jinja2
jsonschema
@ -49,7 +53,8 @@ buildPythonPackage rec {
typing-extensions
] ++ mashumaro.optional-dependencies.msgpack;
pythonImportsCheck = [ "dbt_common" ];
# Upstream stopped to tag the source fo rnow
doCheck = false;
nativeCheckInputs = [
pytest-mock
@ -57,10 +62,12 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [ "dbt_common" ];
meta = {
description = "Shared common utilities for dbt-core and adapter implementations use";
homepage = "https://github.com/dbt-labs/dbt-common";
changelog = "https://github.com/dbt-labs/dbt-common/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/dbt-labs/dbt-common/blob/${version}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = [ ];
};