Replies: 1 comment 3 replies
-
I'd have to look back at our previous discussions on this, but I kind of remember that it was a deliberate choice. But I might be mistaken. Anyway, if we were to change the behavior, I don't think it would be a breaking change (at least I wouldn't consider that a breaking change). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I'm trying to install some 3rd-party pypi package with rez-pip and specify a python version, it should use that python version or error. Currently it will fallback to pip installed into rez's virtual env, which is likely the wrong python version. This caused a lot of headache as I was trying to build packages for python 3.10, but it was silently failing and defaulting to 3.9. In my opinion, if you specify a python version and rez can't find that version's pip it should raise an error. If you aren't paying close attention, you would think it worked, then spend time trying to figure out why the package is missing.
I know this would be an API-breaking change, unless a new argument is added. Something like
--strict
could possibly make it so that if the specified python or pip version isn't found, it'll error instead of falling back.Beta Was this translation helpful? Give feedback.
All reactions