From bca7b4866ad4dc5bc5c5e9501ba64e0cca81dba9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 31 Aug 2025 14:55:06 +0000 Subject: [PATCH 1/2] python3Packages.cloudevents: 1.10.1 -> 1.12.0 --- .../python-modules/cloudevents/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 ]; }; } From a7a8645787d0e90ba45a2c3619e3e679ca603ed9 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 1 Sep 2025 12:20:16 +0200 Subject: [PATCH 2/2] python3Packages.functions-framework: relax cloudevents dependency --- .../development/python-modules/functions-framework/default.nix | 3 +++ 1 file changed, 3 insertions(+) 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