Repository: iterative/dvc

Issue:
version conflicts for dependencies
after installing the latest version from master, when running the program, I get error messages about bad versions for some of the packages

for example:
```
$ dvc                                                                                                                                                                                          15:46:21
Traceback (most recent call last):
  File "/Users/ophir/miniconda3/envs/dvc/bin/dvc", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/Users/ophir/miniconda3/envs/dvc/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3049, in <module>
    @_call_aside
  File "/Users/ophir/miniconda3/envs/dvc/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3033, in _call_aside
    f(*args, **kwargs)
  File "/Users/ophir/miniconda3/envs/dvc/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3062, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/Users/ophir/miniconda3/envs/dvc/lib/python2.7/site-packages/pkg_resources/__init__.py", line 660, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/Users/ophir/miniconda3/envs/dvc/lib/python2.7/site-packages/pkg_resources/__init__.py", line 673, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/Users/ophir/miniconda3/envs/dvc/lib/python2.7/site-packages/pkg_resources/__init__.py", line 863, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (oauth2client 4.1.2 (/Users/ophir/miniconda3/envs/dvc/lib/python2.7/site-packages), Requirement.parse('oauth2client<4.0dev,>=2.0.0'), set(['gapic-google-cloud-spanner-v1', 'gapic-google-cloud-logging-v2', 'proto-google-cloud-spanner-v1', 'gapic-google-cloud-datastore-v1', 'gapic-google-cloud-vision-v1', 'gapic-google-cloud-pubsub-v1', 'gapic-google-cloud-speech-v1beta1', 'proto-google-cloud-pubsub-v1', 'proto-google-cloud-error-reporting-v1beta1', 'proto-google-cloud-logging-v2', 'proto-google-cloud-spanner-admin-database-v1', 'gapic-google-cloud-error-reporting-v1beta1', 'gapic-google-cloud-spanner-admin-instance-v1', 'proto-google-cloud-spanner-admin-instance-v1', 'proto-google-cloud-datastore-v1', 'proto-google-cloud-vision-v1', 'gapic-google-cloud-spanner-admin-database-v1', 'proto-google-cloud-speech-v1beta1']))
```

