python310Packages.yarl: 1.8.2 -> 1.9.2
Hopefully fixes segfaults on aarch64, https://github.com/aio-libs/yarl/issues/835 Also apply upstream patch to aiohttp to make it work with this version of yarl. Changelog: https://github.com/aio-libs/yarl/blob/v1.9.2/CHANGES.rst Co-Authored-By: Robert Schütz <nix@dotlambda.de>
This commit is contained in:
parent
f91ee3065d
commit
74a5fa10cd
|
@ -48,6 +48,12 @@ buildPythonPackage rec {
|
|||
url = "https://github.com/aio-libs/aiohttp/commit/5718879cdb6a98bf48810a994b78bc02abaf3e07.patch";
|
||||
hash = "sha256-4UynkTZOzWzusQ2+MPZszhFA8I/PJNLeT/hHF/fASy8=";
|
||||
})
|
||||
(fetchpatch {
|
||||
# https://github.com/aio-libs/aiohttp/pull/7260
|
||||
# Merged upstream, should likely be dropped post-3.8.4
|
||||
url = "https://github.com/aio-libs/aiohttp/commit/7dcc235cafe0c4521bbbf92f76aecc82fee33e8b.patch";
|
||||
hash = "sha256-ZzhlE50bmA+e2XX2RH1FuWQHZIAa6Dk/hZjxPoX5t4g=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "yarl";
|
||||
version = "1.8.2";
|
||||
version = "1.9.2";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-SdQ0AsbjATrQl4YCv2v1MoU1xI0ZIwS5G5ejxnkLFWI=";
|
||||
hash = "sha256-BKudS59YfAbYAcKr/pMXt3zfmWxlqQ1ehOzEUBCCNXE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -42,10 +42,6 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.11") [
|
||||
"test_not_a_scheme2"
|
||||
];
|
||||
|
||||
postCheck = ''
|
||||
popd
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue