google-apputils version conflict

31 views
Skip to first unread message

Adam Steck

unread,
Jun 30, 2016, 12:24:48 PM6/30/16
to cauliflowervest-discuss
The pkg install fails with this error:

pkg_resources.VersionConflict: (google-apputils 0.4.2 (/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/google_apputils-0.4.2-py2.7.egg), Requirement.parse('google_apputils==0.4'))


I've installed 0.4 from https://pypi.python.org/pypi/google-apputils/0.4.0 and tried removing 0.4.2 from /usr/local/cauliflowervest/cv/lib/python2.7/site-packages/google_apputils-0.4.2-py2.7.egg but it just comes back. I can't figure out how to make it look at 0.4 instead.

Message has been deleted

Adam Steck

unread,
Jun 30, 2016, 12:37:58 PM6/30/16
to cauliflowervest-discuss
Here is more output showing that it automatically downloads the update then fails:

Using /usr/local/cauliflowervest/cv/lib/python2.7/site-packages/PyYAML-3.11-py2.7-macosx-10.11-intel.egg

Processing dependencies for pyyaml

Finished processing dependencies for pyyaml

+ for package in '${PACKAGE_DEPS}'

+ /usr/local/cauliflowervest//cv/bin/python /usr/local/cauliflowervest//cv/bin/easy_install -U google_apputils

Searching for google_apputils

Reading https://pypi.python.org/simple/google_apputils/

Best match: google-apputils 0.4.2

Downloading https://pypi.python.org/packages/e4/a9/05540567740506890677937aff845bc02e17c3d4cf9bf59eb92ea3dc054b/google_apputils-0.4.2-py2.7.egg#md5=38b003cf8b73264340ffa8beeafaaf84

Processing google_apputils-0.4.2-py2.7.egg

creating /usr/local/cauliflowervest/cv/lib/python2.7/site-packages/google_apputils-0.4.2-py2.7.egg

Extracting google_apputils-0.4.2-py2.7.egg to /usr/local/cauliflowervest/cv/lib/python2.7/site-packages

Adding google-apputils 0.4.2 to easy-install.pth file


Installed /usr/local/cauliflowervest/cv/lib/python2.7/site-packages/google_apputils-0.4.2-py2.7.egg

Processing dependencies for google_apputils

Finished processing dependencies for google_apputils

+ cp '/Volumes/Cauliflower Vest 1/cauliflowervest.pkg/Contents/Resources/roots.pem' /usr/local/cauliflowervest//

+ tar -zxf '/Volumes/Cauliflower Vest 1/cauliflowervest.pkg/Contents/Resources/cauliflowervest-0.10.2.tar.gz' -C //tmp//postflightmihKVb

+ cd //tmp//postflightmihKVb/cauliflowervest-0.10.2

+ mkdir -p src/tests

+ /usr/local/cauliflowervest//cv/bin/python setup.py install

zip_safe flag not set; analyzing archive contents...


Installed /private/tmp/postflightmihKVb/cauliflowervest-0.10.2/.eggs/python_gflags-2.0-py2.7.egg

Traceback (most recent call last):

 File "setup.py", line 77, in <module>

   google_test_dir='src/tests',

 File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 111, in setup

   _setup_distribution = dist = klass(attrs)

 File "build/bdist.macosx-10.11-intel/egg/setuptools/dist.py", line 269, in __init__

 File "build/bdist.macosx-10.11-intel/egg/setuptools/dist.py", line 313, in fetch_build_eggs

 File "build/bdist.macosx-10.11-intel/egg/pkg_resources/__init__.py", line 826, in resolve

 File "build/bdist.macosx-10.11-intel/egg/pkg_resources/__init__.py", line 1085, in best_match

 File "build/bdist.macosx-10.11-intel/egg/pkg_resources/__init__.py", line 695, in find

Adam Steck

unread,
Jun 30, 2016, 12:58:50 PM6/30/16
to cauliflowervest-discuss
I fixed it by adding '==0.4' to this line in postflight:
PACKAGE_DEPS="setuptools python-dateutil>=1.4,<2 pyyaml google_apputils==0.4"

However nothing happens on reboot...
Reply all
Reply to author
Forward
0 new messages