[Bug 238785] sysutils/py-google-compute-engine: Some GCE packages fill the logs with an error message
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jul 8 14:37:09 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238785
--- Comment #7 from Mage <mage at mage.gold> ---
There are multiple problems.
I think it might be dependencies. For example, I managed to uninstall
py27-boto-2.49.0 using pkg autoremove.
I’m not sure, how. I think it happened after I removed google-cloud-sdk.
I removed py27-google-compute-engine, then reinstalled it with pkg. It did not
install the py27-boto, but provided me an error message and quit at startup.
I tried to migrate to py36-google-compute-engine. It also does not install
py36-boto, and quits after displaying this:
File "/usr/local/bin/google_accounts_daemon-3.6", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line
3191, in <module>
@_call_aside
File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line
3175, in _call_aside
f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line
3204, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line
583, in _build_master
ws.require(__requires__)
File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line
900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line
786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'boto' distribution was not found and
is required by google-compute-engine
I believe the dependencies of both py27-google-compute-engine and
py36-google-compute-engine are messed up. Not requiring boto is another issue,
not the one that made me open this ticket.
Most likely, I removed another pkg with autoremove between January 2019 and
now, wich breaks py27-google-compute-engine.
I think someone should review its dependencies.
The above was all about the pkg versions. Now I’m going to try fixing it with
ports.
By the way, I upgraded the testing servers that I created for this issue to
FreeBSD 12. It didn’t help.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-python
mailing list