Fix for py2
diff --git a/sdks/python/apache_beam/io/hdfs_integration_test/Dockerfile b/sdks/python/apache_beam/io/hdfs_integration_test/Dockerfile
index ebd3e99..1c78181 100644
--- a/sdks/python/apache_beam/io/hdfs_integration_test/Dockerfile
+++ b/sdks/python/apache_beam/io/hdfs_integration_test/Dockerfile
@@ -24,11 +24,13 @@
 
 WORKDIR /app
 ENV HDFSCLI_CONFIG /app/sdks/python/apache_beam/io/hdfs_integration_test/hdfscli.cfg
-RUN pip install --no-cache-dir 'tox>=3.14.3,<4'
 
 # Add Beam SDK sources.
 COPY sdks/python /app/sdks/python
 COPY model /app/model
 
+# This step should look like setupVirtualenv minus virtualenv creation.
+RUN pip install --no-cache-dir tox==3.11.1 -r sdks/python/build-requirements.txt
+
 # Run wordcount, and write results to HDFS.
 CMD cd sdks/python && tox -e hdfs_integration_test
diff --git a/sdks/python/tox.ini b/sdks/python/tox.ini
index 54e796d..e6908d9 100644
--- a/sdks/python/tox.ini
+++ b/sdks/python/tox.ini
@@ -320,8 +320,7 @@
 # Used by hdfs_integration_test.sh. Do not run this directly, as it depends on
 # nodes defined in hdfs_integration_test/docker-compose.yml.
 deps =
-  # TODO: Needed? py3.7 doesn't seem to need this.
-  #-r build-requirements.txt
+  -r build-requirements.txt
   gsutil==4.47
   holdup==1.8.0
 extras =