Skip to content

Fix poetry with git dependencies #390

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

Merged
merged 10 commits into from
Aug 5, 2019
Merged

Fix poetry with git dependencies #390

merged 10 commits into from
Aug 5, 2019

Conversation

tpansino
Copy link
Contributor

This is just a copy of #362, but with tests fixed.

test.js Outdated
@@ -727,7 +727,8 @@ test('poetry py3.6 can package flask with default options', t => {
sls(['package']);
const zipfiles = listZipFiles('.serverless/sls-py-req-test.zip');
t.true(zipfiles.includes(`flask${sep}__init__.py`), 'flask is packaged');
t.true(zipfiles.includes(`boto3${sep}__init__.py`), 'boto3 is packaged');
t.true(zipfiles.includes(`bottle.py`), 'bottle is packaged');
t.false(zipfiles.includes(`boto3${sep}__init__.py`), 'boto3 is NOT packaged');
Copy link
Contributor Author

@tpansino tpansino Jul 31, 2019

Choose a reason for hiding this comment

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

@jaysonsantos This assertion change you made seems incorrect given that the pyproject.toml has boto3 = "^1.9" specified. I would expect boto3 to be packaged. Am I missing something about what this test is supposed to be checking?

I'm going to change it back for now.

@tpansino
Copy link
Contributor Author

@dschep Is there something I need to do to get the appveryor/pr step passing? I'm not incredibly node-savvy, and I can't tell what it's actually doing.

@jaysonsantos
Copy link
Contributor

jaysonsantos commented Aug 5, 2019

Hey there, sorry I could not answer before because I was in vacations :D.
Should I apply the changes or they will be done in this PR?

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.

3 participants