python3Packages.yarl: 1.21.1 -> 1.22.0, python3Packages.aiohttp: 3.12.15 -> 3.13.0 (#451507)

This commit is contained in:
dotlambda
2025-10-15 17:48:27 +00:00
committed by GitHub
2 changed files with 13 additions and 8 deletions

View File

@@ -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 = [

View File

@@ -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 ];
};
}