Skip to content

Error during deployment with buildpack after 4.6.23 => cause is need to upgrade to python 3 #23

@sebbob34

Description

@sebbob34

Stack trace with latest buildpack :
-------> Buildpack version 4.6.26
. Traceback (most recent call last):
. File "/tmp/buildpacks/899861934d45383d/scripts/compile.py", line 56, in
. .done()
. ^^^^^^
. File "/tmp/buildpacks/899861934d45383d/lib/build_pack_utils/builder.py", line 246, in done
. process_extension(extn, self._builder._ctx, 'configure', process)
. File "/tmp/buildpacks/899861934d45383d/lib/build_pack_utils/utils.py", line 66, in process_extension
. extn = load_extension(path)
. ^^^^^^^^^^^^^^^^^^^^
. File "/tmp/buildpacks/899861934d45383d/lib/build_pack_utils/utils.py", line 54, in load_extension
. extn = import('%s.extension' % os.path.basename(path),
. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
. File "/tmp/app/.extensions/phpmyadmin/extension.py", line 37
. print 'Installing PHPMyAdmin %s' % DEFAULTS['PHPMYADMIN_VERSION']
. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
. SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
. Failed to compile droplet: Failed to run finalize script: exit status 1
. Exit status 223

Solution :
add parentheses in extensions/phpmyadmin/extension.py", line 37

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions