Merge pull request #111686 from SuperSandro2000/fix-collection8
This commit is contained in:
commit
641cc1c341
9 changed files with 29 additions and 19 deletions
|
@ -15,11 +15,11 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-api-core";
|
||||
version = "1.24.1";
|
||||
version = "1.25.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0sflnpgsvk2h1cr1m3mgxx6pzz55xw7sk4y4qdimhs5jdm2fw78g";
|
||||
sha256 = "0e152ec37b8481d1be1258d95844a5a7031cd3d83d7c7046d9e9b2d807042440";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
, pytestCheckHook
|
||||
, freezegun
|
||||
, google-cloud-core
|
||||
, google-cloud-storage
|
||||
, google-cloud-testutils
|
||||
, google-resumable-media
|
||||
, grpcio
|
||||
|
@ -11,16 +12,17 @@
|
|||
, mock
|
||||
, pandas
|
||||
, proto-plus
|
||||
, psutil
|
||||
, pyarrow
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-bigquery";
|
||||
version = "2.6.2";
|
||||
version = "2.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1c940bf190a681d80b6f6cd7541924ad411de5f0585b2c8c5e420ab750e2024d";
|
||||
sha256 = "29721972f5e539e486fbdc722ddf849ad86acd092680d16c271430dc16023544";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -36,6 +38,8 @@ buildPythonPackage rec {
|
|||
ipython
|
||||
mock
|
||||
pandas
|
||||
psutil
|
||||
google-cloud-storage
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
@ -44,6 +48,12 @@ buildPythonPackage rec {
|
|||
rm -r google
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# requires credentials
|
||||
"test_bigquery_magic"
|
||||
"TestBigQuery"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.bigquery"
|
||||
"google.cloud.bigquery_v2"
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-dlp";
|
||||
version = "3.0.0";
|
||||
version = "3.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "09rnzpdlycr1wv8agcfx05v1prn35ylphsbr07486zqdkh5wjk8p";
|
||||
sha256 = "193c2c012639f0c063999e0b899f92d70763be605d5528f3d1da93d6734a1aa8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
||||
|
|
|
@ -19,6 +19,11 @@ buildPythonPackage rec {
|
|||
sha256 = "2fd6fe25343f7017c22e2733a0358c64b3171edc1669d0c8a1e1f07f86a048c4";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace 'google-cloud-logging>=1.14.0, <2.1' 'google-cloud-logging>=1.14.0'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ google-cloud-logging libcst proto-plus ];
|
||||
|
||||
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
|
||||
|
|
|
@ -15,11 +15,11 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-logging";
|
||||
version = "2.0.2";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0s09vs4rnq4637j8zw7grv3f4j7njqprm744b1knzldj91rg0vmi";
|
||||
sha256 = "8932ac382eee6af85cd08400a77586dd3139fbf40b61db757c4c492490899741";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core google-cloud-core proto-plus ];
|
||||
|
|
|
@ -21,11 +21,6 @@ buildPythonPackage rec {
|
|||
sha256 = "060c53bc6f541660a2fe868fd83a695207d4e7b050e04fe103d1e77634b813c7";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace '"proto-plus == 1.11.0"' '"proto-plus"'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ google-cloud-core grpc_google_iam_v1 libcst proto-plus sqlparse ];
|
||||
|
||||
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-storage";
|
||||
version = "1.35.0";
|
||||
version = "1.35.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "17kal75wmyjpva7g04cb9yg7qbyrgwfn575z4gqijd4gz2r0sp2m";
|
||||
sha256 = "dc076b6af6da991252416639cb93831f8e50c8328d5ac3fb8e03e40cd8de2290";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-snapshot";
|
||||
version = "0.4.2";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1p33fcplfykwf5mdwg25n8hjgzxpx8w1iprjnfzibpxclfrxmy5i";
|
||||
sha256 = "77d736073598a6224825eef8b8e0c760812a61410af2180cb070b27eb79f257d";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.0.0";
|
||||
version = "2.1.4";
|
||||
pname = "sphinxcontrib-bibtex";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "629612b001f86784669d65e662377a482052decfd9a0a17c46860878eef7b9e0";
|
||||
sha256 = "f53ec0cd534d2c8f0a51b4b3473ced46e9cb0dd99a7c5019249fe0ef9cbef18e";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ oset pybtex pybtex-docutils sphinx ];
|
||||
|
|
Loading…
Reference in a new issue