ceph: Pin sqlalchemy at 1.4.46

The pecan library it uses is incompatible with sqlalchemy>=2.0.
This commit is contained in:
Martin Weinelt
2023-03-08 14:44:18 +01:00
parent 1a16b3148b
commit cf7a8642fc
+19 -1
View File
@@ -105,7 +105,25 @@ let
};
# Boost 1.75 is not compatible with Python 3.10
python = python39;
python = python39.override {
packageOverrides = self: super: {
sqlalchemy = super.sqlalchemy.overridePythonAttrs (oldAttrs: rec {
version = "1.4.46";
src = super.fetchPypi {
pname = "SQLAlchemy";
inherit version;
hash = "sha256-aRO4JH2KKS74MVFipRkx4rQM6RaB8bbxj2lwRSAMSjA=";
};
nativeCheckInputs = oldAttrs.nativeCheckInputs ++ (with super; [
pytest-xdist
]);
disabledTestPaths = (oldAttrs.disabledTestPaths or []) ++ [
"test/aaa_profiling"
"test/ext/mypy"
];
});
};
};
boost = boost175.override {
enablePython = true;