From aeb2277a0fc13cc99c0b0de4b9601619cbc1fbea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 24 Sep 2025 11:05:51 -0700 Subject: [PATCH] python3Packages.baize: 0.22.2 -> 0.23.1 Diff: https://github.com/abersheeran/baize/compare/v0.22.2...v0.23.1 --- .../python-modules/baize/default.nix | 26 +++---------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/pkgs/development/python-modules/baize/default.nix b/pkgs/development/python-modules/baize/default.nix index 9b55c4b15fe5..6515876e7897 100644 --- a/pkgs/development/python-modules/baize/default.nix +++ b/pkgs/development/python-modules/baize/default.nix @@ -3,38 +3,27 @@ fetchFromGitHub, httpx, lib, - pdm-pep517, + pdm-backend, pytest-asyncio, pytestCheckHook, setuptools, starlette, - fetchpatch, }: buildPythonPackage rec { pname = "baize"; - version = "0.22.2"; + version = "0.23.1"; pyproject = true; src = fetchFromGitHub { owner = "abersheeran"; repo = "baize"; tag = "v${version}"; - hash = "sha256-vsYt1q8QEDmEXjd8dlzHr85Fz3YAjPowS+oBWYGbG1o="; + hash = "sha256-TclyTLqJ+r9Spg6VgmsqhhVj/Mp/HqFrkXjZy5f2BR0="; }; - patches = [ - # Fix tests failing with httpx>=0.28 - # https://github.com/abersheeran/baize/pull/74 - # FIXME: Remove in next release - (fetchpatch { - url = "https://github.com/abersheeran/baize/commit/40dc83bc03b4e5acd5155917be3a481e6494530e.patch"; - hash = "sha256-z4jb4iwo51WIPAAECiM4kPThpHcrzy3349gm/orgoq8="; - }) - ]; - build-system = [ - pdm-pep517 + pdm-backend setuptools ]; @@ -47,13 +36,6 @@ buildPythonPackage rec { starlette ]; - disabledTests = [ - # test relies on last modified date, which is set to 1970-01-01 in the sandbox - "test_files" - # starlette.testclient.WebSocketDenialResponse - "test_request_response" - ]; - meta = { description = "Powerful and exquisite WSGI/ASGI framework/toolkit"; homepage = "https://github.com/abersheeran/baize";