diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-12-15 15:37:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-15 15:37:01 +0100 |
commit | 5816942753d88660a62ab704fa4ade2fbe0c863c (patch) | |
tree | 97e130c49b2cca2ae7a092b07f5258650c78d45c | |
parent | fa063ba111d34d9646eb107639dc6b1c41a11830 (diff) | |
parent | 43e225cec92e027222ecf6424fb50956b6640925 (diff) |
Merge pull request #274443 from fabaff/google-cloud-logging-bump
python311Packages.google-cloud-logging: 3.8.0 -> 3.9.0
-rw-r--r-- | pkgs/development/python-modules/google-cloud-logging/default.nix | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/google-cloud-logging/default.nix b/pkgs/development/python-modules/google-cloud-logging/default.nix index 83842597d8771..c6d253d9cb07a 100644 --- a/pkgs/development/python-modules/google-cloud-logging/default.nix +++ b/pkgs/development/python-modules/google-cloud-logging/default.nix @@ -17,20 +17,25 @@ , pytestCheckHook , pythonOlder , rich +, setuptools }: buildPythonPackage rec { pname = "google-cloud-logging"; - version = "3.8.0"; - format = "setuptools"; + version = "3.9.0"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-/dkW5ZqEqowC6BSNf907O2I8V7DB/3H0MpfOjlD8Hqs="; + hash = "sha256-TeyxsL7UoOPA5Yo3ZkbmAC1r58rQOeNGaCLoZlBy6jM="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ google-api-core google-cloud-appengine-logging @@ -52,16 +57,18 @@ buildPythonPackage rec { rich ]; - disabledTests = [ - # requires credentials - "test_write_log_entries" - ]; - preCheck = '' - # prevent google directory from shadowing google imports + # Prevent google directory from shadowing google imports rm -r google ''; + disabledTests = [ + # Test requires credentials + "test_write_log_entries" + # No need for a second import check + "test_namespace_package_compat" + ]; + disabledTestPaths = [ # Tests require credentials "tests/system/test_system.py" |