use uninstall -y

This commit is contained in:
oobabooga 2023-06-20 21:24:01 -03:00 committed by GitHub
parent c0a1baa46e
commit a2116e8b2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,7 @@ def update_dependencies():
package_name = url.split("/")[-1].split("@")[0] package_name = url.split("/")[-1].split("@")[0]
# Uninstall the package using pip # Uninstall the package using pip
run_cmd("python -m pip uninstall " + package_name, environment=True) run_cmd("python -m pip uninstall -y" + package_name, environment=True)
print(f"Uninstalled {package_name}") print(f"Uninstalled {package_name}")
# Installs/Updates dependencies from all requirements.txt # Installs/Updates dependencies from all requirements.txt