Skip to content

Commit 46916a3

Browse files
committed
python 3.9 support
1 parent 6886936 commit 46916a3

File tree

8 files changed

+22
-3
lines changed

8 files changed

+22
-3
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ env:
99
- PYVER=3.6
1010
- PYVER=3.7
1111
- PYVER=3.8
12+
- PYVER=3.9
1213
os:
1314
- linux
1415
- osx
@@ -30,6 +31,10 @@ matrix:
3031
env:
3132
- CROSS=win64
3233
- PYVER=3.8
34+
- os: linux
35+
env:
36+
- CROSS=win64
37+
- PYVER=3.9
3338

3439
before_script:
3540
- mkdir -p $HOME/roms

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.8.1
4+
5+
* add python 3.9 support
6+
37
## 0.8.0
48

59
* add python 3.8 support

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Supported Pythons:
1717
- 3.6
1818
- 3.7
1919
- 3.8
20+
- 3.9
2021

2122
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.
2223

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.8.0
1+
0.8.1

docker/linux/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ RUN /opt/python/cp35-cp35m/bin/python3.5 -m venv ~/venv3.5 && \
3030
. ~/venv3.8/bin/activate && \
3131
pip install wheel && \
3232
pip install google-auth google-cloud-storage pytest requests && \
33+
/opt/python/cp39-cp39/bin/python3.9 -m venv ~/venv3.9 && \
34+
. ~/venv3.9/bin/activate && \
35+
pip install wheel && \
36+
pip install google-auth google-cloud-storage pytest requests && \
3337
rm -rf ~/.cache && \
3438
ln -s ~/venv$PYVER ~/venv && \
3539
echo "source /root/venv\$PYVER/bin/activate" > ~/.bash_profile

docker/linux/build_scripts/build_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# source me
22

33
PYTHON_DOWNLOAD_URL=https://www.python.org/ftp/python
4-
CPYTHON_VERSIONS="3.5.6 3.6.7 3.7.1 3.8.2"
4+
CPYTHON_VERSIONS="3.5.6 3.6.7 3.7.1 3.8.2 3.9.3"
55

66
# openssl version to build, with expected sha256 hash of .tar.gz
77
# archive.

docker/scripts/install_python.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,4 @@ install_python 3 5 4
4343
install_python 3 6 6
4444
install_python 3 7 0
4545
install_python 3 8 2
46+
install_python 3 9 4

docker/windows/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ RUN apt-add-repository -y ppa:deadsnakes/ppa && \
1717
libpython3.5-dev python3.5-venv \
1818
libpython3.6-dev python3.6-venv \
1919
libpython3.7-dev python3.7-venv \
20-
libpython3.8-dev python3.8-venv && \
20+
libpython3.8-dev python3.8-venv \
21+
libpython3.9-dev python3.9-venv && \
2122
apt-get clean
2223

2324
RUN python3.5 -m venv ~/venv3.5 && \
@@ -36,6 +37,9 @@ RUN python3.5 -m venv ~/venv3.5 && \
3637
. ~/venv3.8/bin/activate && \
3738
pip install wheel && \
3839
pip install google-auth google-cloud-storage pytest requests && \
40+
. ~/venv3.9/bin/activate && \
41+
pip install wheel && \
42+
pip install google-auth google-cloud-storage pytest requests && \
3943
rm -rf ~/.cache && \
4044
ln -s ~/venv$PYVER ~/venv && \
4145
echo "source /root/venv\$PYVER/bin/activate" > ~/.bash_profile

0 commit comments

Comments
 (0)