From 94a7586eea1119ab0250f11741b7f388200eea66 Mon Sep 17 00:00:00 2001 From: stone_tao Date: Tue, 14 Feb 2023 09:07:36 -0800 Subject: [PATCH] remove omegaconf as dependency --- luxai_s2/luxai_runner/cli.py | 3 +-- luxai_s2/setup.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/luxai_s2/luxai_runner/cli.py b/luxai_s2/luxai_runner/cli.py index 39a2cad4..b0ddf574 100644 --- a/luxai_s2/luxai_runner/cli.py +++ b/luxai_s2/luxai_runner/cli.py @@ -9,7 +9,6 @@ from luxai_runner.episode import Episode, EpisodeConfig, ReplayConfig from luxai_runner.logger import Logger from luxai_runner.tournament import Tournament, TournamentConfig -from omegaconf import OmegaConf from luxai_s2 import LuxAI_S2 @@ -140,7 +139,7 @@ def main(): tournament_config = TournamentConfig() tournament_config.agents = args.players - # TODO - in future replace this with OmegaConf or something that can parse these nicely + tournament_config.max_concurrent_episodes = getattr( args, "tournament_cfg.concurrent" ) diff --git a/luxai_s2/setup.py b/luxai_s2/setup.py index 82aa3245..8a6573a9 100644 --- a/luxai_s2/setup.py +++ b/luxai_s2/setup.py @@ -17,7 +17,7 @@ def read(fname): long_description="Code for the Lux AI Challenge Season 2", packages=find_packages(exclude="kits"), entry_points={"console_scripts": ["luxai-s2 = luxai_runner.cli:main"]}, - version="2.1.6", + version="2.1.7", python_requires=">=3.7", install_requires=[ "numpy", @@ -26,7 +26,6 @@ def read(fname): "matplotlib", "pettingzoo", "vec_noise", - "omegaconf", "gym==0.21.0", "scipy", "importlib-metadata<5.0" # fixes bug where they deprecated an endpoint that openai gym uses