Skip to content
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

Update dependencies for python3.10 #1999

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements/developer.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ protobuf
grpcio-tools
transformers==4.11.0
pyspelling
pygit2==1.6.1
pygit2
pyspelling
pre-commit
twine
Expand Down
6 changes: 6 additions & 0 deletions ts_scripts/install_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ def install_jmeter(self):
def install_wget(self):
pass

def install_rust(self):
os.system(
"curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y"
)


class Linux(Common):
def __init__(self):
Expand Down Expand Up @@ -148,6 +153,7 @@ def install_dependencies(cuda_version=None):
system.install_wget()
system.install_nodejs()
system.install_node_packages()
system.install_rust()

if platform.system() == "Linux" and args.environment == "dev":
system.install_libgit2()
Expand Down