Merge pull request #327142 from ipetkov/tandoor-recipies-fix-build

tandoor-recipes: pin python3 to python311, and lxml to 5.1.0
This commit is contained in:
Bruno BELANYI 2024-07-15 08:29:02 +01:00 committed by GitHub
commit 4a67ab5014
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,10 +1,11 @@
{ callPackage
, nixosTests
, python3
, python311
, fetchFromGitHub
}:
let
python = python3.override {
# python-ldap-3.4.4 does not work with python3(12)
python = python311.override {
packageOverrides = self: super: {
validators = super.validators.overridePythonAttrs (_: rec {
version = "0.20.0";
@ -28,6 +29,15 @@ let
pytest-django
];
});
# python3.11-extruct-0.16.0 doesn't work with lxml-5.2.2
lxml = super.lxml.overridePythonAttrs (oldAttrs: rec {
version = "5.1.0";
src = oldAttrs.src.override {
rev = version;
hash = "sha256-eWLYzZWatYDmhuBTZynsdytlNFKKmtWQ1XIyzVD8sDY=";
};
});
};
};