Hello community, here is the log from the commit of package google-cloud-sdk for openSUSE:Factory checked in at 2017-08-16 16:14:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/google-cloud-sdk (Old) and /work/SRC/openSUSE:Factory/.google-cloud-sdk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "google-cloud-sdk" Wed Aug 16 16:14:41 2017 rev:5 rq:516795 version:140.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/google-cloud-sdk/google-cloud-sdk.changes 2015-12-09 22:18:23.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.google-cloud-sdk.new/google-cloud-sdk.changes 2017-08-16 16:15:00.802437461 +0200 @@ -1,0 +2,2061 @@ +Tue Feb 7 22:31:19 UTC 2017 - [email protected] + +- Use the more typical >= operator for version comparisons +- Use find -exec over xargs + +------------------------------------------------------------------- +Mon Jan 30 14:03:55 EST 2017 - [email protected] + +- Update to version 140.0.0 (2017/01/18) (bsc#1002895,bsc#1008328) + + Remove hidePathMangeling.patch + + Add gcsdk-gsutil-hide-deps.patch + + Add gcsdk-gsutil-no-self-update-check.patch + + Add gcsdk-gsutil-use-system-certs.patch + + Add gcsdk-no-batch-limit.patch + + Add gcsdk-no-http-no-tunnel-proxt.patch + + Add gcsdk-bq-hide-deps.patch + + Remove disableSelfUpdate.patch, disabled by default from upstream + + + Cloud SDK + * `gcloud alpha search-help` is now available in alpha. + Run `gcloud alpha search-help [TERM]` to find gcloud commands whose + help text contains [TERM]. + + + Google Cloud ML + * `gcloud ml jobs submit training` now supports packages already in Google + Cloud Storage via the `--packages` flag. + + + Google Cloud Datalab + * Upgrade the Datalab CLI to the 20170110 build. + + + Google Cloud Debugger + * The `gcloud debug` command group is now available in GA. + + + Google Container Registry + * An issue that affected Docker client version parsing during + `docker-credential-gcr configure-docker` has been fixed. + + + Google Cloud Deployment Manager + * 'deployment-manager deployments update' can update deployments with a new + description using --description flag. + + + Emulators + * The pubsub emulator now accepts web-safe Base64 encoded data. + + +- From version 139.0.1 (2017/01/12) + * Fixed crash in `gcloud dataproc clusters create` + * https://code.google.com/p/google-cloud-sdk/issues/detail?id=1464 + + +- From version 139.0.0 (2017/01/11) + + + Breaking Changes + * (Google Cloud Logging) The default value of the `--unique-writer-identity` + flag to `gcloud beta logging sinks create` and + `gcloud beta logging sinks update` is now true. Please consult the + documentation before using these commands. + * (Google Cloud Logging) Remove 'struct' option from `gcloud logging write`. + Use 'json' instead + * (Google Cloud Logging) `logging beta metrics create` and + `logging beta metrics update` commands have changed their flags and + importantly now use Logging V2 filter syntax. See the help for more + information. + * (Google App Engine) Flexible deployments now skip files matching + `node_modules` and `.git` by default, but no longer skip other hidden + files by default. Standard deployments are not changing. + * (Google Compute Engine) + `gcloud compute target-pools set-backup --backup-pool` and + `gcloud compute project-info set-usage-bucket --bucket` flags now warn + if you provide an empty argument; use `--no-backup-pool` and + `--no-bucket instead`. + * (Google Cloud Bigtable) Removed `gcloud alpha bigtable` command group; + please use `gcloud beta bigtable` for all Cloud Bigtable operations. + * (Stackdriver Debugger) Added a `--location` option to several + `gcloud beta debug` commands, to separate out the processing of resource + IDs from filename patterns. These commands now take only resource IDs as + positional parameters. + + + Google Cloud Datalab + * Added the command-line tool for Google Cloud Datalab in the Cloud SDK; + call it via the `datalab` script. + + + Google Cloud Key Management Service + * Added the `gcloud beta kms` commands for key management. + + + Google Cloud Logging + * Add `--billing-account` flag to `gcloud logging read` + * gcloud beta logging metrics list/describe now output the version of the + filter associated with the metric + + + Google Cloud ML + * The `gcloud beta ml jobs submit training` now takes a `--scale-tier` flag. + * Support gzipped TFRecord file type for + `gcloud beta ml jobs submit prediction`. + + + + Google App Engine + * (Google App Engine) Fixed bug with `gcloud app instances describe`. + --service and --version flags are now required. + * `gcloud beta app deploy` now uses multi-threading rather than + multi-processing for file uploads; if you've been seeing issues on + Windows, please try the `beta` command out. + * `gcloud app versions migrate` is now GA. + * `gcloud app instances delete` is now GA. + * Added `gcloud beta app operations` commands. + * Added `gcloud beta app instances delete` command. + + + Google Compute Engine + * `gcloud beta compute images create` now has a `--guest-os-features` + flag for enabling specific OS supported features. + * Use the new scopes format (see `--help` for deetails) for + - `gcloud alpha compute instances create` + - `gcloud alpha compute instances create-from-container` + - `gcloud alpha compute instance-templates create` + - `gcloud alpha compute instance-templates create-from-container` + - `gcloud beta compute instances create` + - `gcloud beta compute instance-templates create` + * Add `--custom-extensions` flag to: + `gcloud alpha compute instances create`, + `gcloud alpha compute instances set-machine-type`, and + `gcloud alpha compute instance-templates create` + + + Google Compute Engine (Networking) + * The `--host` flag for `gcloud alpha compute url-maps + invalidate-cdn-cache` is now available in the GA version of the command. + + + Stackdriver Debugger + * Fixed log view URLs in the debug logpoints commands to use the V2 query + syntax. + + + Google Service Management + * `--validate-only` flag added to `gcloud service-management deploy` command + + + Google Cloud Functions + * The `--trigger-params` flag has been renamed to `--trigger-path` + (the `path=` specifier is no longer necessary). The old flag has been + deprecated and will be removed or `gcloud alpha functions deploy`. + * Restore `gcloud alpha functions get-logs` command. + * Restore deprecated flags `--trigger-topic`, `--trigger-bucket`, + `--source`, `--bucket`, and `--trigger-gs-uri` to `gcloud alpha + functions deploy` command. + + + Google Container Engine + * Update Google Container Engine's kubectl from version 1.4.6 to 1.5.1. + + + Google Cloud Bigtable + * The `cbt` command line tool component is now available. See: + https://cloud.google.com/bigtable/docs/go/cbt-reference + + + Google Cloud Datastore + * `gcloud datastore create-indexes` and `cleanup-indexes` are now GA + + + Google Container Registry + * `docker-credential-gcr` has been upgraded to v1.3 and now supports Docker + client v1.14 credential helpers. `docker-credential-gcr` will now + preferentially act as a credential helper (as opposed to credential + store) on Docker client versions 1.14+. Update (or install) the + `docker-credential-gcr` component and run `docker-credential-gcr + configure-docker` to configure your Docker client to use + `docker-credential-gcr` to authenticate operations on your GCR + repositories. + + + Google Cloud Deployment Manager + * Added labels support to the + `gcloud alpha deployment-manager deployments create` and `update` commands + (via the `--labels` and `--{update,remove}-labels` flags respectively). + * Introduce new syntax `key:val,foo:bar` for `--properties` flag in all + `gcloud deployment-manager` commands. The old `key=val,foo=bar` syntax is + deprecated. + + +- From version 138.0.0 (2016/12/14) + + + Cloud SDK + * Introduce --(no-)force-key-file-overwrite flags to all gcloud commands + using SSH key files. These new flags control overwrite behavior when + SSH key files are broken. Without these flags, interactive sessions will + ask for confirmation before regenerating key files. Old non-interactive + behavior (permissive) is deprecated and will be removed in 6 months. To + preserve old behavior in your scripts, use new flag + --force-key-file-overwrite (though this is discouraged). + * Credential store format for service accounts has changed. Your + credentials will get auto-upgraded to new format upon usage; however, if + gcloud is downgraded to previous version those credentials will not be + usable and users will have to reactivate their service account. + + + Google Cloud ML + * `gcloud beta ml jobs submit training` is now blocking by default. Use the + `--async` flag to finish immediately after job submission. + + + Google Compute Engine + * `gcloud compute instances create` creates instance with no scopes by + default if project has no default service account. + * `compute target-ssl-proxies list` deprecated `--regex` and names argument. + Please use `--filter` flag instead. + * `gcloud compute connect-to-serial-port` allows for interactive + connections to the serial port for instances. ++++ 1864 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/google-cloud-sdk/google-cloud-sdk.changes ++++ and /work/SRC/openSUSE:Factory/.google-cloud-sdk.new/google-cloud-sdk.changes Old: ---- disableSelfUpdate.patch google-cloud-sdk-0.9.87.tar.bz2 hidePathMangeling.patch New: ---- gcsdk-bq-hide-deps.patch gcsdk-gsutil-hide-deps.patch gcsdk-gsutil-no-self-update-check.patch gcsdk-gsutil-use-system-certs.patch gcsdk-no-batch-limit.patch gcsdk-no-http-no-tunnel-proxt.patch google-cloud-sdk-140.0.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ google-cloud-sdk.spec ++++++ --- /var/tmp/diff_new_pack.aMwOaj/_old 2017-08-16 16:15:06.221676772 +0200 +++ /var/tmp/diff_new_pack.aMwOaj/_new 2017-08-16 16:15:06.229675649 +0200 @@ -1,7 +1,7 @@ # # spec file for package google-cloud-sdk # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,44 +16,81 @@ # +# Look at to pull the tarball +# cloud.google.com/sdk/ + Name: google-cloud-sdk -Version: 0.9.87 +Version: 140.0.0 Release: 0 Summary: Tools for Google Cloud Services +# Tarball from this location includes alpha and beta command line interfaces License: Apache-2.0 Group: System/Management -# Get the filename to download from -# https://dl.google.com/dl/cloudsdk/release/sha1.txt -Url: https://dl.google.com/dl/cloudsdk/release +Url: https://console.cloud.google.com/storage/browser/cloud-sdk-release/for_packagers/linux/?authuser=0&pli=1 Source0: %{name}-%{version}.tar.bz2 Source1: setup.py -Patch1: hidePathMangeling.patch -Patch2: disableSelfUpdate.patch +# The dependencies listed do not match with up stream naming and our +# packaging conventions +Patch1: gcsdk-gsutil-hide-deps.patch +# No self updating possible, thus disable the check for new versions +Patch2: gcsdk-gsutil-no-self-update-check.patch +# cloud-sdk uses the sokcs implementation, as a proxy to set up configuration +# options for httplib2. In python2 httplib2 supplies it's own socks +# implementation which happens to be compatible with the one one in thrid_party +# in python3 httplib2 depends on using an external socks implementation. +# On 2016-1012 the socks implementation used by openSUSE was PySocks version +# 1.5.6 which does not support PROXY_TYPE_HTTP_NO_TUNNEL +Patch3: gcsdk-no-http-no-tunnel-proxt.patch +# API change in python-google-apitools +Patch4: gcsdk-no-batch-limit.patch +# Lost in gsutil development, to be resubmitted upstream +Patch5: gcsdk-gsutil-use-system-certs.patch +# Dependencies are inconsistent within the tarball +Patch6: gcsdk-bq-hide-deps.patch +Requires: kubernetes-client Requires: python Requires: python-Jinja2 Requires: python-MarkupSafe -Requires: python-SocksiPy -Requires: python-antlr3_runtime +Requires: python-PyYAML >= 3.11 +Requires: python-Pygments >= 1.5 +Requires: python-SocksiPy >= 1.0 +Requires: python-antlr3_runtime >= 3.0.1 Requires: python-argcomplete -Requires: python-argparse +Requires: python-argparse >= 1.2.1 +Requires: python-boto >= 2.42.0 +Requires: python-chardet >= 2.0.1 +Requires: python-crcmod >= 1.7 +Requires: python-dnspython >= 1.9.4 Requires: python-docker-py +Requires: python-dulwich >= 0.10.2 Requires: python-enum34 -Requires: python-httplib2 => 0.8 -Requires: python-ipaddr -Requires: python-oauth2 -Requires: python-oauth2client +Requires: python-fasteners >= 0.14.1 +Requires: python-funcsigs >= 1.0.2 +Requires: python-gcs-oauth2-boto-plugin >= 1.14 +Requires: python-gflags >= 2.0 +Requires: python-google-api-python-client >= 0.1.3 +Requires: python-google-apitools >= 0.5.6 +Requires: python-httplib2 >= 0.9.2 +Requires: python-ipaddr >= 2.1.11 +Requires: python-monotonic >= 1.2 +Requires: python-oauth2 >= 1.5.170 +Requires: python-oauth2client >= 2.2.0 Requires: python-oauth2client-gce Requires: python-portpicker -Requires: python-pyasn1 +Requires: python-pyasn1 >= 0.1.9 Requires: python-pyasn1-modules +Requires: python-python-dateutil >= 2.4.2 Requires: python-python-gflags Requires: python-python-mimeparse -Requires: python-requests -Requires: python-rsa -Requires: python-six +Requires: python-requests >= 2.10 +Requires: python-retry_decorator >= 1.0.0 +Requires: python-rsa >= 3.1.2 +Requires: python-ruamel.yaml >= 0.11.11 +Requires: python-six >= 1.9.0 Requires: python-uritemplate +Requires: python-urllib3 >= 1.15.1 +Requires: python-wcwidth Requires: python-websocket-client -Requires: python-yaml Provides: gcutils > 1.13.0 Provides: gsutils > 3.42 Obsoletes: gcutils <= 1.13.0 @@ -76,21 +113,36 @@ %setup -q %patch1 %patch2 - +%patch3 +%patch4 +%patch5 +%patch6 +# The following python packages have independent upstream +mv lib/third_party/{containerregistry,fancy_urllib,gae_ext_runtime,pyu2f} lib +rm -rf lib/third_party +rm -rf lib/tools cp %{SOURCE1} %{_builddir}/%{name}-%{version} %build +# The top level lib dire does not become a Python package +rm lib/__init__.py +python setup.py build +pushd platform/gsutil +python setup.py build bdist +popd +pushd platform/bq python setup.py build +popd %install # Leave it to Google to set silly permissions, fix it -find . -name "*.html" | xargs chmod -x -find . -name "*.json" | xargs chmod -x -find . -name "*_test.py" | xargs chmod +x -find lib/protorpc -name "*.py" | xargs chmod -x +find . -name "*.html" -exec chmod -x "{}" + +find . -name "*.json" -exec chmod -x "{}" + +find . -name "*_test.py" -exec chmod +x "{}" + +install -d -m 755 %{buildroot}/%{_mandir}/man1 +install -m 644 help/man/man1/* %{buildroot}/%{_mandir}/man1 # Remove shebang from files intended for import -find lib/googlecloudsdk/third_party/appengine -type f | xargs grep -l '#!' | xargs sed -i 1d -find lib/protorpc -type f | xargs grep -l '#!' | xargs sed -i 1d +#find lib/googlecloudsdk/third_party/appengine -type f | xargs grep -l '#!' | xargs sed -i 1d # Install gcloud python setup.py install --prefix=%{_prefix} --root=%{buildroot} install -d %{buildroot}/%{_bindir} @@ -99,25 +151,59 @@ install -d %{buildroot}/%{_sysconfdir}/bash_completion.d cp completion.bash.inc %{buildroot}/%{_sysconfdir}/bash_completion.d/gcloud.sh echo "#!/bin/sh" > %{buildroot}/%{_bindir}/gcloud -echo "python %{python_sitelib}/googlecloudsdk/gcloud/gcloud.py \"\$@\"" >> %{buildroot}/%{_bindir}/gcloud +echo "python %{python_sitelib}/googlecloudsdk/gcloud_main.py \"\$@\"" >> %{buildroot}/%{_bindir}/gcloud chmod +x %{buildroot}/%{_bindir}/gcloud +# Install gsutil +pushd platform/gsutil +python setup.py install --prefix=%{_prefix} --root=%{buildroot} +popd +# Install bigquery +pushd platform/bq +python setup.py install --prefix=%{_prefix} --root=%{buildroot} +popd %files %defattr(-,root,root,-) %doc LICENSE README RELEASE_NOTES -%dir %{python_sitelib}/google %dir %{python_sitelib}/googlecloudsdk %dir %{python_sitelib}/google_cloud_sdk-%{version}-py%{py_ver}.egg-info +%dir %{python_sitelib}/surface +%{_mandir}/man*/* %{_bindir}/gcloud -%{python_sitelib}/google/* %{python_sitelib}/googlecloudsdk/* %{python_sitelib}/google_cloud_sdk-%{version}-py%{py_ver}.egg-info/* +%{python_sitelib}/surface/* %config %{_sysconfdir}/bash_completion.d/gcloud.sh +# integrated gsutil +%dir %{python_sitelib}/gslib +%dir %{python_sitelib}/gsutil-4.22-py%{py_ver}.egg-info +%dir %{python_sitelib}/test +%{_bindir}/gsutil +%{python_sitelib}/gslib/* +%{python_sitelib}/gsutil-4.22-py%{py_ver}.egg-info/* +%{python_sitelib}/test/* +# integrated bq +%dir %{python_sitelib}/bigquery-2.0.24-py%{py_ver}.egg-info +%dir %{python_sitelib}/discovery +%{_bindir}/bq +%{python_sitelib}/bigquery_* +%{python_sitelib}/bigquery-2.0.24-py%{py_ver}.egg-info/* +%{python_sitelib}/bq.* +%{python_sitelib}/bq_* +%{python_sitelib}/discovery/* +%{python_sitelib}/table_formatter.* # built in dependency on fancy_urllib, not available as stand alone code stream %dir %{python_sitelib}/fancy_urllib %{python_sitelib}/fancy_urllib/* -# built in dependency on protorpc, not available as stand alone code stream -%dir %{python_sitelib}/protorpc -%{python_sitelib}/protorpc/* +# built in dependency on gae_ext_runtime, not available as stand alone +# code stream +%dir %{python_sitelib}/gae_ext_runtime +%{python_sitelib}/gae_ext_runtime/* +# built in dependency on containerregistry, not available as stand alone +%dir %{python_sitelib}/containerregistry +%{python_sitelib}/containerregistry/* +# built in dependency on pyu2f, not available as stand alone +%dir %{python_sitelib}/pyu2f +%{python_sitelib}/pyu2f/* %changelog ++++++ gcsdk-bq-hide-deps.patch ++++++ --- platform/bq/setup.py.orig +++ platform/bq/setup.py @@ -24,13 +24,13 @@ from setuptools import setup # pylint: # Configure the required packages and scripts to install, depending on # Python version and OS. -REQUIRED_PACKAGES = [ - 'google-apputils', - 'python-gflags', - 'google-api-python-client==1.2', - 'oauth2client==1.2', - 'httplib2', - ] +#REQUIRED_PACKAGES = [ +# 'google-apputils', +# 'python-gflags', +# 'google-api-python-client==1.2', +# 'oauth2client==1.2', +# 'httplib2', +# ] CONSOLE_SCRIPTS = [ 'bq = bq:run_main', ] @@ -60,7 +60,7 @@ setup(name='bigquery', entry_points={ 'console_scripts': CONSOLE_SCRIPTS, }, - install_requires=REQUIRED_PACKAGES, + #install_requires=REQUIRED_PACKAGES, provides=[ 'bigquery (%s)' % (_BQ_VERSION,), ], ++++++ gcsdk-gsutil-hide-deps.patch ++++++ --- platform/gsutil/setup.py.orig +++ platform/gsutil/setup.py @@ -34,34 +34,34 @@ management tasks, including: * Editing object and bucket ACLs. """ -requires = [ - 'boto==2.42.0', - 'crcmod>=1.7', - 'gcs-oauth2-boto-plugin>=1.14', - 'google-apitools==0.5.3', - 'httplib2>=0.8', - 'oauth2client==2.2.0', - 'pyOpenSSL>=0.13', - 'python-gflags>=2.0', - 'retry_decorator>=1.0.0', - 'six>=1.9.0', - # Not using 1.02 because of: - # https://code.google.com/p/socksipy-branch/issues/detail?id=3 - 'SocksiPy-branch==1.01', - # TODO: Sync submodule with tag referenced here once #339 is fixed in mock. - 'mock==2.0.0', -] - -dependency_links = [ - # Note: this commit ID should be kept in sync with the 'third_party/boto' - # entry in 'git submodule status'. - # pylint: disable=line-too-long - 'https://github.com/boto/boto/archive/62fa79abea1f281bb15cd27ff8081fd6c5492c31.tar.gz#egg=boto-2.42.0', - # pylint: enable=line-too-long -] +#requires = [ +# 'boto==2.42.0', +# 'crcmod>=1.7', +# 'gcs-oauth2-boto-plugin>=1.14', +# 'google-apitools==0.5.3', +# 'httplib2>=0.8', +# 'oauth2client==2.2.0', +# 'pyOpenSSL>=0.13', +# 'python-gflags>=2.0', +# 'retry_decorator>=1.0.0', +# 'six>=1.9.0', +# # Not using 1.02 because of: +# # https://code.google.com/p/socksipy-branch/issues/detail?id=3 +# 'SocksiPy-branch==1.01', +# # TODO: Sync submodule with tag referenced here once #339 is fixed in mock. +# 'mock==2.0.0', +#] + +#dependency_links = [ +# # Note: this commit ID should be kept in sync with the 'third_party/boto' +# # entry in 'git submodule status'. +# # pylint: disable=line-too-long +# 'https://github.com/boto/boto/archive/62fa79abea1f281bb15cd27ff8081fd6c5492c31.tar.gz#egg=boto-2.42.0', +# # pylint: enable=line-too-long +#] CURDIR = os.path.abspath(os.path.dirname(__file__)) -BOTO_DIR = os.path.join(CURDIR, 'third_party', 'boto') +#BOTO_DIR = os.path.join(CURDIR, 'third_party', 'boto') with open(os.path.join(CURDIR, 'VERSION'), 'r') as f: VERSION = f.read().strip() @@ -124,7 +124,7 @@ class CustomBuildPy(build_py.build_py): def run(self): if not self.dry_run: - PlaceNeededFiles(self, self.build_lib) +# PlaceNeededFiles(self, self.build_lib) build_py.build_py.run(self) @@ -169,10 +169,10 @@ setup( 'gsutil = gslib.__main__:main', ], }, - install_requires=requires, - dependency_links=dependency_links, +# install_requires=requires, +# dependency_links=dependency_links, cmdclass={ 'build_py': CustomBuildPy, - 'sdist': CustomSDist, +# 'sdist': CustomSDist, } ) ++++++ gcsdk-gsutil-no-self-update-check.patch ++++++ --- platform/gsutil/gslib/__main__.py.orig +++ platform/gsutil/gslib/__main__.py @@ -573,6 +573,7 @@ def _RunNamedCommandAndHandleExceptions( return command_runner.RunNamedCommand(command_name, args, headers, debug_level, trace_token, parallel_operations, + skip_update_check=True, perf_trace_token=perf_trace_token, collect_analytics=True) except AttributeError as e: ++++++ gcsdk-gsutil-use-system-certs.patch ++++++ --- platform/gsutil/gslib/util.py.orig +++ platform/gsutil/gslib/util.py @@ -704,6 +704,8 @@ def GetCertsFile(): configured_certs_files.append(fname) disk_certs_file = fname certs_file = disk_certs_file + if certs_file == 'system': + certs_file = None return certs_file ++++++ gcsdk-no-batch-limit.patch ++++++ --- lib/googlecloudsdk/api_lib/compute/batch_helper.py.orig +++ lib/googlecloudsdk/api_lib/compute/batch_helper.py @@ -39,7 +39,7 @@ def MakeRequests(requests, http, batch_u for service, method, request in requests: batch_request.Add(service, method, request) - responses = batch_request.Execute(http, max_batch_size=_BATCH_SIZE_LIMIT) + responses = batch_request.Execute(http) objects = [] errors = [] --- lib/googlecloudsdk/api_lib/compute/client_adapter.py.orig +++ lib/googlecloudsdk/api_lib/compute/client_adapter.py @@ -105,8 +105,7 @@ class ClientAdapter(object): for service, method, request in requests: batch_request.Add(service, method, request) - payloads = batch_request.Execute(self._client.http, - max_batch_size=_BATCH_SIZE_LIMIT) + payloads = batch_request.Execute(self._client.http) responses = [] errors = errors_to_collect if errors_to_collect is not None else [] ++++++ gcsdk-no-http-no-tunnel-proxt.patch ++++++ --- lib/googlecloudsdk/core/util/http_proxy_types.py.orig +++ lib/googlecloudsdk/core/util/http_proxy_types.py @@ -20,7 +20,6 @@ PROXY_TYPE_MAP = { 'socks4': socks.PROXY_TYPE_SOCKS4, 'socks5': socks.PROXY_TYPE_SOCKS5, 'http': socks.PROXY_TYPE_HTTP, - 'http_no_tunnel': socks.PROXY_TYPE_HTTP_NO_TUNNEL, } ++++++ google-cloud-sdk-0.9.87.tar.bz2 -> google-cloud-sdk-140.0.0.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/google-cloud-sdk/google-cloud-sdk-0.9.87.tar.bz2 /work/SRC/openSUSE:Factory/.google-cloud-sdk.new/google-cloud-sdk-140.0.0.tar.bz2 differ: char 11, line 1 ++++++ setup.py ++++++ --- /var/tmp/diff_new_pack.aMwOaj/_old 2017-08-16 16:15:06.465642527 +0200 +++ /var/tmp/diff_new_pack.aMwOaj/_new 2017-08-16 16:15:06.465642527 +0200 @@ -15,20 +15,6 @@ print sys.argv if __name__ == '__main__': - os.system('rm -rf lib/google/apputils') - allPckgs = glob.glob('lib/*') - excludePckgs = [] - for name in allPckgs: - if (name.find('google') != -1 - or name.find('protorpc') != -1 - or name.find('fancy_urllib') != -1): - continue - # Creating an exclude list is unreliable, some packages still - # get pushed into site-packages. Remove the code instead - os.system('rm -rf %s' %name) - # excludePckgs.append(name.split(os.sep)[-1]) - - pkg = setuptools.find_packages('lib',exclude=excludePckgs) setuptools.setup( name='google-cloud-sdk', description=( @@ -37,8 +23,8 @@ license='Apache 2', author='Google', author_email='[email protected]', - version='0.9.87', - packages=setuptools.find_packages('lib',exclude=excludePckgs), + version='140.0.0', + packages=setuptools.find_packages('lib'), package_data={ 'googlecloudsdk' : [os.path.join('core', '*.json'), os.path.join('core', 'credentials', '*.html')],
