Skip to content

Commit 2105e3d

Browse files
committed
don't break build for soft dependencies
1 parent 3fe1f48 commit 2105e3d

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,11 @@ script:
9696
# install most deps here
9797
- pip install -q .[easy]
9898

99-
# xxhash only has linux wheels and triangle is compiled
100-
- pip install -q triangle xxhash
99+
# xxhash only has linux wheels and is a soft dependancy
100+
- pip install -q xxhash || true
101+
# triangle is compiled, sometimes fails
102+
# on Python 3.7, and is a soft dependency
103+
- pip install -q triangle || true
101104

102105
# run main tests
103106
# -W default means that warnings only prints the

tests/test_gltf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def test_units(self):
4040
extents = scene.extents.copy()
4141
as_in = scene.convert_units('in')
4242
# should all be exactly mm -> in conversion factor
43-
assert g.np.allclose(extents / as_in.extents, 25.4)
43+
assert g.np.allclose(extents / as_in.extents, 25.4, atol=.001)
4444

4545

4646
if __name__ == '__main__':

trimesh/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.33.38'
1+
__version__ = '2.33.39'

0 commit comments

Comments
 (0)