-
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
Missing 'archive_info' while converting pip package causes rez-pip crash #74
Comments
Installing from a git repo isn't supported since we only support installing wheels. But rez-pip should give a nicer error. It shouldn't go that far. You could |
Umm, the workaround I proposed doesn't work. I'll have to add support for installing local wheels. |
@brycegbrazen Can you try with #75? You can install it and then do
and then
or you can also use
|
My immediate attempts failed. I tried first to activate the I was able to create the The problems came when I tried to run
However, after running either:
or
gives me this error instead:
Based on what I'm seeing, it's due to the space in between "Program" and "Files" in the path. Not sure if this is something we can deal with though. I did verify that the file does indeed exist at that location. I can try putting the wheel in a location where the path does not have a space next. |
Yep creating the wheel in a path with no spaces worked fine and was able to create the Rez package as expected 💯 |
@JeanChristopheMorinPerso Question: Isn't a pip install from a directory supposed to create a wheel? So that shouldn't cause any issues with using rez-pip with a Git URL? I saw this bit in the pip documentation, but it's not super clear to me if passing a Git URL has special behavior regarding wheels. |
Thanks for testing! I'll take a note of the white space issue.
You are right that when running The thing is that when you In other words, the issue you are seeing (minus the exception that shouldn't be raised in the first place) is #48. Here, we can replace sdist (source distribution, |
When running
rez-pip2
on ShotGrid's latest version of theirtk-core
package, the process crashes trying to get aarchive_info
key in the package's dictionary.Environment
To Reproduce
rez-pip2 git+https://github.com/shotgunsoftware/[email protected] --python-version 3.7
Expected behavior
Successful install.
Actual behavior
The text was updated successfully, but these errors were encountered: