Skip to content

Commit

Permalink
[Versioning] 1.1.0 (#61)
Browse files Browse the repository at this point in the history
* Amend

* Amend

* Amend

* Amend

* Amend

* Amend
  • Loading branch information
matteobettini authored Feb 2, 2024
1 parent 0305223 commit 6aae619
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/unittest/install_pettingzoo.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

pip install "pettingzoo[all]==1.24.1"
pip install "pettingzoo[all]==1.24.3"
sudo apt-get update
sudo apt-get install python3-opengl xvfb
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ def package_files(directory):

setup(
name="benchmarl",
version="1.0.0",
version="1.1.0",
description="BenchMARL",
url="https://github.com/facebookresearch/BenchMARL",
author="Matteo Bettini",
author_email="mb2389@cl.cam.ac.uk",
install_requires=["torchrl>=0.2.0", "tqdm", "hydra-core"],
install_requires=["torchrl>=0.3.0", "tqdm", "hydra-core"],
extras_require={
"vmas": ["vmas>=1.3.4"],
"pettingzoo": ["pettingzoo[all]>=1.24.1"],
"pettingzoo": ["pettingzoo[all]>=1.24.3"],
"gnn": ["torch_geometric"],
},
packages=find_packages(),
Expand Down
6 changes: 3 additions & 3 deletions test/test_pettingzoo.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_all_algos(
if (prefer_continuous and not algo_config.supports_continuous_actions()) or (
not prefer_continuous and not algo_config.supports_discrete_actions()
):
return
pytest.skip()

# To not run unsupported algo-task pairs
if (
Expand All @@ -53,7 +53,7 @@ def test_all_algos(
not task.supports_discrete_actions()
and not algo_config.supports_continuous_actions()
):
return
pytest.skip()

task = task.get_from_yaml()
experiment_config.prefer_continuous_actions = prefer_continuous
Expand Down Expand Up @@ -119,7 +119,7 @@ def test_reloading_trainer(
experiment_config.prefer_continuous_actions = prefer_continuous
algo_config = algo_config.get_from_yaml()
if isinstance(algo_config, VdnConfig):
# There are some bugs currently in TorchRL
# There are some bugs currently in TorchRL https://github.com/pytorch/rl/issues/1593
return
ExperimentUtils.check_experiment_loading(
algo_config=algo_config,
Expand Down
4 changes: 2 additions & 2 deletions test/test_vmas.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_all_algos(
if (prefer_continuous and not algo_config.supports_continuous_actions()) or (
not prefer_continuous and not algo_config.supports_discrete_actions()
):
return
pytest.skip()

task = task.get_from_yaml()
experiment_config.prefer_continuous_actions = prefer_continuous
Expand Down Expand Up @@ -108,7 +108,7 @@ def test_reloading_trainer(
):
algo_config = algo_config.get_from_yaml()
if isinstance(algo_config, VdnConfig):
# There are some bugs currently in TorchRL
# There are some bugs currently in TorchRL https://github.com/pytorch/rl/issues/1593
return
ExperimentUtils.check_experiment_loading(
algo_config=algo_config,
Expand Down

0 comments on commit 6aae619

Please sign in to comment.