diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix index d7203d464870..7a7163164594 100644 --- a/pkgs/development/python-modules/aiohttp/default.nix +++ b/pkgs/development/python-modules/aiohttp/default.nix @@ -6,6 +6,7 @@ replaceVars, isPy310, isPyPy, + pythonOlder, # build-system cython, @@ -24,6 +25,7 @@ multidict, propcache, yarl, + zstandard, # optional dependencies aiodns, @@ -49,14 +51,14 @@ buildPythonPackage rec { pname = "aiohttp"; - version = "3.12.15"; + version = "3.13.0"; pyproject = true; src = fetchFromGitHub { owner = "aio-libs"; repo = "aiohttp"; tag = "v${version}"; - hash = "sha256-nVDGSbzjCdyJFCsHq8kJigNA4vGs4Pg1Vyyvw+gKg2w="; + hash = "sha256-X4igOjBeAGDfUGwZAsjUWOWt3EFt53QSuUcdJ/5vBVU="; }; patches = lib.optionals (!lib.meta.availableOn stdenv.hostPlatform isa-l) [ @@ -104,6 +106,9 @@ buildPythonPackage rec { optional-dependencies.speedups = [ aiodns (if isPyPy then brotlicffi else brotli) + ] + ++ lib.optionals (pythonOlder "3.14") [ + zstandard ]; nativeCheckInputs = [ diff --git a/pkgs/development/python-modules/yarl/default.nix b/pkgs/development/python-modules/yarl/default.nix index 36184650fcb9..8e7387921a2d 100644 --- a/pkgs/development/python-modules/yarl/default.nix +++ b/pkgs/development/python-modules/yarl/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "yarl"; - version = "1.21.1"; + version = "1.22.0"; pyproject = true; src = fetchFromGitHub { owner = "aio-libs"; repo = "yarl"; tag = "v${version}"; - hash = "sha256-YN2Gn/wokwbBbVcKvqNNJZ8eZKxwwdKbA84kPsx1Dg0="; + hash = "sha256-IkP6AxLT260NN2X2bd7b5LGVGFUjo7eQiuWxvMtcb8g="; }; build-system = [ @@ -58,11 +58,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "yarl" ]; - meta = with lib; { - changelog = "https://github.com/aio-libs/yarl/blob/v${version}/CHANGES.rst"; + meta = { + changelog = "https://github.com/aio-libs/yarl/blob/${src.tag}/CHANGES.rst"; description = "Yet another URL library"; homepage = "https://github.com/aio-libs/yarl"; - license = licenses.asl20; - maintainers = with maintainers; [ dotlambda ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ dotlambda ]; }; }