python313Packages.aiohttp: 3.10.10 -> 3.11.0

https://github.com/aio-libs/aiohttp/blob/v3.11.0/CHANGES.rst
This commit is contained in:
Martin Weinelt
2024-11-18 19:24:06 +01:00
parent 9ba1a70f7f
commit 9d4db9409f
2 changed files with 37 additions and 31 deletions
@@ -5,8 +5,8 @@
pythonOlder,
fetchFromGitHub,
substituteAll,
python,
isPy310,
isPyPy,
# build-system
cython,
@@ -17,21 +17,27 @@
# dependencies
aiohappyeyeballs,
attrs,
multidict,
async-timeout,
yarl,
frozenlist,
aiosignal,
async-timeout,
attrs,
frozenlist,
multidict,
propcache,
yarl,
# optional dependencies
aiodns,
brotli,
brotlicffi,
# tests
freezegun,
gunicorn,
proxy-py,
pytest-codspeed,
pytest-cov-stub,
pytest-mock,
pytest-xdist,
pytestCheckHook,
python-on-whales,
re-assert,
@@ -40,7 +46,7 @@
buildPythonPackage rec {
pname = "aiohttp";
version = "3.10.10";
version = "3.11.0";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -49,7 +55,7 @@ buildPythonPackage rec {
owner = "aio-libs";
repo = "aiohttp";
rev = "refs/tags/v${version}";
hash = "sha256-c2mnt2ZQ7d7WO7Z8eDaUo9y+v0V0JwXUa1WJI9bwGTM=";
hash = "sha256-/BtXCB50zy+s8ZLdSumsIDy8JFyk+WgUN2hUgduasM0=";
};
patches = [
@@ -77,28 +83,28 @@ buildPythonPackage rec {
dependencies = [
aiohappyeyeballs
attrs
multidict
async-timeout
yarl
frozenlist
aiosignal
async-timeout
attrs
frozenlist
multidict
propcache
yarl
] ++ optional-dependencies.speedups;
optional-dependencies.speedups = [
aiodns
brotli
(if isPyPy then brotlicffi else brotli)
];
postInstall = ''
# remove source code file with reference to dev dependencies
rm $out/${python.sitePackages}/aiohttp/_cparser.pxd{,.orig}
'';
# NOTE: pytest-xdist cannot be added because it is flaky. See https://github.com/NixOS/nixpkgs/issues/230597 for more info.
nativeCheckInputs = [
freezegun
gunicorn
proxy-py
pytest-codspeed
pytest-cov-stub
pytest-mock
pytest-xdist
pytestCheckHook
python-on-whales
re-assert