python312Packages.zodbpickle: 4.1 -> 4.1.1 (#353097)

This commit is contained in:
OTABI Tomoya 2024-11-03 11:36:03 +09:00 committed by GitHub
commit aa4f075ffa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,25 +3,41 @@
buildPythonPackage,
pythonOlder,
fetchPypi,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "zodbpickle";
version = "4.1";
format = "setuptools";
version = "4.1.1";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-esg1awxi3HQA+b0mUyX2Fe7LJPFDWFnB4utEQ1ivt1c=";
hash = "sha256-38DJFe8Umd0GA5cPXBECxr1+t7asRkNLKabYQL8Cckg=";
};
# fails..
doCheck = false;
postPatch = ''
substituteInPlace pyproject.toml \
--replace "setuptools<74" "setuptools"
'';
build-system = [ setuptools ];
pythonImportsCheck = [ "zodbpickle" ];
nativeCheckInputs = [ pytestCheckHook ];
# fails..
disabledTests = [
"test_dump"
"test_dumps"
"test_load"
"test_loads"
];
meta = with lib; {
description = "Fork of Python's pickle module to work with ZODB";
homepage = "https://github.com/zopefoundation/zodbpickle";