Skip to content

Commit

Permalink
python313Packages.google-api-core: 2.20.0 -> 2.24.0 (#370975)
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored Jan 4, 2025
2 parents 06c2510 + cf655a5 commit 51bbe97
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
13 changes: 7 additions & 6 deletions pkgs/development/python-modules/google-api-core/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@

buildPythonPackage rec {
pname = "google-api-core";
version = "2.20.0";
version = "2.24.0";
pyproject = true;

disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";

src = fetchFromGitHub {
owner = "googleapis";
repo = "python-api-core";
rev = "v${version}";
hash = "sha256-ccjkGQNaPRefI6+j/O+NwdBGEVNuZ5q5m1d8EAJGcbs=";
tag = "v${version}";
hash = "sha256-6U5rNhF4AYWae50pNIqDdlMzRhW4iV9vPlMPXN11DqQ=";
};

nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];

propagatedBuildInputs = [
dependencies = [
googleapis-common-protos
google-auth
protobuf
Expand All @@ -42,6 +42,7 @@ buildPythonPackage rec {
];

optional-dependencies = {
async_rest = [ google-auth ] ++ google-auth.optional-dependencies.aiohttp;
grpc = [
grpcio
grpcio-status
Expand Down
21 changes: 12 additions & 9 deletions pkgs/development/python-modules/proto-plus/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
lib,
buildPythonPackage,
fetchPypi,
isPy3k,
fetchFromGitHub,
setuptools,
protobuf,
googleapis-common-protos,
pytestCheckHook,
Expand All @@ -11,16 +11,19 @@

buildPythonPackage rec {
pname = "proto-plus";
version = "1.24.0";
format = "setuptools";
disabled = !isPy3k;
version = "1.25.0";
pyproject = true;

src = fetchPypi {
inherit pname version;
hash = "sha256-MLcqXsr+RAaw0znbNbVsQFkGTmkie4w72nRiOX+WZEU=";
src = fetchFromGitHub {
owner = "googleapis";
repo = "proto-plus-python";
tag = "v${version}";
hash = "sha256-rRA5t3QPVSeAqy60icrgvYKbvrClv22I3IYxHoMftQ0=";
};

propagatedBuildInputs = [ protobuf ];
build-system = [ setuptools ];

dependencies = [ protobuf ];

nativeCheckInputs = [
pytestCheckHook
Expand Down

0 comments on commit 51bbe97

Please sign in to comment.