Skip to content

Commit 8d589fc

Browse files
authored
Fixes numpy ver to <2 for isaaclab_rl and isaaclab_tasks (#2866)
# Description This PR fixes the numpy version get upgraded to >2 when installing rl_packages dependencies ## Type of change <!-- As you go through the list, delete the ones that are not applicable. --> - Bug fix (non-breaking change which fixes an issue) ## Screenshots Please attach before and after screenshots of the change if applicable. <!-- Example: | Before | After | | ------ | ----- | | _gif/png before_ | _gif/png after_ | To upload images to a PR -- simply drag and drop an image while in edit mode and it should upload the image directly. You can then paste that source into the above before/after sections. --> ## Checklist - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [x] I have not done this task -->
1 parent 367925c commit 8d589fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/isaaclab_rl/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Minimum dependencies required prior to installation
2020
INSTALL_REQUIRES = [
2121
# generic
22-
"numpy",
22+
"numpy<2",
2323
"torch==2.5.1",
2424
"torchvision>=0.14.1", # ensure compatibility with torch 1.13.1
2525
"protobuf>=3.20.2,!=5.26.0",

source/isaaclab_tasks/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# Minimum dependencies required prior to installation
1919
INSTALL_REQUIRES = [
2020
# generic
21-
"numpy",
21+
"numpy<2",
2222
"torch==2.5.1",
2323
"torchvision>=0.14.1", # ensure compatibility with torch 1.13.1
2424
"protobuf>=3.20.2,!=5.26.0",

0 commit comments

Comments
 (0)