-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Pass artifactory url for all pip calls in yamato #4282
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
Conversation
pip install grpcio-tools==1.13.0 --progress-bar=off | ||
pip install mypy-protobuf==1.16.0 --progress-bar=off | ||
pip install --upgrade pip --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple | ||
pip install grpcio==1.28.1 grpcio-tools==1.13.0 protobuf==3.11.3 six==1.14.0 mypy-protobuf==1.16.0 --progress-bar=off --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got the versions here from an older passing run of the proto generation test:
https://yamato.prd.cds.internal.unity3d.com/jobs/497-ml-agents/tree/master/.yamato%252Fprotobuf-generation-test.yml%2523test_mac_protobuf_generation/2066047/job/(log:Execution)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turns out that wasn't the cause of the delta (but still worth doing).
|
||
|
||
class UnityToExternalProtoStub: | ||
class UnityToExternalProtoStub(object): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow up jira: https://jira.unity3d.com/browse/MLA-1215
We should have run the proto check test when these were modified.
* pass artifactory url for all pip calls in yamato * pip proto generation libs * undo pyupgrade on generated code
* pass artifactory url for all pip calls in yamato * pip proto generation libs * undo pyupgrade on generated code
Proposed change(s)
Not sure if there's a good way to DRY this up. It should be redundant eventually when the CI images have a
pip.ini
/pip.conf
file that make this the default.