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

This commit is contained in:
Aleksana
2025-06-13 10:30:24 +08:00
committed by GitHub
@@ -1,6 +1,7 @@
{
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 ];