Skip to content

Commit

Permalink
use idaes default binary release for binaries release version (idaes …
Browse files Browse the repository at this point in the history
…extnsions)
  • Loading branch information
MichaelPesce committed Jan 26, 2024
1 parent 888964f commit 50752c6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion backend/app/internal/get_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,14 @@ def get_idaes_extensions():
print(f'unable to set requests_ca_bundle and ssl_cert_file:\n{e}')
print(f'trying to download binaries')
from app.internal.download_binaries import download_binaries
download_binaries(release="3.4.0")
binaries_release_version="3.4.0"
try:
from idaes.config import default_binary_release
binaries_release_version = default_binary_release
print(f"got default binary release: {binaries_release_version}")
except Exception as e:
print(f"unable to get default binary release, rolling with {binaries_release_version}")
download_binaries(release=binaries_release_version)
print(f'extensions have been gotten')
print('successfully installed idaes extensions')
except PermissionError as e:
Expand Down

0 comments on commit 50752c6

Please sign in to comment.