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'
This commit is contained in:
@@ -282,6 +282,27 @@ in
|
|||||||
(disableOptimizationsPython3 "zopfli") # /nix/store/idjhlmljrapzm3i1svl5x9mdwfxxj51v-pytest-check-hook/nix-support/setup-hook: line 23: 280 Segmentation fault (core dumped) /nix/store/87l6i0czch42nzv39ydwld5hnhcq0b65-python3-3.14.7/bin/python3.14 "${flagsArray[@]}"
|
(disableOptimizationsPython3 "zopfli") # /nix/store/idjhlmljrapzm3i1svl5x9mdwfxxj51v-pytest-check-hook/nix-support/setup-hook: line 23: 280 Segmentation fault (core dumped) /nix/store/87l6i0czch42nzv39ydwld5hnhcq0b65-python3-3.14.7/bin/python3.14 "${flagsArray[@]}"
|
||||||
(disableOptimizations "zopfli")
|
(disableOptimizations "zopfli")
|
||||||
(disableOptimizations "nototools") # Needs to use the same version of python as the zopfli package
|
(disableOptimizations "nototools") # Needs to use the same version of python as the zopfli package
|
||||||
|
(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=";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
|
})
|
||||||
|
];
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
# This option defines the first version of NixOS you have installed on this particular machine,
|
# This option defines the first version of NixOS you have installed on this particular machine,
|
||||||
|
|||||||
Reference in New Issue
Block a user