-
Notifications
You must be signed in to change notification settings - Fork 39
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
Migrate project setup to poetry #104
Migrate project setup to poetry #104
Conversation
Btw, is there any reason to use poetry specifically? A simple Python Recently I've migrated an another project to
Easy & clean. No issues so far. |
Hi @littleK0i, Thanks for asking; I'll try to give you some background.
ContextThe If you have a look at our toolbox and its design document, you may get a rough idea. Still, this effort is a work in progress and is being done alongside the regular project work, so there is quite some way to go. If you dig into the git history of styleguide, you should be able to find the "initial" list of tools and libraries we intended to use. Maybe even some rationale (but not sure if that ever made it into the repository). Developing the tooling and making changes along the way in the projects has shown to be a more efficient (lightweight) process to go for. Why did we choose poetry?
Personal Notebuild looks quite interesting. I personally will definitely give it a try. In turn you may also find this projects interesting: Unfortunately, I personally didn't find a PEP-621/518-compliant build & project management system that checks all my boxes yet. best |
Thank you for detailed explanation. You mentioned some good reasons, so it's not a problem. My final concern is For example, this file lists Since I did not use poetry before, I am not sure what might happen with existing users using older versions of dependencies. |
@littleK0i sure that is a legit concern, let me try to bring some light into this. TL;DR: Library/Package users will be fine, it is rather for DetailsI don't think I can do a much better job than the poetry documentation explaining the .lock file and it's semantics. This is why I would suggest you to have a quick look over there (the docs are quite concise). Still I can add this "practical" approach: If you run Note:The Poetry documentation regarding lock files "As a library developer" basically describes what we are using it for (most of the times). Side note regarding Python 3.7:I think Python 3.7 support can be dropped, due to the fact that it will be unmaintained in 4 days anyway. |
Co-authored-by: Christoph Pirkl <christoph.pirkl@exasol.com>
Co-authored-by: Christoph Pirkl <christoph.pirkl@exasol.com>
fixes #103