How can i install 5.2 on heroku account

Update:
http://github.com/collective/training-sandbox now uses 5.1.6

I did attempt it to update it to use 5.2, work in progress here:


however I'm currently getting this groovy setuptools related error

Got plone.app.uuid 2.0.0.
Getting distribution for 'decorator==4.4.0'.
warning: no files found matching 'README.rst'
warning: no files found matching 'documentation.pdf'
Got decorator 4.4.0.
Getting distribution for 'jsonschema==3.1.1'.
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'use_scm_version'
  warnings.warn(msg)
zip_safe flag not set; analyzing archive contents...
jsonschema.tests.test_validators: module references __file__
jsonschema.tests._suite: module references __file__
jsonschema.benchmarks.issue232: module references __file__
While:
  Installing instance.
  Getting distribution for 'jsonschema==3.1.1'.
An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/tmp/build_9022f7bb1c1237ac73bafeaecfe137b2/eggs/zc.buildout-2.13.2-py2.7.egg/zc/buildout/buildout.py", line 2174, in main
    getattr(buildout, command)(args)
  File "/tmp/build_9022f7bb1c1237ac73bafeaecfe137b2/eggs/zc.buildout-2.13.2-py2.7.egg/zc/buildout/buildout.py", line 817, in install
    installed_files = self[part]._call(recipe.install)
  File "/tmp/build_9022f7bb1c1237ac73bafeaecfe137b2/eggs/zc.buildout-2.13.2-py2.7.egg/zc/buildout/buildout.py", line 1603, in _call
    return f()
  File "/tmp/build_9022f7bb1c1237ac73bafeaecfe137b2/eggs/plone.recipe.zope2instance-6.3.0-py2.7.egg/plone/recipe/zope2instance/recipe.py", line 145, in install
    installed.extend(self.install_scripts())
  File "/tmp/build_9022f7bb1c1237ac73bafeaecfe137b2/eggs/plone.recipe.zope2instance-6.3.0-py2.7.egg/plone/recipe/zope2instance/recipe.py", line 782, in install_scripts
    requirements, ws = self.egg.working_set(['plone.recipe.zope2instance'])
  File "/tmp/build_9022f7bb1c1237ac73bafeaecfe137b2/eggs/zc.recipe.egg-2.0.7-py2.7.egg/zc/recipe/egg/egg.py", line 87, in working_set
    allow_unknown_extras=bool_option(buildout_section, 'allow-unknown-extras')
  File "/tmp/build_9022f7bb1c1237ac73bafeaecfe137b2/eggs/zc.recipe.egg-2.0.7-py2.7.egg/zc/recipe/egg/egg.py", line 168, in _working_set
    allow_unknown_extras=allow_unknown_extras)
  File "/tmp/build_9022f7bb1c1237ac73bafeaecfe137b2/eggs/zc.buildout-2.13.2-py2.7.egg/zc/buildout/easy_install.py", line 957, in install
    return installer.install(specs, working_set)
  File "/tmp/build_9022f7bb1c1237ac73bafeaecfe137b2/eggs/zc.buildout-2.13.2-py2.7.egg/zc/buildout/easy_install.py", line 730, in install
    for dist in self._get_dist(req, ws):
  File "/tmp/build_9022f7bb1c1237ac73bafeaecfe137b2/eggs/zc.buildout-2.13.2-py2.7.egg/zc/buildout/easy_install.py", line 574, in _get_dist
    dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
  File "/tmp/build_9022f7bb1c1237ac73bafeaecfe137b2/eggs/zc.buildout-2.13.2-py2.7.egg/zc/buildout/easy_install.py", line 1776, in _move_to_eggs_dir_and_compile
    assert newdist is not None  # newloc above is missing our dist?!
AssertionError
 !     Push rejected, failed to compile Plone app.
 !     Push failed

Not sure what's up there at the moment.
My latest semi-educated guess was to bump these two packages to the latest versions:

setuptools = 41.6.0
jsonschema = 3.1.1 
1 Like