Skip to content

Commit

Permalink
Fixed auto_requirement installation
Browse files Browse the repository at this point in the history
  • Loading branch information
onuratakan committed Jun 5, 2024
1 parent 00e7f90 commit a4b6571
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions upsonic/remote/on_prem.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,11 @@ def install_the_requirements(self, the_requirements):
installed_requirements = self.export_requirement()
if self.tester:
self._log(f"installed_requirements {installed_requirements}")
try:
installed_requirements = installed_requirements.lower()
except:
pass

for each in the_requirements:
try:
if each not in installed_requirements or self.enable_elastic_dependency:
Expand Down

0 comments on commit a4b6571

Please sign in to comment.