forked from vwxyzjn/cleanrl
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for python 3.10 (and remove pybullet) (vwxyzjn#386)
* Add support for python 3.10 (and remove pybullet) * Revert pyproject.toml to just remove pybullet * Update poetry and remove MacOS from PettingZoo CI * Update requirements * Update installation.md and README.md for python version
- Loading branch information
1 parent
e19f858
commit 5e49edd
Showing
35 changed files
with
2,706 additions
and
2,595 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,34 +93,6 @@ jobs: | |
if: runner.os == 'Linux' || runner.os == 'macOS' | ||
run: poetry run pytest tests/test_atari_jax_gymnasium.py | ||
|
||
test-pybullet-envs: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [3.8] | ||
poetry-version: [1.3] | ||
os: [ubuntu-22.04, macos-latest, windows-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Run image | ||
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: ${{ matrix.poetry-version }} | ||
|
||
# pybullet tests | ||
- name: Install core dependencies | ||
run: poetry install -E pytest | ||
- name: Install pybullet dependencies | ||
run: poetry install -E "pytest pybullet" | ||
- name: Downgrade setuptools | ||
run: poetry run pip install setuptools==59.5.0 | ||
- name: Run pybullet tests | ||
run: poetry run pytest tests/test_pybullet.py | ||
|
||
test-procgen-envs: | ||
strategy: | ||
fail-fast: false | ||
|
@@ -144,7 +116,7 @@ jobs: | |
run: poetry install -E "pytest procgen" | ||
- name: Downgrade setuptools | ||
run: poetry run pip install setuptools==59.5.0 | ||
- name: Run pybullet tests | ||
- name: Run procgen tests | ||
run: poetry run pytest tests/test_procgen.py | ||
|
||
test-mujoco-envs: | ||
|
@@ -283,7 +255,7 @@ jobs: | |
|
||
# mujoco_py tests | ||
- name: Install dependencies | ||
run: poetry install -E "pytest pybullet mujoco_py mujoco jax" | ||
run: poetry install -E "pytest mujoco_py mujoco jax" | ||
- name: Downgrade setuptools | ||
run: poetry run pip install setuptools==59.5.0 | ||
- name: install mujoco_py dependencies | ||
|
@@ -316,7 +288,7 @@ jobs: | |
|
||
# mujoco_py tests | ||
- name: Install dependencies | ||
run: poetry install -E "pytest pybullet mujoco_py mujoco jax" | ||
run: poetry install -E "pytest mujoco_py mujoco jax" | ||
- name: Run gymnasium migration dependencies | ||
run: poetry run pip install "stable_baselines3==2.0.0a1" | ||
- name: Downgrade setuptools | ||
|
@@ -389,7 +361,7 @@ jobs: | |
matrix: | ||
python-version: [3.8] | ||
poetry-version: [1.3] | ||
os: [ubuntu-22.04, macos-latest] | ||
os: [ubuntu-22.04] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.