diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-03-08 14:44:18 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-03-08 14:44:18 +0100 |
commit | cf7a8642fc13d1547e4b87d684263778e87295bc (patch) | |
tree | ff527c3d17465cc847b54c27da65a4f1312d8a95 | |
parent | 1a16b3148b2a71cc6d4f304817290f724288c350 (diff) | |
download | nixpkgs-cf7a8642fc13d1547e4b87d684263778e87295bc.tar nixpkgs-cf7a8642fc13d1547e4b87d684263778e87295bc.tar.gz nixpkgs-cf7a8642fc13d1547e4b87d684263778e87295bc.tar.bz2 nixpkgs-cf7a8642fc13d1547e4b87d684263778e87295bc.tar.lz nixpkgs-cf7a8642fc13d1547e4b87d684263778e87295bc.tar.xz nixpkgs-cf7a8642fc13d1547e4b87d684263778e87295bc.tar.zst nixpkgs-cf7a8642fc13d1547e4b87d684263778e87295bc.zip |
ceph: Pin sqlalchemy at 1.4.46
The pecan library it uses is incompatible with sqlalchemy>=2.0.
-rw-r--r-- | pkgs/tools/filesystems/ceph/default.nix | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/ceph/default.nix b/pkgs/tools/filesystems/ceph/default.nix index 95bf111d6de..15e5071f963 100644 --- a/pkgs/tools/filesystems/ceph/default.nix +++ b/pkgs/tools/filesystems/ceph/default.nix @@ -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; |