Skip to content

17/52 Ocean envs fail to use v4 API #542

@KTibow

Description

@KTibow

The following envs include "../env_binding.h" in their binding.c, which no longer exists in PufferLib 4.0. They need to be migrated to the current vecenv.h API (Dict* kwargs, dict_get/dict_set instead of PyObject*/unpack/assign_to_dict).

asteroids, battle, boids, chain_mdp, checkers, convert_circle, impulse_wars, matsci, memory, onestateworld, onlyfish, shared_pool, tactical, template, tmaze

They fail with errors like

ocean/template/binding.c:4:10: fatal error: '../env_binding.h' file not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions