Merge pull request #317673 from fabaff/google-cloud-spanner-bump

python312Packages.google-cloud-spanner: 3.45.0 -> 3.47.0
This commit is contained in:
Nick Cao 2024-07-31 19:21:09 -04:00 committed by GitHub
commit d828bdc634
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
lib,
buildPythonPackage,
deprecated,
fetchPypi,
fetchFromGitHub,
google-api-core,
google-cloud-core,
google-cloud-testutils,
@ -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 ];
@ -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"
@ -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 = [