-
Notifications
You must be signed in to change notification settings - Fork 29
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
Improve poetry file #384
Improve poetry file #384
Conversation
A general clean-up of the `pyproject.toml`-files. It is now possible to install all dependencies using `poetry install`. Before you had to do ``` cd docs; poetry install cd libs/gl-client-py; poetry install cd libs/gl-testing; poetry install ``` Another advantage is that it now properly resolves dependencies and conflicts. In the old approach conflicts between two different `pyproject.toml`-files wouldn't be detected. Users who want to contribute to the documentation have to use ``` poetry install --with docs ```
In case anybody is getting an error similar to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack bddb115
Good proposal, we should definitely have a top-level We could instead of moving the doc-dependencies into the main |
Initially, I followed your sentiment but I realized the maintenance burden is just too high. I see two reasons why you would want to create a separate
We want to package and publish How it increases maintenance burden?In If we want to add a type-stub as a dev-dependency to
I don't want to create a Groups are recommendedThe first paragraph in the docs about dependency management is
|
Excellent rationale, thank you. I think I had not fully understood the intent and now that I do I fully agree 👍 ACK bddb115 |
A general clean-up of the
pyproject.toml
-files.It is now possible to install all dependencies using
poetry install
.Before you had to do
Another advantage is that it now properly resolves dependencies and
conflicts. In the old approach conflicts between two different
pyproject.toml
-files wouldn't be detected.Users who want to contribute to the documentation have to use