mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +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 {
|
||||
pname = "dbt-adapters";
|
||||
version = "1.3.3";
|
||||
version = "1.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dbt-labs";
|
||||
repo = "dbt-adapters";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-M7n+WcHGBMNZ5k9GZRR05g8KzPDWjmB83iZSD16G774=";
|
||||
hash = "sha256-P8AWh11nrP6EtBZrvxu9BoCpP+a8oljzRxbJXkVB2B4=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
@ -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 = [ ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user