-
Notifications
You must be signed in to change notification settings - Fork 21
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
Getting mac builds working #10
Comments
inv GenerateProtobufMessages doesn't work. Gives an error that the protoc directory is missing. Haven't looked at the protobuf README at all. Ignoring this issue for now. /galaxy-integration-steam/protoc/bin/protoc ... |
solves errors seen in mac build not tested on windows fix for issue ABaumher#10
Protoc needs to be downloaded in order for the generate protobuf command to work. I believe there's an |
I'll need to track pythons breaking change nonsense to see if pip tools broke something on windows with that patch but i doubt it. |
I took a break from Zelda (great addictive game!) and figured out how to get protobufs working on Mac. Add this to README_UPDATE_PROTOBUF_FILES.md. Too lazy to create another pull request at the moment. Installing and generating protobufs on MacFirst time Install Python OpenSSL Certificates so the request library can pull Stream protobufs.
The README instructions have you set up a virtual environment but for some reason Now you can run To regenerate protobufs you must get and install the protobuf compiler.
|
From the following SO article, could we just use I can update the InstallProtoc command to check if we're on Mac and run the |
Commented on #11 what I'm looking at. I've been trying to figure out a macos vm to make this easier on you (it's pretty difficult to say "try this" for 10 possible fixes, lol) but unlike windows they don't have a free development vm for devs to build on, you need a valid mac license. It might be possible with a hackintosh vm but I'm not having a ton of luck figuring that out |
Well, now that I'm on Mac i see your point. Holy hell, it's such a pain here considering i have no idea what I'm doing. Pip tools 5.4 it is. |
I'm glad it wasn't just me. I definitely descended into python environment hell. Thanks for checking and all the other feedback on other threads. Alas I'll get to it later... like this weekend. |
I didn't check using brew and pyenv because it wasn't my computer and i
wanted to keep what i put on there to a minimum, but it's possible just
including certifi was enough and if you built it now the other Mac users
wouldn't have an issue. I'll need to bump pip-tools in a new commit but I'm
not doing it now, I'm way too tired. I put a zip on #13 that hopefully
fixes the certificate nonsense, I'll see if i can get someone from the main
board to test
… Message ID: ***@***.***
.com>
|
@don-de-marco is looking to update all our pinned versions to more modern ones. This includes pip tools. If you get a chance, can you pull his branch (referenced at #16), install it with I'm looking to clean up all the code and this is an important first step in that process. It's not essential to getting the plugin working right now (it's pretty stable) but it's something that needs to be done eventually, so don't feel rushed to test it. |
Turns out that piptools issue is also on windows if you don't force your global pip install to 22.0.4. We don't do that anymore, but it just happened to be that way when i was compiling because i haven't changed it. On a different computer that did not do this, it errors out |
Creating this issue to track my efforts getting builds to work on the Mac and to update the dev instructions.
I discovered that an issue with pip-tools. I can't get builds to work with 5.1.2. Found 5.4.0 works for me better. Found same issues/errors from others using < 5.4.0
From the threads it looks like 5.5 or 6.2 might work too.
Will submit pull request to update dev.txt after a bit more testing. Speaking of which now trying to get the tests working.
The text was updated successfully, but these errors were encountered: