From 6bbfc23d3a963660e627cf76ac3231ace8c1313d Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sat, 10 Oct 2026 11:12:08 -0400 Subject: [PATCH] Update aiohttp-client-cache. The current version in nixpkgs has not been updated for aiohttp 3.14. Error: TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' --- nix/configuration/configuration.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/nix/configuration/configuration.nix b/nix/configuration/configuration.nix index 691f958..755773a 100644 --- a/nix/configuration/configuration.nix +++ b/nix/configuration/configuration.nix @@ -283,6 +283,27 @@ in (disableOptimizations "zopfli") (disableOptimizations "nototools") # Needs to use the same version of python as the zopfli package (disableOptimizations "lib2geom") # Tests failing: ellipse-test, elliptical-arc-test, line-test, polynomial-test + (final: prev: { + pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [ + (python-final: python-prev: { + aiohttp-client-cache = python-prev.aiohttp-client-cache.overridePythonAttrs ( + oldAttrs: + let + version = "0.15.0"; + in + { + inherit version; + + src = final.fetchPypi { + pname = "aiohttp_client_cache"; + inherit version; + hash = "sha256-Jk+n1pvNsuT+mZTn9Bq17sfLuipfXiYNRE0AL5Ym43Q="; + }; + } + ); + }) + ]; + }) ]; hardware.firmware =