Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brax v0.9.0 #7

Closed
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions recipe/fix_assets_urdf.patch
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
diff --git a/MANIFEST.in b/MANIFEST.in
index dc3a643d..132681a3 100644
index 3d271e88..d82985f0 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,4 +1,4 @@
include brax/tests/testdata/cylinder.stl
include brax/v2/envs/assets/*.xml
-recursive-include brax/v2/test_data *.xml *.stl *.obj
-recursive-include brax/v2/visualizer *
@@ -1,3 +1,3 @@
include brax/envs/assets/*.xml
-recursive-include brax/test_data *.xml *.stl *.obj
-recursive-include brax/visualizer *
\ No newline at end of file
+recursive-include brax/v2/test_data *.xml *.stl *.obj *.urdf
+recursive-include brax/v2/visualizer *
+recursive-include brax/test_data *.xml *.stl *.obj *.urdf
+recursive-include brax/visualizer *
6 changes: 3 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{% set name = "brax" %}
{% set version = "0.1.2" %}
{% set version = "0.9.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://github.com/google/brax/archive/refs/tags/v{{ version }}.zip
sha256: af50dbbb387df4fe3c1ddee99f506e554db385fac646a5c7d8de2a7bcc602d20
sha256: 441341bac198c22333fb6625885e8b2cb6bdff6aa434d8bf097e70e22a7eff66
patches:
- fix_assets_urdf.patch

Expand Down Expand Up @@ -58,7 +58,7 @@ test:
# * https://github.com/abseil/abseil-py/blob/v1.3.0/absl/testing/absltest.py#L156
- mkdir -p brax/v1/tests/testdata
- wget https://github.com/google/brax/raw/v{{ version }}/brax/v1/tests/testdata/cylinder.stl -O brax/v1/tests/testdata/cylinder.stl
- pytest --pyargs brax -v
- pytest --pyargs brax -v -k "not (test_joint_ref_check)"
requires:
- pip
- pytest
Expand Down
Loading