Skip to content

Commit

Permalink
Merge pull request #282075 from fabaff/grpc-google-iam-v1-bump
Browse files Browse the repository at this point in the history
python311Packages.grpc-google-iam-v1: 0.12.7 -> 0.13.0
  • Loading branch information
fabaff authored Feb 23, 2024
2 parents c0474a3 + 1ca2ea9 commit 9b24d71
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 23 deletions.
27 changes: 14 additions & 13 deletions pkgs/development/python-modules/dbt-semantic-interfaces/default.nix
Original file line number Diff line number Diff line change
@@ -1,33 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, click
, dateutils
, dbt-postgres
, fetchFromGitHub
, hatchling
, hypothesis
, importlib-metadata
, jinja2
, jsonschema
, more-itertools
, pydantic
, pytestCheckHook
, pythonOlder
, pyyaml
, typing-extensions
, hypothesis
, dbt-postgres
}:

buildPythonPackage rec {
pname = "dbt-semantic-interfaces";
version = "0.4.2";
version = "0.4.3";
pyproject = true;

disabled = pythonOlder "3.8";

src = fetchFromGitHub {
owner = "dbt-labs";
repo = pname;
repo = "dbt-semantic-interfaces";
rev = "refs/tags/v${version}";
hash = "sha256-Q3aKUyXB+HzPCpwbJ66zDv92n04Gb0w7ivWfga3UX3s=";
hash = "sha256-mYAOAi0Qb89zp4o7vRdR7fw7vrlXt1TFVqGR09QcRSA=";
};

nativeBuildInputs = [
hatchling
];

propagatedBuildInputs = [
click
dateutils
Expand All @@ -40,10 +47,6 @@ buildPythonPackage rec {
typing-extensions
];

nativeBuildInputs = [
hatchling
];

nativeCheckInputs = [
pytestCheckHook
hypothesis
Expand All @@ -59,7 +62,5 @@ buildPythonPackage rec {
homepage = "https://github.com/dbt-labs/dbt-semantic-interfaces";
license = licenses.asl20;
maintainers = with maintainers; [ pbsds ];
# https://github.com/dbt-labs/dbt-semantic-interfaces/issues/134
broken = versionAtLeast pydantic.version "2";
};
}
30 changes: 20 additions & 10 deletions pkgs/development/python-modules/grpc-google-iam-v1/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, grpcio
, fetchFromGitHub
, googleapis-common-protos
, grpcio
, pytestCheckHook
, setuptools
}:

buildPythonPackage rec {
pname = "grpc-google-iam-v1";
version = "0.12.7";
version = "0.13.0";
pyproject = true;

src = fetchPypi {
inherit pname version;
hash = "sha256-AJGXp/HqqiIUnJbl4FSsWTS6ckGXTpJmPY01KKISA9E=";
src = fetchFromGitHub {
owner = "googleapis";
repo = "python-grpc-google-iam-v1";
rev = "refs/tags/v${version}";
hash = "sha256-pmwHDzOaXrgqXZiaxIn01CtiAG+XRBGr8BgzbG/F1uw=";
};

nativeBuildInputs = [
Expand All @@ -25,17 +28,24 @@ buildPythonPackage rec {
googleapis-common-protos
];

# no tests run
doCheck = false;
nativeCheckInputs = [
pytestCheckHook
];

pythonImportsCheck = [
"google.iam"
"google.iam.v1"
];

pytestFlagsArray = [
"-W"
"ignore::DeprecationWarning"
];

meta = with lib; {
description = "GRPC library for the google-iam-v1 service";
homepage = "https://github.com/googleapis/googleapis";
homepage = "https://github.com/googleapis/python-grpc-google-iam-v1";
changelog = "https://github.com/googleapis/python-grpc-google-iam-v1/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
Expand Down

0 comments on commit 9b24d71

Please sign in to comment.