mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.aiohttp: 3.13.5 -> 3.14.0 (#526853)
This commit is contained in:
commit
da16303525
1 changed files with 13 additions and 7 deletions
|
|
@ -41,6 +41,7 @@
|
|||
pytest-codspeed,
|
||||
pytest-cov-stub,
|
||||
pytest-mock,
|
||||
pytest-timeout,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
re-assert,
|
||||
|
|
@ -48,16 +49,16 @@
|
|||
zlib-ng,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aiohttp";
|
||||
version = "3.13.5";
|
||||
version = "3.14.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aio-libs";
|
||||
repo = "aiohttp";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-bAP1/a2COHbe+39KY3GHXSo1Iq9x9xX8O2mLhmFlMlE=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-RRXdDDkQlL7erfYgs4+gSy6GMlVUG7PrDLTQBYJJ1To=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
@ -68,6 +69,10 @@ buildPythonPackage rec {
|
|||
# don't install Cython using pip
|
||||
substituteInPlace Makefile \
|
||||
--replace-fail "cythonize: .install-cython" "cythonize:"
|
||||
|
||||
# don't depend on coverage for tests
|
||||
substituteInPlace setup.cfg \
|
||||
--replace-fail "ignore:Couldn't import C tracer:coverage.exceptions.CoverageWarning" ""
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
|
|
@ -95,7 +100,7 @@ buildPythonPackage rec {
|
|||
propcache
|
||||
yarl
|
||||
]
|
||||
++ optional-dependencies.speedups;
|
||||
++ finalAttrs.passthru.optional-dependencies.speedups;
|
||||
|
||||
optional-dependencies.speedups = [
|
||||
aiodns
|
||||
|
|
@ -115,6 +120,7 @@ buildPythonPackage rec {
|
|||
pytest-codspeed
|
||||
pytest-cov-stub
|
||||
pytest-mock
|
||||
pytest-timeout
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
re-assert
|
||||
|
|
@ -163,10 +169,10 @@ buildPythonPackage rec {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://docs.aiohttp.org/en/${src.tag}/changes.html";
|
||||
changelog = "https://docs.aiohttp.org/en/${finalAttrs.src.tag}/changes.html";
|
||||
description = "Asynchronous HTTP Client/Server for Python and asyncio";
|
||||
license = lib.licenses.asl20;
|
||||
homepage = "https://github.com/aio-libs/aiohttp";
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue