Skip to content

Commit

Permalink
python 3.9 support
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoxxl committed Apr 17, 2021
1 parent 98fe0d3 commit e62bb4d
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
- PYVER=3.6
- PYVER=3.7
- PYVER=3.8
- PYVER=3.9
os:
- linux
- osx
Expand All @@ -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
Expand Down
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.8.1

* add python 3.9 support

## 0.8.0

* add python 3.8 support
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.0
0.8.1
4 changes: 4 additions & 0 deletions docker/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/linux/build_scripts/build_env.sh
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions docker/scripts/install_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 5 additions & 1 deletion docker/windows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand All @@ -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
Expand Down

0 comments on commit e62bb4d

Please sign in to comment.