package/python-gymnasium: new package

Add support for the python-gymnasium package, which provides a
standard API for reinforcement learning and a broad suite of
reference environments. Gymnasium is the maintained successor
to OpenAI Gym, developed by the Farama Foundation.

Signed-off-by: Xukai Wang <kingxukai@zohomail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Xukai Wang
2026-02-13 03:03:46 +08:00
committed by Julien Olivain
parent 6c0ceb48b3
commit fb53371286
5 changed files with 32 additions and 0 deletions

View File

@@ -3482,6 +3482,7 @@ F: configs/ti_am64x_sk_defconfig
N: Xukai Wang <kingxukai@zohomail.com>
F: package/python-cloudpickle/
F: package/python-farama-notifications/
F: package/python-gymnasium/
N: Yair Ben Avraham <yairba@protonmail.com>
F: package/casync/

View File

@@ -1145,6 +1145,7 @@ menu "External python modules"
source "package/python-grpcio-reflection/Config.in"
source "package/python-grpclib/Config.in"
source "package/python-gunicorn/Config.in"
source "package/python-gymnasium/Config.in"
source "package/python-h11/Config.in"
source "package/python-h2/Config.in"
source "package/python-hid/Config.in"

View File

@@ -0,0 +1,11 @@
config BR2_PACKAGE_PYTHON_GYMNASIUM
bool "python-gymnasium"
select BR2_PACKAGE_PYTHON_CLOUDPICKLE # runtime
select BR2_PACKAGE_PYTHON_FARAMA_NOTIFICATIONS # runtime
select BR2_PACKAGE_PYTHON_NUMPY # runtime
select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime
help
A standard API for reinforcement learning and a diverse set
of reference environments (formerly Gym).
https://farama.org

View File

@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/gymnasium/json
md5 b67cd4243af164eb11888fe731c91e11 gymnasium-1.2.3.tar.gz
sha256 2b2cb5b5fbbbdf3afb9f38ca952cc48aa6aa3e26561400d940747fda3ad42509 gymnasium-1.2.3.tar.gz
# Locally computed sha256 checksums
sha256 7dacaa9772e856aee6943b32ef663d3634d91d72ec7bbc74d136943673f91e18 LICENSE

View File

@@ -0,0 +1,14 @@
################################################################################
#
# python-gymnasium
#
################################################################################
PYTHON_GYMNASIUM_VERSION = 1.2.3
PYTHON_GYMNASIUM_SOURCE = gymnasium-$(PYTHON_GYMNASIUM_VERSION).tar.gz
PYTHON_GYMNASIUM_SITE = https://files.pythonhosted.org/packages/76/59/653a9417d98ed3e29ef9734ba52c3495f6c6823b8d5c0c75369f25111708
PYTHON_GYMNASIUM_SETUP_TYPE = setuptools
PYTHON_GYMNASIUM_LICENSE = MIT
PYTHON_GYMNASIUM_LICENSE_FILES = LICENSE
$(eval $(python-package))