installing a correct version of oauth2client (4.1.2 doesn't match oauth2client<4.0dev,>=2.0.0) fixes this - but similar errors with other modules happen next.

the installation was done on a clean virtualenviroment


Discussion:

Resolving patch:
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -4,97 +4,99 @@
 from dvc import VERSION
 
 install_requires = [
-    'altgraph',
-    'appdirs',
-    'backports.shutil-get-terminal-size',
-    'boto',
-    'cachetools',
-    'configparser',
-    'decorator',
-    'dill',
-    'enum34',
-    'fasteners',
-    'funcsigs',
-    'future',
-    'futures',
-    'gapic-google-cloud-datastore-v1',
-    'gapic-google-cloud-error-reporting-v1beta1',
-    'gapic-google-cloud-logging-v2',
-    'gapic-google-cloud-pubsub-v1',
-    'gapic-google-cloud-spanner-admin-database-v1',
-    'gapic-google-cloud-spanner-admin-instance-v1',
-    'gapic-google-cloud-spanner-v1',
-    'gapic-google-cloud-speech-v1beta1',
-    'gapic-google-cloud-vision-v1',
-    'google-auth',
-    'google-auth-httplib2',
-    'google-cloud',
-    'google-cloud-bigquery',
-    'google-cloud-bigtable',
-    'google-cloud-core',
-    'google-cloud-datastore',
-    'google-cloud-dns',
-    'google-cloud-error-reporting',
-    'google-cloud-language',
-    'google-cloud-logging',
-    'google-cloud-monitoring',
-    'google-cloud-pubsub',
-    'google-cloud-resource-manager',
-    'google-cloud-runtimeconfig',
-    'google-cloud-spanner',
-    'google-cloud-speech',
-    'google-cloud-storage',
-    'google-cloud-translate',
-    'google-cloud-vision',
-    'google-gax',
-    'googleapis-common-protos',
-    'grpc-google-iam-v1',
-    'grpcio',
-    'httplib2',
-    'ipython',
-    'ipython-genutils',
-    'macholib',
-    'mock',
-    'modulegraph',
-    'monotonic',
-    'nose',
-    'oauth2client',
-    'packaging',
-    'pbr',
-    'pexpect',
-    'pickleshare',
-    'ply',
-    'prompt-toolkit',
-    'proto-google-cloud-datastore-v1',
-    'proto-google-cloud-error-reporting-v1beta1',
-    'proto-google-cloud-logging-v2',
-    'proto-google-cloud-pubsub-v1',
-    'proto-google-cloud-spanner-admin-database-v1',
-    'proto-google-cloud-spanner-admin-instance-v1',
-    'proto-google-cloud-spanner-v1',
-    'proto-google-cloud-speech-v1beta1',
-    'proto-google-cloud-vision-v1',
-    'protobuf',
-    'ptyprocess',
-    'pyasn1',
-    'pyasn1-modules',
-    'Pygments',
-    'PyInstaller',
-    'pyparsing',
-    'requests',
-    'rsa',
-    'scandir',
-    'simplegeneric',
-    'six',
-    'traitlets',
-    'wcwidth',
-    'colorama',
-    'google-compute-engine'
+    'altgraph==0.13',
+    'appdirs==1.4.3',
+    'backports.shutil-get-terminal-size==1.0.0',
+    'boto==2.46.1',
+    'cachetools==2.0.0',
+    'configparser==3.5.0',
+    'decorator==4.0.11',
+    'dill==0.2.6',
+    'enum34==1.1.6',
+    'fasteners==0.14.1',
+    'funcsigs==1.0.2',
+    'future==0.16.0',
+    'futures==3.0.5',
+    'gapic-google-cloud-datastore-v1==0.15.3',
+    'gapic-google-cloud-error-reporting-v1beta1==0.15.3',
+    'gapic-google-cloud-logging-v2==0.91.3',
+    'gapic-google-cloud-pubsub-v1==0.15.3',
+    'gapic-google-cloud-spanner-admin-database-v1==0.15.3',
+    'gapic-google-cloud-spanner-admin-instance-v1==0.15.3',
+    'gapic-google-cloud-spanner-v1==0.15.3',
+    'gapic-google-cloud-speech-v1beta1==0.15.3',
+    'gapic-google-cloud-vision-v1==0.90.3',
+    'google-auth==0.10.0',
+    'google-auth-httplib2==0.0.2',
+    'google-cloud==0.24.0',
+    'google-cloud-bigquery==0.24.0',
+    'google-cloud-bigtable==0.24.0',
+    'google-cloud-core==0.24.0',
+    'google-cloud-datastore==1.0.0',
+    'google-cloud-dns==0.24.0',
+    'google-cloud-error-reporting==0.24.0',
+    'google-cloud-language==0.24.0',
+    'google-cloud-logging==0.24.0',
+    'google-cloud-monitoring==0.24.0',
+    'google-cloud-pubsub==0.24.0',
+    'google-cloud-resource-manager==0.24.0',
+    'google-cloud-runtimeconfig==0.24.0',
+    'google-cloud-spanner==0.24.0',
+    'google-cloud-speech==0.24.0',
+    'google-cloud-storage==1.0.0',
+    'google-cloud-translate==0.24.0',
+    'google-cloud-vision==0.24.0',
+    'google-gax==0.15.8',
+    'googleapis-common-protos==1.5.2',
+    'grpc-google-iam-v1==0.11.1',
+    'grpcio==1.2.1',
+    'httplib2==0.10.3',
+    'ipython==5.3.0',
+    'ipython-genutils==0.2.0',
+    'macholib==1.8',
+    'mock==2.0.0',
+    'modulegraph==0.14',
+    'monotonic==1.3',
+    'nose==1.3.7',
+    'oauth2client==3.0.0',
+    'packaging==16.8',
+    'pathlib==1.0.1',
+    'pathlib2==2.2.1',
+    'pbr==3.0.0',
+    'pexpect==4.2.1',
+    'pickleshare==0.7.4',
+    'ply==3.8',
+    'prompt-toolkit==1.0.14',
+    'proto-google-cloud-datastore-v1==0.90.3',
+    'proto-google-cloud-error-reporting-v1beta1==0.15.3',
+    'proto-google-cloud-logging-v2==0.91.3',
+    'proto-google-cloud-pubsub-v1==0.15.3',
+    'proto-google-cloud-spanner-admin-database-v1==0.15.3',
+    'proto-google-cloud-spanner-admin-instance-v1==0.15.3',
+    'proto-google-cloud-spanner-v1==0.15.3',
+    'proto-google-cloud-speech-v1beta1==0.15.3',
+    'proto-google-cloud-vision-v1==0.90.3',
+    'protobuf==3.2.0',
+    'ptyprocess==0.5.1',
+    'pyasn1==0.2.3',
+    'pyasn1-modules==0.0.8',
+    'Pygments==2.2.0',
+    'PyInstaller==3.2.1',
+    'pyparsing==2.2.0',
+    'requests==2.13.0',
+    'rsa==3.4.2',
+    'scandir==1.5',
+    'simplegeneric==0.8.1',
+    'six==1.10.0',
+    'traitlets==4.3.2',
+    'wcwidth==0.1.7',
+    'colorama==0.3.9',
+    'google-compute-engine==2.4.1',
 ]
 
 if platform.system() == 'Darwin':
-    install_requires.append('appnope')
-    install_requires.append('py2app')
+    install_requires.append('appnope==0.1.0')
+    install_requires.append('py2app==0.12')
 
 setup(
     name='dvc',


Test patch: