diff --git a/pkgs/development/python-modules/cloudevents/default.nix b/pkgs/development/python-modules/cloudevents/default.nix index 24b0d9477d61..5324f3ab5ee6 100644 --- a/pkgs/development/python-modules/cloudevents/default.nix +++ b/pkgs/development/python-modules/cloudevents/default.nix @@ -3,7 +3,6 @@ buildPythonPackage, fetchFromGitHub, setuptools, - wheel, deprecation, flask, pydantic, @@ -15,19 +14,18 @@ buildPythonPackage rec { pname = "cloudevents"; - version = "1.10.1"; + version = "1.12.0"; pyproject = true; src = fetchFromGitHub { owner = "cloudevents"; repo = "sdk-python"; tag = version; - hash = "sha256-YIvEAofWmnUblRd4jV3Zi3VdfocOnD05CMVm/abngyg="; + hash = "sha256-0WdCBwYz3XJWjUP0gf+IWdF4ZgPHFvUZFoQp9taqNz8="; }; build-system = [ setuptools - wheel ]; pythonImportsCheck = [ "cloudevents" ]; @@ -44,11 +42,13 @@ buildPythonPackage rec { disabledTestPaths = [ "samples/http-image-cloudevents/image_sample_test.py" ]; - meta = with lib; { + __darwinAllowLocalNetworking = true; + + meta = { description = "Python SDK for CloudEvents"; homepage = "https://github.com/cloudevents/sdk-python"; changelog = "https://github.com/cloudevents/sdk-python/blob/${src.rev}/CHANGELOG.md"; - license = licenses.asl20; - maintainers = with maintainers; [ GaetanLepage ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ GaetanLepage ]; }; } diff --git a/pkgs/development/python-modules/functions-framework/default.nix b/pkgs/development/python-modules/functions-framework/default.nix index 20cd253b2e0a..7eb5d55ec7e9 100644 --- a/pkgs/development/python-modules/functions-framework/default.nix +++ b/pkgs/development/python-modules/functions-framework/default.nix @@ -35,6 +35,9 @@ buildPythonPackage rec { build-system = [ setuptools ]; + pythonRelaxDeps = [ + "cloudevents" + ]; dependencies = [ click cloudevents