mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
python312Packages.dbt-common: 1.3.0 -> 1.8.0, python312Packages.dbt-adapters: 1.3.3 -> 1.6.0 (#341916)
This commit is contained in:
commit
2f2d4b82e4
@ -14,14 +14,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dbt-adapters";
|
pname = "dbt-adapters";
|
||||||
version = "1.3.3";
|
version = "1.6.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dbt-labs";
|
owner = "dbt-labs";
|
||||||
repo = "dbt-adapters";
|
repo = "dbt-adapters";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-M7n+WcHGBMNZ5k9GZRR05g8KzPDWjmB83iZSD16G774=";
|
hash = "sha256-P8AWh11nrP6EtBZrvxu9BoCpP+a8oljzRxbJXkVB2B4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [ hatchling ];
|
build-system = [ hatchling ];
|
||||||
|
@ -1,34 +1,37 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
|
||||||
fetchFromGitHub,
|
|
||||||
hatchling,
|
|
||||||
agate,
|
agate,
|
||||||
|
buildPythonPackage,
|
||||||
colorama,
|
colorama,
|
||||||
|
deepdiff,
|
||||||
|
fetchPypi,
|
||||||
|
hatchling,
|
||||||
isodate,
|
isodate,
|
||||||
jinja2,
|
jinja2,
|
||||||
jsonschema,
|
jsonschema,
|
||||||
mashumaro,
|
mashumaro,
|
||||||
pathspec,
|
pathspec,
|
||||||
protobuf,
|
protobuf,
|
||||||
python-dateutil,
|
|
||||||
requests,
|
|
||||||
typing-extensions,
|
|
||||||
pytest-mock,
|
pytest-mock,
|
||||||
pytest-xdist,
|
pytest-xdist,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
|
python-dateutil,
|
||||||
|
pythonOlder,
|
||||||
|
requests,
|
||||||
|
typing-extensions,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dbt-common";
|
pname = "dbt-common";
|
||||||
version = "1.3.0";
|
version = "1.8.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
disabled = pythonOlder "3.8";
|
||||||
owner = "dbt-labs";
|
|
||||||
repo = "dbt-common";
|
src = fetchPypi {
|
||||||
rev = "refs/tags/v${version}";
|
pname = "dbt_common";
|
||||||
hash = "sha256-3UjwQy257ks21fQV0uZNKu5EsuzjlIAEcVtRWkR9x/4=";
|
inherit version;
|
||||||
|
hash = "sha256-ehZ+a3zznnWMY9NJx9LfRtkV1vHiIH0HEhsYWfMbmb4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [ hatchling ];
|
build-system = [ hatchling ];
|
||||||
@ -38,6 +41,7 @@ buildPythonPackage rec {
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
agate
|
agate
|
||||||
colorama
|
colorama
|
||||||
|
deepdiff
|
||||||
isodate
|
isodate
|
||||||
jinja2
|
jinja2
|
||||||
jsonschema
|
jsonschema
|
||||||
@ -49,7 +53,8 @@ buildPythonPackage rec {
|
|||||||
typing-extensions
|
typing-extensions
|
||||||
] ++ mashumaro.optional-dependencies.msgpack;
|
] ++ mashumaro.optional-dependencies.msgpack;
|
||||||
|
|
||||||
pythonImportsCheck = [ "dbt_common" ];
|
# Upstream stopped to tag the source fo rnow
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytest-mock
|
pytest-mock
|
||||||
@ -57,10 +62,12 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "dbt_common" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Shared common utilities for dbt-core and adapter implementations use";
|
description = "Shared common utilities for dbt-core and adapter implementations use";
|
||||||
homepage = "https://github.com/dbt-labs/dbt-common";
|
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;
|
license = lib.licenses.asl20;
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user