Skip to content

uv support #337

@KTibow

Description

@KTibow

Recommended start

uv does NOT try to install all extras. however, it tries to resolve them. read more about universal resolution

Each extra should be individually installable without conflicting with the core dependencies

  • avalon: gym==0.25.2 -> doesn't work with gym 0.23
  • atari
  • box2d
  • bsuite: deprecated & breaks in 3.12+
  • butterfly
  • classic_control
  • crafter
  • craftax
  • dm_control
  • dm_lab
  • griddly
  • kinetix: requires Python 3.10+
  • magent: not magent2 -> pettingzoo==1.19.0 -> doesn't work with pettingzoo 1.24.1
  • metta: locked at Python 3.11.7 -> incompatible, see requires-python is being handled too strictly w/ extras astral-sh/uv#15399
  • microrts
  • minerl: gym==0.17.0 -> doesn't work with gym 0.23
  • minigrid
  • minihack
  • mujoco: gymnasium[mujoco]==1.0.0 -> doesn't work with gymnasium 0.29.1
  • nethack
  • nmmo: uses old numpy & breaks in 3.12+
  • open_spiel: pettingzoo==1.19.0 -> doesn't work with pettingzoo 1.24.1
  • pokemon_red: relies on pandas==2.0.2 which breaks on some devices
  • procgen
  • slimevolley: probably meant to be slimevolleygym but that has import issues too, seems broken
  • vizdoom
  • ray
  • cleanrl

Extras shouldn't conflict with each other

many deps use pygame, therefore conflicting with each other:

  • magent (not using magent2, therefore locked to pygame 2.1.0)
  • pettingzoo butterfly (locked to the old 1.24.1, therefore locked to pygame 2.3.0)
  • box2d (pygame >= 2.1.3)
  • minigrid (pygame >= 2.4.0)
  • vizdoom (pygame >= 2.1.3)

nethack directly depends on nle == 0.9.1 while minihack depends on nle == 0.9.0

Use conflicts to solve

More

If it gets good, recommend using uv?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions