From 9e0fe0f0f9713a2a993ca78776529011d6c5fbeb Mon Sep 17 00:00:00 2001 From: Saran Tunyasuvunakool Date: Thu, 20 Aug 2020 19:39:59 +0100 Subject: [PATCH] Document support for Python 3.8. Pin dependency versions in requirements.txt to ones for which Python 3.8 wheels are available on PyPI. Pin protobuf version in setup.py to be no less than the one that was used to generate the precompiled Python source. PiperOrigin-RevId: 327666647 Change-Id: If90d5c68afdba5c12aa29155187358a1cea817ac --- README.md | 1 + requirements.txt | 12 ++++++------ setup.py | 4 ++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ed94f488..d14910c7 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ versions: * 3.6 * 3.7 +* 3.8 Various people have been successful in getting `dm_control` to work on other Linux distros, OS X, and Windows. We do not provide active support for these, diff --git a/requirements.txt b/requirements.txt index cedbf2dd..a9345e55 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,20 +1,20 @@ absl-py==0.9.0 -dm-env -dm-tree!=0.1.2 +dm-env==1.2 +dm-tree==0.1.5 future==0.18.2 glfw==1.11.0 h5py==2.10.0 -labmaze +labmaze==1.0.3 lxml==4.5.0 mock==3.0.5 nose==1.3.7 nose-xunitmp==0.4.1 -numpy==1.16.6 -pillow>=6.2.0 +numpy==1.17.3 +pillow==6.2.1 protobuf==3.12.2 pyopengl==3.1.5 pyparsing==2.4.6 requests==2.24.0 -scipy==1.2.3 +scipy==1.3.2 six==1.14.0 tqdm==4.47.0 diff --git a/setup.py b/setup.py index 63bbf24b..2c5f5ee5 100644 --- a/setup.py +++ b/setup.py @@ -177,7 +177,7 @@ def is_excluded(s): setup( name='dm_control', - version='0.0.327608358', + version='0.0.327666647', description='Continuous control environments and MuJoCo Python bindings.', author='DeepMind', license='Apache License, Version 2.0', @@ -193,7 +193,7 @@ def is_excluded(s): 'labmaze', 'lxml', 'numpy', - 'protobuf', + 'protobuf >= 3.12.2', 'pyopengl >= 3.1.4', 'pyparsing', 'requests',