python311Packages.aiohttp 0 -> 1 attrpath: python311Packages.aiohttp Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/8zlrq1wdws7zsb0b3v2x5z14sraldj6v-packages.json.drv building '/nix/store/8zlrq1wdws7zsb0b3v2x5z14sraldj6v-packages.json.drv'... Going to be running update for following packages: - python3.11-aiohttp-3.9.1 Press Enter key to continue... Running update for: - python3.11-aiohttp-3.9.1: UPDATING ... - python3.11-aiohttp-3.9.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix index 691345d65a16..75105268828b 100644 --- a/pkgs/development/python-modules/aiohttp/default.nix +++ b/pkgs/development/python-modules/aiohttp/default.nix @@ -29,7 +29,7 @@ buildPythonPackage rec { pname = "aiohttp"; - version = "3.9.1"; + version = "3.9.3"; pyproject = true; disabled = pythonOlder "3.8"; @@ -38,7 +38,7 @@ buildPythonPackage rec { owner = "aio-libs"; repo = "aiohttp"; rev = "refs/tags/v${version}"; - hash = "sha256-uiqBUDbmROrhkanfBz4avvTSrnKxgVqw54k4jKhfRGY="; + hash = "sha256-dEeMHruFJ1o0J6VUJcpUk7LhEC8sV8hUKXoKcd618lE="; }; patches = [ No auto update branch exists Old version 3.9.1" not present in staging derivation file with contents: { lib , stdenv , buildPythonPackage , pythonOlder , fetchFromGitHub , substituteAll , llhttp # build_requires , cython , setuptools # install_requires , attrs , multidict , async-timeout , yarl , frozenlist , aiosignal , aiodns , brotli # tests_require , freezegun , gunicorn , pytest-mock , pytestCheckHook , python-on-whales , re-assert , trustme }: buildPythonPackage rec { pname = "aiohttp"; version = "3.9.3"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "aio-libs"; repo = "aiohttp"; rev = "refs/tags/v${version}"; hash = "sha256-dEeMHruFJ1o0J6VUJcpUk7LhEC8sV8hUKXoKcd618lE="; }; patches = [ (substituteAll { src = ./unvendor-llhttp.patch; llhttpDev = lib.getDev llhttp; llhttpLib = lib.getLib llhttp; }) ]; postPatch = '' sed -i '/--cov/d' setup.cfg rm -r vendor patchShebangs tools touch .git # tools/gen.py uses .git to find the project root ''; nativeBuildInputs = [ cython setuptools ]; preBuild = '' make cythonize ''; propagatedBuildInputs = [ attrs multidict async-timeout yarl frozenlist aiosignal aiodns brotli ]; # NOTE: pytest-xdist cannot be added because it is flaky. See https://github.com/NixOS/nixpkgs/issues/230597 for more info. nativeCheckInputs = [ freezegun gunicorn pytest-mock pytestCheckHook python-on-whales re-assert ] ++ lib.optionals (!(stdenv.isDarwin && stdenv.isAarch64)) [ # Optional test dependency. Depends indirectly on pyopenssl, which is # broken on aarch64-darwin. trustme ]; disabledTests = [ # Disable tests that require network access "test_client_session_timeout_zero" "test_mark_formdata_as_processed" "test_requote_redirect_url_default" # Disable tests that trigger deprecation warnings in pytest "test_async_with_session" "test_session_close_awaitable" "test_close_run_until_complete_not_deprecated" # https://github.com/aio-libs/aiohttp/issues/7130 "test_static_file_if_none_match" "test_static_file_if_match" "test_static_file_if_modified_since_past_date" # don't run benchmarks "test_import_time" ] ++ lib.optionals stdenv.is32bit [ "test_cookiejar" ] ++ lib.optionals stdenv.isDarwin [ "test_addresses" # https://github.com/aio-libs/aiohttp/issues/3572, remove >= v4.0.0 "test_close" ]; disabledTestPaths = [ "tests/test_proxy_functional.py" # FIXME package proxy.py ]; __darwinAllowLocalNetworking = true; # aiohttp in current folder shadows installed version preCheck = '' rm -r aiohttp touch tests/data.unknown_mime_type # has to be modified after 1 Jan 1990 '' + lib.optionalString stdenv.isDarwin '' # Work around "OSError: AF_UNIX path too long" export TMPDIR="/tmp" ''; meta = with lib; { changelog = "https://github.com/aio-libs/aiohttp/blob/v${version}/CHANGES.rst"; description = "Asynchronous HTTP Client/Server for Python and asyncio"; license = licenses.asl20; homepage = "https://github.com/aio-libs/aiohttp"; maintainers = with maintainers; [ dotlambda ]; }; }