ensure compat version of gymnasium

This commit is contained in:
Dominik Moritz Roth 2025-01-22 13:44:43 +01:00
parent e938018494
commit c1189351cf

View File

@ -8,7 +8,7 @@
description = "Minimalistic and efficient implementations of PPO and TRPL for torchrl" description = "Minimalistic and efficient implementations of PPO and TRPL for torchrl"
authors = [{name = "Dominik Roth", email = "mail@dominik-roth.eu"}] authors = [{name = "Dominik Roth", email = "mail@dominik-roth.eu"}]
readme = "README.md" readme = "README.md"
requires-python = ">=3.7,<3.12" requires-python = ">=3.7"
classifiers = [ classifiers = [
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",
"Intended Audience :: Developers", "Intended Audience :: Developers",
@ -23,9 +23,10 @@
dependencies = [ dependencies = [
"numpy", "numpy",
"torch", "torch",
"gymnasium", "gymnasium<1.0",
"tensordict", "tensordict",
"torchrl", "torchrl",
"pytest",
] ]
[project.urls] [project.urls]
@ -33,3 +34,4 @@
[project.optional-dependencies] [project.optional-dependencies]
dev = ["pytest"] dev = ["pytest"]
box2d = ["swig", "gymnasium[box2d]"]