python311Packages.shapely: 2.0.1 → 2.0.2

https://github.com/shapely/shapely/releases/tag/2.0.2

The tests were moved to shapely/ directory so we cannot just remove it.
This commit is contained in:
Jan Tojnar
2023-11-17 13:50:12 +02:00
committed by Doron Behar
parent 63678e9f3d
commit aba78640f4
@@ -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) [