Skip to content

Commit

Permalink
Merge pull request NixOS#317673 from fabaff/google-cloud-spanner-bump
Browse files Browse the repository at this point in the history
python312Packages.google-cloud-spanner: 3.45.0 -> 3.47.0
  • Loading branch information
NickCao authored Jul 31, 2024
2 parents ebd3b37 + 8ce8e14 commit d828bdc
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions pkgs/development/python-modules/google-cloud-spanner/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
lib,
buildPythonPackage,
deprecated,
fetchPypi,
fetchFromGitHub,
google-api-core,
google-cloud-core,
google-cloud-testutils,
Expand All @@ -21,14 +21,16 @@

buildPythonPackage rec {
pname = "google-cloud-spanner";
version = "3.45.0";
version = "3.47.0";
pyproject = true;

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
hash = "sha256-MKtW6krGqnQ3hCmPgh4N5lRAGTe0DGDMegpUUoSpG0M=";
src = fetchFromGitHub {
owner = "googleapis";
repo = "python-spanner";
rev = "refs/tags/v${version}";
hash = "sha256-eq4tXwXHDdGUyZfPtU/l5cpzYB6AMdqZtj03+2yK8Wk=";
};

build-system = [ setuptools ];
Expand Down Expand Up @@ -60,6 +62,13 @@ buildPythonPackage rec {
rm -r google
'';

disabledTests = [
# Requires credentials
"test_list_backup"
"test_list_database"
"test_list_instance"
];

disabledTestPaths = [
# Requires credentials
"tests/system/test_backup_api.py"
Expand All @@ -72,6 +81,7 @@ buildPythonPackage rec {
"tests/unit/spanner_dbapi/test_connect.py"
"tests/unit/spanner_dbapi/test_connection.py"
"tests/unit/spanner_dbapi/test_cursor.py"
"samples/samples/"
];

pythonImportsCheck = [
Expand Down

0 comments on commit d828bdc

Please sign in to comment.