Skip to content

Commit

Permalink
[Dy2St][NumPy2] Replace deprecated gym with gymnasium (#64950)
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo authored Jun 6, 2024
1 parent 938aa50 commit cd04089
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/unittest_py/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PyGithub
coverage==5.5
pycrypto ; platform_system != "Windows"
mock
gym==0.26.2
gymnasium==0.29.1
pygame==2.5.2
hypothesis
opencv-python<=4.2.0.32
Expand Down
2 changes: 1 addition & 1 deletion test/dygraph_to_static/test_reinforcement_learning.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import math
import unittest

import gym
import gymnasium as gym
import numpy as np
from dygraph_to_static_utils import (
Dy2StTestBase,
Expand Down

0 comments on commit cd04089

Please sign in to comment.