Merge pull request #222951 from r-ryantm/auto-update/python310Packages.trimesh

python310Packages.trimesh: 3.20.2 -> 3.21.0
This commit is contained in:
Mario Rodas 2023-03-28 00:08:40 -05:00 committed by GitHub
commit ff60566e5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,23 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, numpy
, lxml
}:
buildPythonPackage rec {
pname = "trimesh";
version = "3.20.2";
version = "3.21.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-6tSrWovgVTEccDelUFrw8E1ghyiPmUsEASW8kGPUBhM=";
hash = "sha256-VRPE+1QLKGy5W99ia5BuPNtmH/eoXulApS8n8SdQSaQ=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ numpy ];
# tests are not included in pypi distributions and would require lots of
# optional dependencies
doCheck = false;
nativeCheckInputs = [ lxml ];
checkPhase = ''
# Disable test_load because requires loading models which aren't part of the tarball
substituteInPlace tests/test_minimal.py --replace "test_load" "disable_test_load"
python tests/test_minimal.py
'';
pythonImportsCheck = [ "trimesh" ];