From dd41f01aecfd10aa49e26c7709fbcd577717eb89 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Tue, 30 Jun 2026 18:55:36 +0200 Subject: [PATCH] python3Packages.granian: 2.7.5 -> 2.7.8 Changelog: https://github.com/emmett-framework/granian/releases/tag/v2.7.8 https://github.com/emmett-framework/granian/releases/tag/v2.7.7 https://github.com/emmett-framework/granian/releases/tag/v2.7.6 --- pkgs/development/python-modules/granian/default.nix | 6 +++--- pkgs/development/python-modules/granian/no-alloc.patch | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/granian/default.nix b/pkgs/development/python-modules/granian/default.nix index aceaea74a293..b015bead770d 100644 --- a/pkgs/development/python-modules/granian/default.nix +++ b/pkgs/development/python-modules/granian/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "granian"; - version = "2.7.5"; + version = "2.7.8"; pyproject = true; src = fetchFromGitHub { owner = "emmett-framework"; repo = "granian"; tag = "v${version}"; - hash = "sha256-6NOag3PHI4BOi5JuulRqhKeyDWuMxxu0bfb8ViQxDWY="; + hash = "sha256-89Kl/MrotK0fv0oAayUuZXyLLG9PPM1km57ER+dM1jw="; }; # Granian forces a custom allocator for all the things it runs, @@ -40,7 +40,7 @@ buildPythonPackage rec { cargoDeps = rustPlatform.fetchCargoVendor { inherit pname version src; - hash = "sha256-R4thKT3lMo/CFv+CokGSDzynTKOMCLRjVEy7Ojip4qA="; + hash = "sha256-mnqtzZ2+xuxUezhsgw+gr6MmWbi4Z4j0bHndys6vHFw="; }; nativeBuildInputs = with rustPlatform; [ diff --git a/pkgs/development/python-modules/granian/no-alloc.patch b/pkgs/development/python-modules/granian/no-alloc.patch index d6b01f9475b1..bd885bab87ed 100644 --- a/pkgs/development/python-modules/granian/no-alloc.patch +++ b/pkgs/development/python-modules/granian/no-alloc.patch @@ -1,5 +1,5 @@ diff --git a/Cargo.toml b/Cargo.toml -index e1b6a3d..8fe77cf 100644 +index a33fb2c..8426d66 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,3 +46,2 @@ itertools = "0.14" @@ -7,8 +7,8 @@ index e1b6a3d..8fe77cf 100644 -mimalloc = { version = "0.1.49", default-features = false, features = ["local_dynamic_tls"], optional = true } mime_guess = "=2.0" @@ -58,3 +57,2 @@ socket2 = { version = "=0.6", features = ["all"] } - sysinfo = "=0.38" --tikv-jemallocator = { version = "0.6.0", default-features = false, features = ["disable_initial_exec_tls"], optional = true } + sysinfo = "=0.39" +-tikv-jemallocator = { version = "=0.7", default-features = false, features = ["disable_initial_exec_tls"], optional = true } tls-listener = { version = "=0.11", git = "https://github.com/gi0baro/tls-listener.git", branch = "0.11.x", features = ["rustls-ring", "rustls-tls12"] } @@ -68,6 +66,2 @@ pyo3-build-config = "=0.27"