diff --git a/.travis.yml b/.travis.yml index c888d67e5..1f30e4729 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ env: - PYVER=3.6 - PYVER=3.7 - PYVER=3.8 + - PYVER=3.9 os: - linux - osx @@ -30,6 +31,10 @@ matrix: env: - CROSS=win64 - PYVER=3.8 + - os: linux + env: + - CROSS=win64 + - PYVER=3.9 before_script: - mkdir -p $HOME/roms diff --git a/CHANGES.md b/CHANGES.md index 7b672595b..08e3cf80d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Changelog +## 0.8.1 + +* add python 3.9 support + ## 0.8.0 * add python 3.8 support diff --git a/README.md b/README.md index 376d09be4..2b980f424 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ Supported Pythons: - 3.6 - 3.7 - 3.8 +- 3.9 Each game integration has files listing memory locations for in-game variables, reward functions based on those variables, episode end conditions, savestates at the beginning of levels and a file containing hashes of ROMs that work with these files. diff --git a/VERSION b/VERSION index a3df0a695..6f4eebdf6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.8.0 +0.8.1 diff --git a/docker/linux/Dockerfile b/docker/linux/Dockerfile index 95cc2a115..f1bd459f9 100644 --- a/docker/linux/Dockerfile +++ b/docker/linux/Dockerfile @@ -30,6 +30,10 @@ RUN /opt/python/cp35-cp35m/bin/python3.5 -m venv ~/venv3.5 && \ . ~/venv3.8/bin/activate && \ pip install wheel && \ pip install google-auth google-cloud-storage pytest requests && \ + /opt/python/cp39-cp39/bin/python3.9 -m venv ~/venv3.9 && \ + . ~/venv3.9/bin/activate && \ + pip install wheel && \ + pip install google-auth google-cloud-storage pytest requests && \ rm -rf ~/.cache && \ ln -s ~/venv$PYVER ~/venv && \ echo "source /root/venv\$PYVER/bin/activate" > ~/.bash_profile diff --git a/docker/linux/build_scripts/build_env.sh b/docker/linux/build_scripts/build_env.sh index 007cdec8a..b517d2de6 100644 --- a/docker/linux/build_scripts/build_env.sh +++ b/docker/linux/build_scripts/build_env.sh @@ -1,7 +1,7 @@ # source me PYTHON_DOWNLOAD_URL=https://www.python.org/ftp/python -CPYTHON_VERSIONS="3.5.6 3.6.7 3.7.1 3.8.2" +CPYTHON_VERSIONS="3.5.6 3.6.7 3.7.1 3.8.2 3.9.3" # openssl version to build, with expected sha256 hash of .tar.gz # archive. diff --git a/docker/scripts/install_python.sh b/docker/scripts/install_python.sh index 30132f897..e95fb3323 100755 --- a/docker/scripts/install_python.sh +++ b/docker/scripts/install_python.sh @@ -43,3 +43,4 @@ install_python 3 5 4 install_python 3 6 6 install_python 3 7 0 install_python 3 8 2 +install_python 3 9 4 \ No newline at end of file diff --git a/docker/windows/Dockerfile b/docker/windows/Dockerfile index e7aa5ed53..42c907b5e 100644 --- a/docker/windows/Dockerfile +++ b/docker/windows/Dockerfile @@ -17,7 +17,8 @@ RUN apt-add-repository -y ppa:deadsnakes/ppa && \ libpython3.5-dev python3.5-venv \ libpython3.6-dev python3.6-venv \ libpython3.7-dev python3.7-venv \ - libpython3.8-dev python3.8-venv && \ + libpython3.8-dev python3.8-venv \ + libpython3.9-dev python3.9-venv && \ apt-get clean RUN python3.5 -m venv ~/venv3.5 && \ @@ -36,6 +37,9 @@ RUN python3.5 -m venv ~/venv3.5 && \ . ~/venv3.8/bin/activate && \ pip install wheel && \ pip install google-auth google-cloud-storage pytest requests && \ + . ~/venv3.9/bin/activate && \ + pip install wheel && \ + pip install google-auth google-cloud-storage pytest requests && \ rm -rf ~/.cache && \ ln -s ~/venv$PYVER ~/venv && \ echo "source /root/venv\$PYVER/bin/activate" > ~/.bash_profile