summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Maudoux <layus.on@gmail.com>2021-07-20 11:21:29 +0200
committerGitHub <noreply@github.com>2021-07-20 11:21:29 +0200
commit46de2b8ffbb4ea99a520b4e6262fe6593967bce0 (patch)
treea2a77b987b7410e2fb8084f1f6df131e0d6356b3
parent07947020838e2f6b5c4c277c388cb06702490f31 (diff)
downloadnixpkgs-46de2b8ffbb4ea99a520b4e6262fe6593967bce0.tar
nixpkgs-46de2b8ffbb4ea99a520b4e6262fe6593967bce0.tar.gz
nixpkgs-46de2b8ffbb4ea99a520b4e6262fe6593967bce0.tar.bz2
nixpkgs-46de2b8ffbb4ea99a520b4e6262fe6593967bce0.tar.lz
nixpkgs-46de2b8ffbb4ea99a520b4e6262fe6593967bce0.tar.xz
nixpkgs-46de2b8ffbb4ea99a520b4e6262fe6593967bce0.tar.zst
nixpkgs-46de2b8ffbb4ea99a520b4e6262fe6593967bce0.zip
pythonPackages.crate: mark broken (#130017)
-rw-r--r--pkgs/development/python-modules/agate-sql/default.nix4
-rw-r--r--pkgs/development/python-modules/crate/default.nix6
2 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/agate-sql/default.nix b/pkgs/development/python-modules/agate-sql/default.nix
index 890f44b4ad3..68f166b3c7c 100644
--- a/pkgs/development/python-modules/agate-sql/default.nix
+++ b/pkgs/development/python-modules/agate-sql/default.nix
@@ -22,6 +22,10 @@ buildPythonPackage rec {
 
   propagatedBuildInputs = [ agate sqlalchemy ];
 
+  # crate is broken in nixpkgs, with SQLAlchemy > 1.3
+  # Skip tests for now as they rely on it.
+  doCheck = false;
+
   checkInputs = [ crate nose geojson ];
 
   checkPhase = ''
diff --git a/pkgs/development/python-modules/crate/default.nix b/pkgs/development/python-modules/crate/default.nix
index 07b9652e775..c4a698c5250 100644
--- a/pkgs/development/python-modules/crate/default.nix
+++ b/pkgs/development/python-modules/crate/default.nix
@@ -39,5 +39,11 @@ buildPythonPackage rec {
     description = "A Python client library for CrateDB";
     license = licenses.asl20;
     maintainers = with maintainers; [ doronbehar ];
+    # 2021-07-12 (@layus): Please unbreak when an update fixes compatibility
+    # with the version of SQLAlchemy in nixpkgs
+    # And also re-enable tests in pythonPackages.agate-sql.
+    # The version string below is intentionally split, so nixpkgs-update does
+    # not change it. That would make this warning pretty useless.
+    broken = assert version == "0.2"+"6.0"; true;
   };
 }