Merge pull request #263989 from jtojnar/shapely

python311Packages.shapely: 2.0.1 → 2.0.2
This commit is contained in:
Doron Behar 2023-11-17 14:44:09 +00:00 committed by GitHub
commit 3dda68ea58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) [