-
Notifications
You must be signed in to change notification settings - Fork 4
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
Extras not translated to rez #66
Comments
Hi @brycegbrazen , can you provide me with the full output logs please? Also, could you try with |
@JeanChristopheMorinPerso Does it actually log to a file? Not seeing anything in the docs that mention that so I figured I'd ask. Otherwise I can just upload the output from my stdout. |
No, it logs everything to stdout/stderr. |
Looks like it includes those extra dependencies, but just doesn't include them as requirements in the
|
I just tried on my side and it's working. And from what I see in your log, it seems like it also worked for you. The extra is called |
I see
Which means it created a package |
Yeah I see it's installing those two extra dependencies, but it doesn't actually include them in the resolve when I run a |
Ah yeah. Well, the boxsdk package will be boxsdk only... We don't try to merge things (as it would be had to know what you really want to do. If you
The dependencies aren't merged. The xtras are still extras even after the install. rez-pip does the same (both the builtin rez-pip and rez-pip2). We additionally don't have a good way to translate Lines 490 to 493 in 0217569
|
Maybe ephemerals could help, but it would need some investigation to see if they would work or not. |
When running a
rez-pip2
on theboxsdk
PyPi package with the extra "jwt" specified, the extra dependencies are not included in the resultingpackage.py
file.Environment
To Reproduce
rez-pip2 boxsdk[jwt]==3.9.2 --python-version 3.7
Expected behavior
"jwt" and "cryptography" packages listed in "extra_requires" on boxsdk's setup.py file are included in
requires
portion of resultingpackage.py
.Actual behavior
"jwt" and "cryptography" packages are missing from the resulting
requires
portion of thepackage.py
.The text was updated successfully, but these errors were encountered: