Fix Atari Roms Download (#164)

This commit is contained in:
Antonin RAFFIN 2023-03-12 19:06:23 +01:00 committed by GitHub
parent 728c1c5b7f
commit 1f9568b2da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,6 @@ jobs:
env: env:
TERM: xterm-256color TERM: xterm-256color
FORCE_COLOR: 1 FORCE_COLOR: 1
ATARI_ROMS: ${{ secrets.ATARI_ROMS }}
# Skip CI if [ci skip] in the commit message # Skip CI if [ci skip] in the commit message
if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')" if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')"
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -36,13 +35,13 @@ jobs:
# Install Atari Roms # Install Atari Roms
pip install autorom pip install autorom
wget $ATARI_ROMS wget https://gist.githubusercontent.com/jjshoots/61b22aefce4456920ba99f2c36906eda/raw/00046ac3403768bfe45857610a3d333b8e35e026/Roms.tar.gz.b64
base64 Roms.tar.gz.b64 --decode &> Roms.tar.gz base64 Roms.tar.gz.b64 --decode &> Roms.tar.gz
AutoROM --accept-license --source-file Roms.tar.gz AutoROM --accept-license --source-file Roms.tar.gz
# Install master version # Install master version
# and dependencies for docs and tests # and dependencies for docs and tests
pip install git+https://github.com/DLR-RM/stable-baselines3#egg=stable_baselines3[extra,tests,docs] pip install git+https://github.com/DLR-RM/stable-baselines3#egg=stable_baselines3[extra_no_roms,tests,docs]
pip install . pip install .
# Use headless version # Use headless version
pip install opencv-python-headless pip install opencv-python-headless

View File

@ -3,7 +3,7 @@
Changelog Changelog
========== ==========
Release 1.8.0a8 (WIP) Release 1.8.0a9 (WIP)
-------------------------- --------------------------
Breaking Changes: Breaking Changes:
@ -24,6 +24,7 @@ Others:
^^^^^^^ ^^^^^^^
- Moved to pyproject.toml (except flake8) - Moved to pyproject.toml (except flake8)
- Added github issue forms - Added github issue forms
- Fix Atari Roms download in CI
Documentation: Documentation:
^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^

View File

@ -1 +1 @@
1.8.0a8 1.8.0a9

View File

@ -65,7 +65,7 @@ setup(
packages=[package for package in find_packages() if package.startswith("sb3_contrib")], packages=[package for package in find_packages() if package.startswith("sb3_contrib")],
package_data={"sb3_contrib": ["py.typed", "version.txt"]}, package_data={"sb3_contrib": ["py.typed", "version.txt"]},
install_requires=[ install_requires=[
"stable_baselines3>=1.8.0a8", "stable_baselines3>=1.8.0a9",
], ],
description="Contrib package of Stable Baselines3, experimental code.", description="Contrib package of Stable Baselines3, experimental code.",
author="Antonin Raffin", author="Antonin Raffin",