Skip to content

Commit ddb2097

Browse files
committed
Changed benchmarl dep
- PyPi does not like dependencies from github, so I added the PyPi release of benchmarl but with instruction to install our fork.
1 parent 63250de commit ddb2097

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Test PettingZoo
6060
run: pytest test/test_pettingzoo.py
6161
- name: Install torchrl
62-
run: find dist -name '*.whl' -exec pip install {}[torchrl] \;
62+
run: pip install torchrl git+https://github.com/jeguzzi/BenchMARL.git@main
6363
- name: Test TorchRL
6464
run: pytest test/test_torchrl.py
6565
publish-to-testpypi:

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ jobs:
6363
- name: Test PettingZoo
6464
run: pytest test/test_pettingzoo.py
6565
- name: Install torchrl
66-
run: find dist -name '*.whl' -exec pip install {}[torchrl] \;
66+
run: pip install torchrl git+https://github.com/jeguzzi/BenchMARL.git@main
6767
- name: Test TorchRL
6868
run: pytest test/test_torchrl.py

docs/source/installation.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,14 @@ If you prefer to install the latest developments from github:
1414

1515
.. code-block:: console
1616
17-
pip install git+https://github.com/idsia-robotics/navground_learning.git@main[all]
17+
pip install git+https://github.com/idsia-robotics/navground_learning.git@main[all]
18+
19+
20+
Install our fork of BenchMARL that adds:
21+
22+
- possible testing environments that are different that the training environments
23+
- logging success rates
24+
25+
.. code-block:: console
26+
27+
pip install git+https://github.com/jeguzzi/BenchMARL.git@main

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ inference = [
4646
'onnx'
4747
]
4848
torchrl = [
49-
"benchmarl@git+https://github.com/jeguzzi/BenchMARL@main",
49+
"benchmarl",
5050
"torchrl",
5151
]
5252
all = [

0 commit comments

Comments
 (0)