Skip to content

Commit 1be4cc5

Browse files
authored
Replace pygame with pygame-ce to enable Python 3.14 support for some envs (#1512)
1 parent fd67998 commit 1be4cc5

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

pyproject.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ classifiers = [
2020
"Programming Language :: Python :: 3.11",
2121
"Programming Language :: Python :: 3.12",
2222
"Programming Language :: Python :: 3.13",
23-
'Intended Audience :: Science/Research',
24-
'Topic :: Scientific/Engineering :: Artificial Intelligence',
23+
"Intended Audience :: Science/Research",
24+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
2525
]
2626
dependencies = [
2727
"numpy >=1.21.0",
@@ -34,12 +34,12 @@ dynamic = ["version"]
3434
[project.optional-dependencies]
3535
# Update dependencies in `all` if any are added or removed
3636
atari = ["ale_py >=0.9"]
37-
box2d = ["box2d ==2.3.10", "pygame >=2.1.3", "swig ==4.*"]
38-
classic-control = ["pygame >=2.1.3"]
39-
classic_control = ["pygame >=2.1.3"] # kept for backward compatibility
37+
box2d = ["box2d ==2.3.10", "pygame-ce >=2.1.3", "swig ==4.*"]
38+
classic-control = ["pygame-ce >=2.1.3"]
39+
classic_control = ["pygame-ce >=2.1.3"] # kept for backward compatibility
4040
mujoco = ["mujoco >=2.1.5", "imageio >=2.14.1", "packaging >=23.0"]
41-
toy-text = ["pygame >=2.1.3"]
42-
toy_text = ["pygame >=2.1.3"] # kept for backward compatibility
41+
toy-text = ["pygame-ce >=2.1.3"]
42+
toy_text = ["pygame-ce >=2.1.3"] # kept for backward compatibility
4343
jax = [
4444
"jax >=0.4.16",
4545
"jaxlib >=0.4.16",
@@ -62,16 +62,16 @@ all = [
6262
"ale_py >=0.9",
6363
# box2d
6464
"box2d-py ==2.3.5",
65-
"pygame >=2.1.3",
65+
"pygame-ce >=2.1.3",
6666
"swig ==4.*",
6767
# classic-control
68-
"pygame >=2.1.3",
68+
"pygame-ce >=2.1.3",
6969
# mujoco
7070
"mujoco >=2.1.5",
7171
"imageio >=2.14.1",
7272
"packaging >=23.0",
7373
# toy-text
74-
"pygame >=2.1.3",
74+
"pygame-ce >=2.1.3",
7575
# jax
7676
"jax >=0.4.16",
7777
"jaxlib >=0.4.16",

0 commit comments

Comments
 (0)