You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
'gcloud-python' install pulls in Sphinx and its many dependencies #1995
Just saw it while installing into a fresh virtualenv, using easy_install to test #1972. It looks like it downloads Sphinx et aliae, but doesn't actually install them.
$ /opt/Python-2.7.11/bin/virtualenv /tmp/gcp-1995-easy_install
New python executable in /tmp/gcp-1995-easy_install/bin/python
Installing setuptools, pip, wheel...done.
$ /tmp/gcp-1995-easy_install/bin/easy_install google-cloud
Searching for google-cloud
...
Finished processing dependencies for google-cloud
$ ls -laF /tmp/gcp-1995-easy_install/lib/python2.7/site-packages/ | grep -i sphinx
But I do see Sphinx being downloaded and installed into a tempdir during the first command: grpcio has a setup_requires which includes Sphinx. pip doesn't surface this issue because it uses the built wheel for grpcio.
Activity
dhermes commentedon Jul 18, 2016
Ew. How?
tseaver commentedon Jul 18, 2016
Just saw it while installing into a fresh virtualenv, using
easy_installto test #1972. It looks like it downloads Sphinx et aliae, but doesn't actually install them.daspecster commentedon Jul 18, 2016
I get this on a fresh venv after
pip install gcloudtseaver commentedon Jul 18, 2016
followed by lots of
grpciobuild spew.daspecster commentedon Jul 18, 2016
So this must be something with
easy_installthen?tseaver commentedon Oct 12, 2016
Nope -- it uses
setuptools, but not theeasy_installscript.With the current
0.20release ofgoogle-cloud:$ /opt/Python-2.7.11/bin/virtualenv /tmp/gcp-1995 New python executable in /tmp/gcp-1995/bin/python Installing setuptools, pip, wheel...done. $ /tmp/gcp-1995/bin/pip install google-cloud Collecting google-cloud ... Installing collected packages: httplib2, six, protobuf, googleapis-common-protos, pyasn1, rsa, pyasn1-modules, oauth2client, google-cloud-core, google-cloud-resource-manager, google-cloud-dns, google-cloud-bigquery, google-cloud-translate, google-cloud-language, enum34, futures, grpcio, google-cloud-datastore, google-cloud-monitoring, google-cloud-vision, google-cloud-storage, ply, future, google-gax, grpc-google-pubsub-v1, grpc-google-iam-v1, gapic-google-pubsub-v1, google-cloud-pubsub, grpc-google-logging-v2, gapic-google-logging-v2, google-cloud-logging, google-cloud-error-reporting, google-cloud-bigtable, google-cloud Successfully installed enum34-1.1.6 future-0.15.2 futures-3.0.5 gapic-google-logging-v2-0.10.1 gapic-google-pubsub-v1-0.10.1 google-cloud-0.20.0 google-cloud-bigquery-0.20.0 google-cloud-bigtable-0.20.0 google-cloud-core-0.20.0 google-cloud-datastore-0.20.0 google-cloud-dns-0.20.0 google-cloud-error-reporting-0.20.0 google-cloud-language-0.20.0 google-cloud-logging-0.20.0 google-cloud-monitoring-0.20.0 google-cloud-pubsub-0.20.0 google-cloud-resource-manager-0.20.0 google-cloud-storage-0.20.0 google-cloud-translate-0.20.0 google-cloud-vision-0.20.0 google-gax-0.14.1 googleapis-common-protos-1.3.5 grpc-google-iam-v1-0.10.1 grpc-google-logging-v2-0.10.1 grpc-google-pubsub-v1-0.10.1 grpcio-1.0.0 httplib2-0.9.2 oauth2client-3.0.0 ply-3.8 protobuf-3.1.0.post1 pyasn1-0.1.9 pyasn1-modules-0.0.8 rsa-3.4.2 six-1.10.0 [/home/tseaver] $ /tmp/gcp-1995/bin/pip freeze -f file:///home/tseaver/.pip/wheels enum34==1.1.6 future==0.15.2 futures==3.0.5 gapic-google-logging-v2==0.10.1 gapic-google-pubsub-v1==0.10.1 google-cloud==0.20.0 google-cloud-bigquery==0.20.0 google-cloud-bigtable==0.20.0 google-cloud-core==0.20.0 google-cloud-datastore==0.20.0 google-cloud-dns==0.20.0 google-cloud-error-reporting==0.20.0 google-cloud-language==0.20.0 google-cloud-logging==0.20.0 google-cloud-monitoring==0.20.0 google-cloud-pubsub==0.20.0 google-cloud-resource-manager==0.20.0 google-cloud-storage==0.20.0 google-cloud-translate==0.20.0 google-cloud-vision==0.20.0 google-gax==0.14.1 googleapis-common-protos==1.3.5 grpc-google-iam-v1==0.10.1 grpc-google-logging-v2==0.10.1 grpc-google-pubsub-v1==0.10.1 grpcio==1.0.0 httplib2==0.9.2 oauth2client==3.0.0 ply==3.8 protobuf==3.1.0.post1 pyasn1==0.1.9 pyasn1-modules==0.0.8 rsa==3.4.2 six==1.10.0In a separate environment, using
easy_install:But I do see Sphinx being downloaded and installed into a tempdir during the first command:
grpciohas asetup_requireswhich includesSphinx.pipdoesn't surface this issue because it uses the built wheel forgrpcio.fix: add docfx to the presubmit configuration and delete docs-presubm…
chore: implement floordiv_op compiler (#1995)