Skip to content

Commit

Permalink
Merge pull request #263989 from jtojnar/shapely
Browse files Browse the repository at this point in the history
python311Packages.shapely: 2.0.1 → 2.0.2
  • Loading branch information
doronbehar authored Nov 17, 2023
2 parents f68a6d1 + aba7864 commit 3dda68e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/development/python-modules/shapely/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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) [
Expand Down

0 comments on commit 3dda68e

Please sign in to comment.