-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
Document constraints.txt usage. #585
Conversation
doc/example/basic.txt
Outdated
|
||
.. versionadded:: 1.6.1 | ||
|
||
(experimental) If you have a ``constrains.txt`` file you can add it to your ``deps``varaiable like this:: |
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.
typo: varaiable
doc/example/basic.txt
Outdated
|
||
(experimental) If you have a ``constrains.txt`` file you can add it to your ``deps``varaiable like this:: | ||
|
||
deps = constrains.txt |
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 would have to be deps = -cconstrains.txt
Hi @loechel thanks for the PR. I guess you mean this: https://pip.pypa.io/en/stable/user_guide/#constraints-files? If yes: this is nothing that is implemented as such - it is basically a side effect of the way how deps is implemented. deps passes the Maybe it would be better to explain that in above section documenting |
CHANGELOG
Outdated
@@ -9,6 +9,7 @@ Not released yet | |||
- #518: Forward `USERPROFILE` by default on Windows. | |||
- #515: Don't require environment variables in test environments | |||
where they are not used. | |||
- : Add documentation for constrains.txt |
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.
s/constrains/constraints/g
@obestwalter thanks for the feedback, I have adjusted the documentation. I hope it is better now and ready to merge. |
I have documented the corresponding constrains.txt usage with tox, as it work similar to requirements.txt but was not documented.
Here's a quick checklist of what we'd like you to think off:
CONTRIBUTORS
;