Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Python3): Build support for Python3.6 #478

Merged
merged 16 commits into from
Jun 14, 2018
Merged

feat(Python3): Build support for Python3.6 #478

merged 16 commits into from
Jun 14, 2018

Conversation

jfuss
Copy link
Contributor

@jfuss jfuss commented Jun 13, 2018

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jfuss jfuss requested a review from sanathkr June 13, 2018 17:47
@jfuss
Copy link
Contributor Author

jfuss commented Jun 13, 2018

I couldn't seem to get make func-test and make integ-test to work properly on travis and wasn't really going anywhere. So for now, we only run make pr (linting, unit tests) when PRs are created. We do need to expand this to func and integ but didn't want to go down a deep hole while trying to wrap up Py3 stuff.

If you have a better idea on something else I should be doing to make these work, I am happy to address and give it a try.

Copy link
Contributor

@sanathkr sanathkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome! Just a few minor cleanup comments

@@ -101,7 +101,7 @@ Prerequisites
~~~~~~~~~~~~~

- Docker
- Python2.7 (Python3+ not yet supported)
- Python2.7 or Python3.6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

omg yaay 🎉

README.rst Outdated
@@ -253,7 +253,7 @@ homebrew and try again:

.. code:: bash

brew install python@2
brew install python@3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the version identifier here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

self.obj_to_patch = obj_to_patch

def __enter__(self):
self.obj_to_patch.warning = self.warning
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow! Something to live with until SAM Translator makes a new release.

@@ -16,6 +17,8 @@
from samcli.commands.local.lib.local_lambda import LocalLambdaRunner
from samcli.local.docker.manager import ContainerManager

logging.getLogger().setLevel(logging.DEBUG)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove this line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

tox.ini Outdated
commands = make pr
commands =
make pr
passenv = *
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this work?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:( I couldn't get for some reason and forgot to removed.

@sanathkr sanathkr merged commit 48bdade into aws:develop Jun 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants