Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Conversation

@miketheman
Copy link
Contributor

During the evaluation in the package phase, we determine whether a
requirements.txt file exists, or whether we need to generate one.

Since the pyproject.toml file is used by poetry, but only if a stanza
is contained inside the file, use the function isPoetryProject() along
with the configuration value, thereby reducing the need for a project to
have to declare a configuration override.

Refs #324
Refs #344
Fixes #400

Signed-off-by: Mike Fiedler miketheman@gmail.com

Copy link
Contributor

@bsamuel-ui bsamuel-ui 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 just waiting on CI to pass; looks like it needs prettier run against lib.js.

@miketheman
Copy link
Contributor Author

Will repair tonight/tomorrow. This is a classic case of splitting up the ci job to workflows - get that fast feedback on the lint before the beefy test suite.

@miketheman miketheman self-assigned this Feb 25, 2020
During the evaluation in the package phase, we determine whether a
`requirements.txt` file exists, or whether we need to generate one.

Since the `pyproject.toml` file is used by poetry, but only if a stanza
is contained inside the file, use the function `isPoetryProject()` along
with the configuration value, thereby reducing the need for a project to
have to declare a configuration override.

Refs serverless#324
Refs serverless#344
Fixes serverless#400

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
@bsamuel-ui bsamuel-ui merged commit 5177cdd into serverless:master Mar 26, 2020
@miketheman miketheman deleted the miketheman/fix-400 branch March 28, 2020 02:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Poetry

3 participants