Skip to content

Commit

Permalink
don't break build for soft dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedh committed Sep 23, 2018
1 parent 3fe1f48 commit 2105e3d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,11 @@ script:
# install most deps here
- pip install -q .[easy]

# xxhash only has linux wheels and triangle is compiled
- pip install -q triangle xxhash
# xxhash only has linux wheels and is a soft dependancy
- pip install -q xxhash || true
# triangle is compiled, sometimes fails
# on Python 3.7, and is a soft dependency
- pip install -q triangle || true

# run main tests
# -W default means that warnings only prints the
Expand Down
2 changes: 1 addition & 1 deletion tests/test_gltf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_units(self):
extents = scene.extents.copy()
as_in = scene.convert_units('in')
# should all be exactly mm -> in conversion factor
assert g.np.allclose(extents / as_in.extents, 25.4)
assert g.np.allclose(extents / as_in.extents, 25.4, atol=.001)


if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion trimesh/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.33.38'
__version__ = '2.33.39'

0 comments on commit 2105e3d

Please sign in to comment.