Unverified Commit 9373b48f authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #290952 from fabaff/dbt-bump

python311Packages.dbt-core: 1.7.4 -> 1.7.8
parents d4b6eb48 2376ef21
Loading
Loading
Loading
Loading
+13 −7
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, agate
, buildPythonPackage
, dbt-core
, fetchFromGitHub
, google-cloud-bigquery
, google-cloud-storage
, google-cloud-dataproc
, google-cloud-storage
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, setuptools
, urllib3
}:

buildPythonPackage rec {
  pname = "dbt-bigquery";
  version = "1.7.2";
  format = "setuptools";
  version = "1.7.6";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "dbt-labs";
    repo = pname;
    repo = "dbt-bigquery";
    rev = "refs/tags/v${version}";
    hash = "sha256-CzRcnS/aECBq/9L8U+mLuHYo00HyBtKK6jmU8S03feM=";
    hash = "sha256-bF2++Bs4pvqA3GW2xJkRNa1HkqnHBbMnKHHjo1TWboM=";
  };

  nativeBuildInputs = [
    pythonRelaxDepsHook
    setuptools
  ];

  pythonRelaxDeps = [
+13 −7
Original line number Diff line number Diff line
{ lib
, python3
, buildPythonPackage
, fetchFromGitHub
, agate
, buildPythonPackage
, cffi
, click
, colorama
, dbt-extractor
, dbt-semantic-interfaces
, fetchFromGitHub
, hologram
, idna
, isodate
@@ -19,10 +18,13 @@
, packaging
, pathspec
, protobuf
, python3
, pythonOlder
, pythonRelaxDepsHook
, pytz
, pyyaml
, requests
, setuptools
, sqlparse
, typing-extensions
, urllib3
@@ -31,20 +33,23 @@

buildPythonPackage rec {
  pname = "dbt-core";
  version = "1.7.4";
  format = "setuptools";
  version = "1.7.8";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "dbt-labs";
    repo = pname;
    repo = "dbt-core";
    rev = "refs/tags/v${version}";
    hash = "sha256-+2tmLclBZrY9SDCKvQ4QNbI4665BtsrEI1sBSY3GVGM=";
    hash = "sha256-EpKZiSDU5fivG3TIarirPgxRGQ3Sf1hwNvCKdQx25c0=";
  };

  sourceRoot = "${src.name}/core";

  nativeBuildInputs = [
    pythonRelaxDepsHook
    setuptools
  ];

  pythonRelaxDeps = [
@@ -53,6 +58,7 @@ buildPythonPackage rec {
    "mashumaro"
    "networkx"
    "logbook"
    "urllib3"
  ];

  propagatedBuildInputs = [
+186 −178

File changed.

Preview size limit exceeded, changes collapsed.

+11 −7
Original line number Diff line number Diff line
{ stdenv
, lib
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, rustPlatform
, libiconv
, pythonOlder
, rustPlatform
}:

buildPythonPackage rec {
  pname = "dbt-extractor";
  version = "0.4.1";
  format = "setuptools";
  version = "0.5.1";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    pname = "dbt_extractor";
    inherit version;
    hash = "sha256-dbHGZWmewPH/zhuj13b3386AIVbyLnCnucjwtNfoD0I=";
    hash = "sha256-zV2VV2qN6kGQJAqvmTajf9dLS3kTymmjw2j8RHK7fhM=";
  };

  cargoDeps = rustPlatform.importCargoLock {
    lockFile = ./Cargo.lock;
    outputHashes = {
      "tree-sitter-jinja2-0.1.0" = "sha256-lzA2iq4AK0iNwkLvbIt7Jm5WGFbMPFDi6i4AFDm0FOU=";
      "tree-sitter-jinja2-0.2.0" = "sha256-Hfw85IcxwqFDKjkUxU+Zd9vyL7gaE0u5TZGKol2I9qg=";
    };
  };

@@ -43,6 +46,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "A tool that processes the most common jinja value templates in dbt model files";
    homepage = "https://github.com/dbt-labs/dbt-extractor";
    changelog = "https://github.com/dbt-labs/dbt-extractor/blob/main/CHANGELOG.md";
    license = licenses.asl20;
    maintainers = with maintainers; [ mausch tjni ];
  };
+10 −2
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, agate
, buildPythonPackage
, dbt-core
, psycopg2
, pythonOlder
, setuptools
}:

buildPythonPackage {
  pname = "dbt-postgres";
  format = "setuptools";
  pyproject = true;

  inherit (dbt-core) version src;

  disabled = pythonOlder "3.7";

  sourceRoot = "${dbt-core.src.name}/plugins/postgres";

  env.DBT_PSYCOPG2_NAME = "psycopg2";

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    agate
    dbt-core
Loading