mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
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:
commit
d828bdc634
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user