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

fix: "extras" and "all-extras" not applied for environments created by stew #62

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

jonapich
Copy link
Member

@jonapich jonapich commented Oct 17, 2024

When calling stew ci on a project without a virtual environment setup, we use poetry install to delegate the work to poetry. We don't use the self.install() method because it would create an infinite loop (the install method requires an environment). This causes the behaviors around extras to be lost since it was in the install() method.

I extracted the command creation logic and reused it in both code paths.

it was done during stew ci for a while, just not for new envs
@jonapich jonapich merged commit 125a253 into main Oct 17, 2024
18 checks passed
@jonapich jonapich deleted the fix/extras branch October 17, 2024 17:28
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.

2 participants