-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add docs showing pip-tools usage on dependencies #9158
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
Conversation
This will help users not have random jinja or docutils updates break their builds. Fixes #9039
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.
It's probably also worth noting to users that there is specific tooling that does this job much better, like Poetry and friends with lock files. Our suggestion is just the easiest to migrate to.
.. code-block:: yaml | ||
|
||
# File: docs/environment.yaml |
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.
Also :caption:
here as well.
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.
This is a good recommendation, I'm 👍🏼 on merging it.
However, I think the "Pinning transitive dependencies" section that you are adding is very similar to the previous one "Pinning dependencies" that does not pin transitive dependencies. So, I'd say that we should either:
- refer to the previous section communicating that pinning all the versions, including transitive dependencies is better than the previous section but it implies an extra step
- merge the two sections into one and only recommend pinning with pip-tools
Besides, this new section does not have a " Bad" subsection as the other have.
Co-authored-by: Anthony <[email protected]>
Yea, there's definitely some additional things to work on here, this is just a basic start that gets the info to our users when we link to this page. I agree that the previous section covers this, which I refer to in the first sentence. |
This will help users not have random jinja or docutils updates break their builds.
Fixes #9039