Using Poetry with platform argument

Poetry has recently become our enterprise standard, but it still lacking some features that pip provides. Thankfully, a pull request has been opened to add the platform flag. Unfortunately, it has not yet been merged.

To get things working, you can install poetry 2.0.1 and the latest commit from the pull request repo. If you’re feeling risky, you could point to the branch, but we were more comfortable pointing to a specific commit

python3 -m pip install poetry==2.0.1
python3 -m pip install git+BrandonLWhite/poetry-plugin-bundle-bw.git@640529e823cd2cb678831409e646c1f641279953
python3 -m poetry bundle --platform manylinux2014_x86_64
Matt Busche's Picture

About Matt Busche

Software Engineer and Wheel of Fortune Expert If this article helped you, please consider buying me a book.

Des Moines, IA https://www.mrbusche.com