Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.aiohttp 0 -> 1 attrpath: python3Packages.aiohttp Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/pprfiscdsj859ii8fm9iaw6hwy79gijh-packages.json.drv building '/nix/store/pprfiscdsj859ii8fm9iaw6hwy79gijh-packages.json.drv'... Going to be running update for following packages: - python3.13-aiohttp-3.13.5 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.13-aiohttp-3.13.5: UPDATING ... - python3.13-aiohttp-3.13.5: 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 9b76c5565090..25f2a1bb1933 100644 --- a/pkgs/development/python-modules/aiohttp/default.nix +++ b/pkgs/development/python-modules/aiohttp/default.nix @@ -50,14 +50,14 @@ buildPythonPackage rec { pname = "aiohttp"; - version = "3.13.5"; + version = "3.14.1"; pyproject = true; src = fetchFromGitHub { owner = "aio-libs"; repo = "aiohttp"; tag = "v${version}"; - hash = "sha256-bAP1/a2COHbe+39KY3GHXSo1Iq9x9xX8O2mLhmFlMlE="; + hash = "sha256-OJSLv/NfVrKESZqNr51FJUzLRz7wLMRdGoNjKC5EhlI="; }; postPatch = '' No auto update branch exists Old version 3.13.5" not present in staging derivation file with contents: { lib, stdenv, buildPythonPackage, fetchFromGitHub, replaceVars, isPyPy, pythonOlder, # build-system cython, pkgconfig, setuptools, # native dependencies llhttp, # dependencies aiohappyeyeballs, aiosignal, async-timeout, attrs, backports-zstd, frozenlist, multidict, propcache, yarl, # optional dependencies aiodns, brotli, brotlicffi, # tests blockbuster, freezegun, gunicorn, isa-l, isal, proxy-py, pytest-codspeed, pytest-cov-stub, pytest-mock, pytest-timeout, pytest-xdist, pytestCheckHook, re-assert, trustme, zlib-ng, }: buildPythonPackage (finalAttrs: { pname = "aiohttp"; version = "3.14.0"; pyproject = true; src = fetchFromGitHub { owner = "aio-libs"; repo = "aiohttp"; tag = "v${finalAttrs.version}"; hash = "sha256-RRXdDDkQlL7erfYgs4+gSy6GMlVUG7PrDLTQBYJJ1To="; }; postPatch = '' rm -r vendor patchShebangs tools touch .git # tools/gen.py uses .git to find the project root # 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 = [ cython pkgconfig setuptools ]; preBuild = '' make cythonize ''; buildInputs = [ llhttp ]; env.AIOHTTP_USE_SYSTEM_DEPS = true; dependencies = [ aiohappyeyeballs aiosignal attrs frozenlist multidict propcache yarl ] ++ finalAttrs.passthru.optional-dependencies.speedups; optional-dependencies.speedups = [ aiodns (if isPyPy then brotlicffi else brotli) ] ++ lib.optionals (pythonOlder "3.14") [ backports-zstd ]; nativeCheckInputs = [ blockbuster freezegun gunicorn # broken on aarch64-darwin (if lib.meta.availableOn stdenv.hostPlatform isa-l then isal else null) proxy-py pytest-codspeed pytest-cov-stub pytest-mock pytest-timeout pytest-xdist pytestCheckHook re-assert trustme zlib-ng ]; disabledTests = [ # Disable tests that require network access "test_client_session_timeout_zero" "test_mark_formdata_as_processed" "test_requote_redirect_url_default" "test_tcp_connector_ssl_shutdown_timeout_nonzero_passed" "test_tcp_connector_ssl_shutdown_timeout_zero_not_passed" "test_invalid_idna" # don't run benchmarks "test_import_time" "test_cookie_pattern_performance" "test_forwarded_re_performance" "test_regex_performance" # racy "test_uvloop_secure_https_proxy" # Cannot connect to host example.com:443 ssl:default [Could not contact DNS servers] "test_tcp_connector_ssl_shutdown_timeout_passed_to_create_connection" # Fails with http.cookies.CookieError: Control characters are not allowed in cookies "test_parse_set_cookie_headers_uses_unquote_with_octal" ] ++ lib.optionals stdenv.hostPlatform.is32bit [ "test_cookiejar" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "test_addresses" # https://github.com/aio-libs/aiohttp/issues/3572, remove >= v4.0.0 "test_close" ]; __darwinAllowLocalNetworking = true; preCheck = '' # aiohttp in current folder shadows installed version rm -r aiohttp touch tests/data.unknown_mime_type # has to be modified after 1 Jan 1990 export HOME=$(mktemp -d) '' + lib.optionalString stdenv.hostPlatform.isDarwin '' # Work around "OSError: AF_UNIX path too long" export TMPDIR="/tmp" ''; meta = { 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 ]; }; })