It's more of the what-is-by-design question. The situation is as follows:
- by default, rez binds
python (and os, arch, platform) package to local_packages_path
- when a package that depends on python is released, the process assumes that all dependencies are released as well, thus forcing to release locally-bound
python, os, arch, platform
rez-pip by default looks for the latest python & pip packages and corresponding versions may not be present locally
Seems like a collision.
Workaround attempt no. 1: Specify the exact version for rez-pip that matches locally-bound python
Won't help since the same version can be released from different arch, producing
The following package conflicts occurred: (arch-AMD64 <--!--> arch-x86_64)
Workaround attempt no. 2: Remove all published python package versions, forcing it to use locally-bound
- would help for rez-pip
- would help with rez env resolving unless
--no-local is specified
- will cause issue with rez-release since not all dependencies are published
Questions:
- by design, what should be the intended approach?
- rez-bind is going to be deprecated (so I've heard)?
- should all possible combinations of python-os-arch-platform be published to shared (cross-platform) rez packages repo?
Thanks in advance for the guidance!
cc @nerdvegas
It's more of the what-is-by-design question. The situation is as follows:
python(andos,arch,platform) package tolocal_packages_pathpython,os,arch,platformrez-pipby default looks for the latest python & pip packages and corresponding versions may not be present locallySeems like a collision.
Workaround attempt no. 1: Specify the exact version for rez-pip that matches locally-bound python
Won't help since the same version can be released from different arch, producing
Workaround attempt no. 2: Remove all published python package versions, forcing it to use locally-bound
--no-localis specifiedQuestions:
Thanks in advance for the guidance!
cc @nerdvegas