Created attachment 204356 [details] disable boto As I mentioned here [1], google-cloud-sdk does not support python3 yet, and when py-google-compute-engine runs with python3 and tries to call the sdk (under some circumstances the agent can call it via boto) we get an error. Since boto is not a core/mandatory dependency of the agent I am submitting this patch to disable boto and avoid python3 issues. [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237872
Should this line be removed?: 15 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto>0:devel/py-boto@${PY_FLAVOR} \
Oh, it looks like google-cloud-sdk kinda supports python3: https://cloud.google.com/sdk/install Note: As of Cloud SDK version 206.0.0, the gcloud CLI has experimental support for running using a Python 3.4+ interpreter (run gcloud topic startup for exclusions and more information on configuring your Python interpreter). All other Cloud SDK tools still require a Python 2.7 interpreter. Not sure what to make of that in terms of packaging.
Created attachment 204363 [details] disable boto Do not run time depend on boto
(In reply to Steve Wills from comment #2) This is new for me. Since this is an experimental support I'd like to keep boto disabled until we get a stable python 3 support. We are using this approach in other operating system.
A commit references this bug: Author: swills Date: Mon May 13 18:32:13 UTC 2019 New revision: 501581 URL: https://svnweb.freebsd.org/changeset/ports/501581 Log: sysutils/py-google-compute-engine: disable boto This avoids breakage when running with python3 PR: 237877 Submitted by: Lucas Kanashiro <lucas.kanashiro@collabora.com> (maintainer) MFH: 2019Q2 Changes: head/sysutils/py-google-compute-engine/Makefile head/sysutils/py-google-compute-engine/files/instance_configs.cfg.distro.sample
A commit references this bug: Author: swills Date: Mon May 13 18:33:00 UTC 2019 New revision: 501582 URL: https://svnweb.freebsd.org/changeset/ports/501582 Log: MFH: r501581 sysutils/py-google-compute-engine: disable boto This avoids breakage when running with python3 PR: 237877 Submitted by: Lucas Kanashiro <lucas.kanashiro@collabora.com> (maintainer) Approved by: ports-secteam (implicit, bug fix) Changes: _U branches/2019Q2/ branches/2019Q2/sysutils/py-google-compute-engine/Makefile branches/2019Q2/sysutils/py-google-compute-engine/files/instance_configs.cfg.distro.sample
Committed, thanks!