Unverified Commit 9753b286 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

python3Packages.mechanize: add patch for python 3.13 (#416299)

parents 307b28da 3eead8e7
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchpatch,
  fetchPypi,
  html5lib,
  pytestCheckHook,
@@ -20,6 +21,14 @@ buildPythonPackage rec {
    hash = "sha256-HeqUf5vn6gq2EPe7xKTja0XWv9/O6imtPTiaiKGVfd8=";
  };

  patches = [
    (fetchpatch {
      name = "fix-cookietests-python3.13.patch";
      url = "https://github.com/python-mechanize/mechanize/commit/0c1cd4b65697dee4e4192902c9a2965d94700502.patch";
      hash = "sha256-Xlx8ZwHkFbJqeWs+/fllYZt3CZRu9rD8bMHHPuUlRv4=";
    })
  ];

  build-system = [ setuptools ];

  dependencies = [ html5lib ];