mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
python3Packages.yarl: 1.21.1 -> 1.22.0, python3Packages.aiohttp: 3.12.15 -> 3.13.0 (#451507)
This commit is contained in:
@@ -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 = [
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user