From 218f61cfade89c42c191d703fe60956200a23728 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Wed, 6 Nov 2024 08:32:35 -0800 Subject: [PATCH] python312Packages.dbt-common: 1.11.0 -> 1.12.0 --- .../python-modules/dbt-common/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/dbt-common/default.nix b/pkgs/development/python-modules/dbt-common/default.nix index 182afb3c296d..5880a9d479f9 100644 --- a/pkgs/development/python-modules/dbt-common/default.nix +++ b/pkgs/development/python-modules/dbt-common/default.nix @@ -25,24 +25,23 @@ pytestCheckHook, pytest-mock, pytest-xdist, - numpy, }: buildPythonPackage rec { pname = "dbt-common"; - version = "1.11.0"; + version = "1.12.0"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "dbt-labs"; repo = "dbt-common"; - # Unfortunatly, upstream doesn't tag commits on GitHub, and the pypi source + # Unfortunately, upstream doesn't tag commits on GitHub, and the pypi source # doesn't include tests. TODO: Write an update script that will detect the # version from `dbt_common/__about__.py`. - rev = "ed11c6ceb4f29d4a79489469309d9ce9dd1757e6"; - hash = "sha256-JA6hFQwF7h1tXyCxBVKGgyevdTxyYeN3I/Bwy9uoC0Y="; + rev = "5a401a9e8dd46e4582ac4edd2883e34714e77530"; + hash = "sha256-SIMg6ewnE6kY+drqcPlYrxt1XlWBurZU62FI/QnHAHY="; }; build-system = [ hatchling ]; @@ -73,12 +72,14 @@ buildPythonPackage rec { pytest-xdist pytest-mock ]; + disabledTests = [ # Assertion errors (TODO: Notify upstream) "test_create_print_json" "test_events" "test_extra_dict_on_event" ]; + pythonImportsCheck = [ "dbt_common" ]; meta = {