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

poetry build --frozen-wheel #5939

Closed
gsemet opened this issue Jul 1, 2022 · 3 comments
Closed

poetry build --frozen-wheel #5939

gsemet opened this issue Jul 1, 2022 · 3 comments
Labels
kind/feature Feature requests/implementations

Comments

@gsemet
Copy link

gsemet commented Jul 1, 2022

Hi,

I have applications with lot of dependencies, and it makes it hard to cover all combinaisons of version of dependencies during testing (it is not possible actually), and relying of package authors to strictly follow semver is not enough. Some mistakes are made, breaking changes can enter bugfixes releases, even for some serious packages.

So, I wonder if it wouldn't be possible for poetry to build from the lockfile AND lock all dependencies in it generated wheel? As of today, I dump the locked requirements .txt and recommend users to install through a pip install --user mywheel.whl -r requirements.txt, which is not ideal (it may break install app).

My "ideal" solution would be a combination of frozen wheel + pipx, so that user can really envoy my application the way I have validated it while still not breaking their env.

$ poetry build --frozen-wheel
=> generates dist/myapp.whl

...

# on users machine
$ pipx install myapp
-> all dependences are exactly like when I have validated on my CI
@gsemet gsemet added kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Jul 1, 2022
@dimbleby
Copy link
Contributor

dimbleby commented Jul 1, 2022

duplicate #5449

@BrandonLWhite
Copy link

Same as #2331

@mkniewallner mkniewallner removed the status/triage This issue needs to be triaged label Jul 31, 2022
Copy link

github-actions bot commented Mar 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Feature requests/implementations
Projects
None yet
Development

No branches or pull requests

5 participants