From 8528375b32c4bd6e1ea6eb21c25576f6b53b2bb9 Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 4 Oct 2024 18:55:10 +0300 Subject: [PATCH 1/7] Update pyproject.toml --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 12fb458e..6d4d019d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,13 +13,14 @@ authors = [{ name = "Farama Foundation", email = "contact@farama.org" }] license = { text = "MIT License" } keywords = ["Reinforcement Learning", "Gymnasium", "RL", "AI", "Robotics"] classifiers = [ - "Development Status :: 4 - Beta", # change to `5 - Production/Stable` when ready + "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", 'Intended Audience :: Science/Research', 'Topic :: Scientific/Engineering :: Artificial Intelligence', ] From 81ddab0dd9a327235602a7a6a026357143e8a241 Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 4 Oct 2024 18:58:06 +0300 Subject: [PATCH 2/7] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d1a2f9cc..89c092f4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ -[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://pre-commit.com/) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +[![Python](https://img.shields.io/pypi/pyversions/gymnasium-robotics.svg)](https://badge.fury.io/py/gymnasium-robotics) +[![PyPI](https://badge.fury.io/py/gymnasium-robotics.svg)](https://badge.fury.io/py/gymnasium-robotics) +[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://pre-commit.com/) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +
@@ -16,7 +20,7 @@ These environments also require the MuJoCo engine from Deepmind to be installed. Note that the latest environment versions use the latest mujoco python bindings maintained by the MuJoCo team. If you wish to use the old versions of the environments that depend on [mujoco-py](https://github.com/openai/mujoco-py), please install this library with `pip install gymnasium-robotics[mujoco-py]` -We support and test for Python 3.8, 3.9, 3.10 and 3.11 on Linux and macOS. We will accept PRs related to Windows, but do not officially support it. +We support and test for Linux and macOS. We will accept PRs related to Windows, but do not officially support it. ## Environments From ccdb754a47b740eb9841760344cdf0dc04e250df Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 4 Oct 2024 19:00:43 +0300 Subject: [PATCH 3/7] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 39ea1e86..005b3c37 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v2 - run: | From f1789b33e8c139fe1fce57b0437bd2a2ab2f147a Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 4 Oct 2024 20:16:17 +0300 Subject: [PATCH 4/7] Update test_manipulate.py --- tests/envs/hand/test_manipulate.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/envs/hand/test_manipulate.py b/tests/envs/hand/test_manipulate.py index c27b3d5a..e0baab85 100644 --- a/tests/envs/hand/test_manipulate.py +++ b/tests/envs/hand/test_manipulate.py @@ -4,10 +4,12 @@ import pytest ENVIRONMENT_IDS = ( - "HandManipulateEgg-v0", - "HandManipulatePen-v0", - "HandManipulateBlock-v0", -) + # "HandManipulateEgg-v0", + # "HandManipulatePen-v0", + # "HandManipulateBlock-v0", + "HandManipulateEgg-v1", + "HandManipulatePen-v1", + "HandManipulateBlock-v1",) @pytest.mark.parametrize("environment_id", ENVIRONMENT_IDS) From 8ec20d60dfc418c2a6ad0b3338dab80caaf677e4 Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 4 Oct 2024 20:30:06 +0300 Subject: [PATCH 5/7] Update test_reach.py --- tests/envs/hand/test_reach.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/envs/hand/test_reach.py b/tests/envs/hand/test_reach.py index 7cf93665..34a208d4 100644 --- a/tests/envs/hand/test_reach.py +++ b/tests/envs/hand/test_reach.py @@ -4,7 +4,7 @@ def test_serialize_deserialize(): - env1 = gym.make("HandReach-v0", distance_threshold=1e-6) + env1 = gym.make("HandReach-v1", distance_threshold=1e-6) env1.reset() env2 = pickle.loads(pickle.dumps(env1)) From 28f3a990128a92770b465e884a215b05f4257010 Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 4 Oct 2024 20:43:48 +0300 Subject: [PATCH 6/7] Update test_reach.py --- tests/envs/hand/test_reach.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/envs/hand/test_reach.py b/tests/envs/hand/test_reach.py index 34a208d4..b4702558 100644 --- a/tests/envs/hand/test_reach.py +++ b/tests/envs/hand/test_reach.py @@ -4,7 +4,7 @@ def test_serialize_deserialize(): - env1 = gym.make("HandReach-v1", distance_threshold=1e-6) + env1 = gym.make("HandReach-v2", distance_threshold=1e-6) env1.reset() env2 = pickle.loads(pickle.dumps(env1)) From 12368a6fde3bccbf947ad3d055f30c57b52481ba Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 4 Oct 2024 19:31:56 +0000 Subject: [PATCH 7/7] `pre-commit` --- tests/envs/hand/test_manipulate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/envs/hand/test_manipulate.py b/tests/envs/hand/test_manipulate.py index e0baab85..987093bd 100644 --- a/tests/envs/hand/test_manipulate.py +++ b/tests/envs/hand/test_manipulate.py @@ -9,7 +9,8 @@ # "HandManipulateBlock-v0", "HandManipulateEgg-v1", "HandManipulatePen-v1", - "HandManipulateBlock-v1",) + "HandManipulateBlock-v1", +) @pytest.mark.parametrize("environment_id", ENVIRONMENT_IDS)