-
Notifications
You must be signed in to change notification settings - Fork 337
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
[wiki] Changes to pip install command #749
base: main
Are you sure you want to change the base?
Conversation
0766cde
to
3216bec
Compare
3216bec
to
1ad335a
Compare
a238328
to
93f4477
Compare
93f4477
to
9d276f1
Compare
Hey thanks, just getting to this now. I like the idea of an extra workflow for testing all installation types (via install.py, pip with various args). But a couple of things:
Looking forward to getting this merged, it's been mentioned in the past that installation testing is missing. |
AcademySoftwareFoundation#749 (comment) - Renamed to Installation - Non-docker python based - Removed rez-bind, new rez env rez test
293c431
to
06ce840
Compare
Looks like I missed out a few things during refactor/rebase. Will need to update again from https://github.com/wwfxuk/rez/tree/pip-fallback |
Should be good to review again @nerdvegas , I've moved the CI into #878 as it has fix for pip in there |
wiki/pages/Installation.md
Outdated
|
||
However, these methods comes with a caveat - rez command line tools _are not | ||
guaranteed to work correctly_ once inside a rez environment (ie after using the | ||
`rez-env` command). The reasons are given in the next section. |
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.
Really minor: I would add that a warning is outputted to the terminal when the rez commands are used in this context.
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 mentioned a few lines below it but I'll tidy it up into 1 warning message
Lets get onto this once #878 is sorted. On a related note - yeah we should add a pypi build and have that being updated automatically. But I'm also still thinking about removing the cli tools from the pip install completely. There just seems to be scope for confusion/bug reports when the tools can be run from two different types of installation. |
Umm ok, it seems like you pushed some commits. I'll have to find how to remove my approval... |
wiki/pages/Installation.md
Outdated
|
||
- Add `/opt/rez/bin` to `PATH` |
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.
I don't think we should invite users to add this to their path as it could make them think they can use the rez cli.
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.
I'll strongly emphasis this and put the warning right after it
New commits were made since my approval
231c9e9
to
29c5885
Compare
d7a16dd
to
7ecf5b7
Compare
23fc3e3
to
3f57791
Compare
commit 8d51e29 Author: Joseph Yu <josephyu2712+github@gmail.com> Date: Mon Apr 27 15:16:37 2020 +0100 Emphasised pip CLI warnings commit e0d698e Author: Joseph Yu <josephyu2712+github@gmail.com> Date: Wed Apr 22 11:36:00 2020 +0100 Extra links to install from GitHub commit 13183cf Author: Joseph Yu <josephyu2712+github@gmail.com> Date: Wed Apr 22 10:56:48 2020 +0100 Updated CLI in rez-env warning commit e922172 Author: Joseph Yu <josephyu2712+github@gmail.com> Date: Sat Apr 18 17:39:40 2020 +0100 Just update Installation.md See AcademySoftwareFoundation#878 for CI check
Update the Wiki Installation page based off some PR feedback/comments:
pip install rez
installs the ancient2.0.ALPHA.52
on pypi.org, see [Feature] Install as package #579 (comment)pip install
using source directory, see [Feature] Install as package #579 (comment)rez-pip --install
suggestion from [Feature] Install as package #579 (comment)Notable changes
src/rez/pip.py
PIP_SPECIFIER
and_check_found()
for pip version checkingfind_pip()
can fully fall back to rez install's virtualenv pip if any version/Python criteria are not satisfiedStringIO
fixes that was breaking the install process