Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/basic_concepts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ of each attribute):
env.PYTHONPATH.append("{root}/python")
env.PATH.append("{root}/bin")

The :attr:`requires` section defines the requirements of the package. The :func:`commands` section describes
The :attr:`requires` section defines the requirements of the package, excluding *any* subsequent patch versions. The :func:`commands` section describes

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like this could be added to the "Package Requests" section. And in theory it's already covered by the foo-1.2+<2 example, isn't it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to go back and look at the issue (#1824) to understand what this was talking about.

Maybe instead it might be worth it to add an example with the <= operator as in the issue, as I can see how it could be ambiguous, and is not listed in https://rez.readthedocs.io/en/stable/basic_concepts.html#package-requests

what happens when this package is added to an environment. Here, the ``bin`` directory in the package
installation is appended to ``PATH``, and similarly the ``python`` subdirectory is appended to
``PYTHONPATH``.
Expand Down