Skip to content

Python3+ not supported - Any plans to update? #22

@bv300t

Description

@bv300t

Lambda no longer allows Python2.7. We started looking at upgrading graffiti_monkey to support Python3+. I think requirements and several pieces are going to have to be updated. After updating several "except KeyError, e" and "except Exception, e" to "except KeyError as e" and "except Exception as e" in multiple files for Python3 compatibility, we were able to get beyond several of the errors. I'm not sure if there are other syntax errors, however... there do not appear to be. The last error we cannot get past is:

[ERROR] Runtime.ImportModuleError: Unable to import module 'service': No module named 'cache'
Traceback (most recent call last):

This is not a problem when we are able to use python2.7. I do not see anything trying to import cache in the service.py or the files under the graffiti_monkey folder. However, cache.py does exist under that folder. I'm not sure why the service.py is unable to be imported. Also, Several of the requirements versions appear to not be python3+ compatible... but still digging there.

Are there any plans to update this utility? We are still digging to see if we can get this to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions