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

investigate using rye over poetry #23

Open
mrwormhole opened this issue Oct 17, 2024 · 0 comments
Open

investigate using rye over poetry #23

mrwormhole opened this issue Oct 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mrwormhole
Copy link
Owner

mrwormhole commented Oct 17, 2024

poetry is sometimes being annoying when python versions change in local development, maybe rye is a better tool

Why poetry is annoying af?

I did run below and produced a binary

poetry shell && poetry install --with dev
poetry run pyinstaller keyboard.spec
./dist/keyboard

then I got import error because my local python version has changed, I did open new terminal and did poetry shell && poetry install then followed the same process, this time executable was run without an error. I am extremely suspicious about the internals of poetry install --with dev also I get bunch of warnings such as below, it is just bad devex

Warning: The current project could not be installed: No file/folder found for package virtual-keyboard
If you do not want to install the current project use --no-root.
If you want to use Poetry only for dependency management but not for packaging, you can disable package mode by setting package-mode = false in your pyproject.toml file.
In a future version of Poetry this warning will become an error!
@mrwormhole mrwormhole added the enhancement New feature or request label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant