Merge pull request #222951 from r-ryantm/auto-update/python310Packages.trimesh
python310Packages.trimesh: 3.20.2 -> 3.21.0
This commit is contained in:
commit
ff60566e5a
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user