Unverified Commit 8759229b authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.httpx-ws: 0.6.1 -> 0.6.2 (#350340)

parents 9e7e837d 0fdd9ce1
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
{
  lib,
  anyio,
  buildPythonPackage,
  fetchFromGitHub,
  pythonOlder,
  hatchling,
  anyio,
  httpcore,
  httpx,
  wsproto,
  pytestCheckHook,
  pythonOlder,
  starlette,
  trio,
  uvicorn,
  wsproto,
}:

buildPythonPackage rec {
  pname = "httpx-ws";
  version = "0.6.1";
  version = "0.6.2";
  pyproject = true;

  disabled = pythonOlder "3.8";
  disabled = pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "frankie567";
    repo = "httpx-ws";
    rev = "refs/tags/v${version}";
    hash = "sha256-mynr07px+rQb7x8GepQoUgBbh0720S0K2RJrboOoJXA=";
    hash = "sha256-VsIYOGNEdX4rxjEa01M77arA3ddJS3cPFxXlf13QTuE=";
  };

  # we don't need to use the hatch-regex-commit plugin
@@ -46,8 +46,6 @@ buildPythonPackage rec {
    wsproto
  ];

  pythonImportsCheck = [ "httpx_ws" ];

  nativeCheckInputs = [
    pytestCheckHook
    starlette
@@ -55,6 +53,8 @@ buildPythonPackage rec {
    uvicorn
  ];

  pythonImportsCheck = [ "httpx_ws" ];

  disabledTestPaths = [
    # hang
    "tests/test_api.py"
@@ -63,6 +63,8 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "WebSocket support for HTTPX";
    homepage = "https://github.com/frankie567/httpx-ws";
    changelog = "https://github.com/frankie567/httpx-ws/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = [ ];
  };
}