python310Packages.httpx 0 -> 1 attrpath: python310Packages.httpx 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/gacl1q0ym9fa0knvbg8bywrjhfvsr6js-packages.json.drv building '/nix/store/gacl1q0ym9fa0knvbg8bywrjhfvsr6js-packages.json.drv'... Going to be running update for following packages: - python3.10-httpx-0.25.0 Press Enter key to continue... Running update for: - python3.10-httpx-0.25.0: UPDATING ... - python3.10-httpx-0.25.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/httpx/default.nix b/pkgs/development/python-modules/httpx/default.nix index 7e451532af04..8b1ada249d35 100644 --- a/pkgs/development/python-modules/httpx/default.nix +++ b/pkgs/development/python-modules/httpx/default.nix @@ -29,7 +29,7 @@ buildPythonPackage rec { pname = "httpx"; - version = "0.25.0"; + version = "0.26.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -38,7 +38,7 @@ buildPythonPackage rec { owner = "encode"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-zQVavjU66ksO0FB1h32e0YUhOGiQ4jHPvjgLhtxjU6s="; + hash = "sha256-qMMx1CYu2/yH4NRvZFzJOflAPIbcvMYJqU4r+chuzl0="; }; nativeBuildInputs = [ No auto update branch exists Old version 0.25.0" not present in staging derivation file with contents: { lib , stdenv , anyio , brotli , brotlicffi , buildPythonPackage , certifi , chardet , click , fetchFromGitHub , h2 , hatch-fancy-pypi-readme , hatchling , httpcore , idna , isPyPy , multipart , pygments , python , pythonOlder , rich , sniffio , socksio , pytestCheckHook , pytest-asyncio , pytest-trio , trustme , uvicorn }: buildPythonPackage rec { pname = "httpx"; version = "0.25.2"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "encode"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-rGtIrs4dffs7Ndtjb400q7JrZh+HG9k0uwHw9pRlC5s="; }; nativeBuildInputs = [ hatch-fancy-pypi-readme hatchling ]; propagatedBuildInputs = [ anyio certifi httpcore idna sniffio ]; passthru.optional-dependencies = { http2 = [ h2 ]; socks = [ socksio ]; brotli = if isPyPy then [ brotlicffi ] else [ brotli ]; cli = [ click rich pygments ]; }; # trustme uses pyopenssl doCheck = !(stdenv.isDarwin && stdenv.isAarch64); nativeCheckInputs = [ chardet multipart pytestCheckHook pytest-asyncio pytest-trio trustme uvicorn ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); # testsuite wants to find installed packages for testing entrypoint preCheck = '' export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH ''; pytestFlagsArray = [ "-W" "ignore::DeprecationWarning" "-W" "ignore::trio.TrioDeprecationWarning" ]; disabledTests = [ # httpcore.ConnectError: [Errno 101] Network is unreachable "test_connect_timeout" # httpcore.ConnectError: [Errno -2] Name or service not known "test_async_proxy_close" "test_sync_proxy_close" ]; disabledTestPaths = [ "tests/test_main.py" ]; pythonImportsCheck = [ "httpx" ]; __darwinAllowLocalNetworking = true; meta = with lib; { changelog = "https://github.com/encode/httpx/blob/${src.rev}/CHANGELOG.md"; description = "The next generation HTTP client"; homepage = "https://github.com/encode/httpx"; license = licenses.bsd3; maintainers = with maintainers; [ fab ]; }; }