summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2023-11-17 14:44:09 +0000
committerGitHub <noreply@github.com>2023-11-17 14:44:09 +0000
commit3dda68ea58ec44aa2b4712c73cd5e60c0e67906f (patch)
treee1f62d859d1280e1e223e12cf24ec45a93648073 /pkgs
parentf68a6d102c8a3be2ef3c40b3d46b9221340efe71 (diff)
parentaba78640f4e53638928d1254da6f2deccfea6101 (diff)
Merge pull request #263989 from jtojnar/shapely
python311Packages.shapely: 2.0.1 → 2.0.2
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/shapely/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/shapely/default.nix b/pkgs/development/python-modules/shapely/default.nix
index 488e936abb82a..7f87ddf6befab 100644
--- a/pkgs/development/python-modules/shapely/default.nix
+++ b/pkgs/development/python-modules/shapely/default.nix
@@ -14,14 +14,14 @@
 
 buildPythonPackage rec {
   pname = "shapely";
-  version = "2.0.1";
+  version = "2.0.2";
   format = "pyproject";
 
   disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
-    hash = "sha256-Zqaxo+cuzpf8hVNqKBR2+bd5TeLmRsqKRRfi48FEaJM=";
+    hash = "sha256-FxPMBMFxuv/Fslm6hTHFiswqMBcHt/Ah2IoV7QkGSec=";
   };
 
   nativeBuildInputs = [
@@ -44,8 +44,10 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
+  # Fix a ModuleNotFoundError. Investigated at:
+  # https://github.com/NixOS/nixpkgs/issues/255262
   preCheck = ''
-    rm -r shapely # prevent import of local shapely
+    cd $out
   '';
 
   disabledTests = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [