Skip to content

Commit

Permalink
Merge pull request #2731 from Drakkar-Software/dev
Browse files Browse the repository at this point in the history
[Requirements] bump
  • Loading branch information
GuillaumeDSM authored Aug 27, 2024
2 parents 83c0143 + 4d5dc0c commit 4765579
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion octobot/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def select_forced_profile_if_any(config, forced_profile, logger) -> bool:
if profile.profile_id == forced_profile \
or profile.origin_url == forced_profile \
or profile.name == forced_profile:
logger.info(f"Selecting forced profile {profile.name} (from identified by{forced_profile})")
logger.info(f"Selecting forced profile {profile.name} (identified by {forced_profile})")
config.select_profile(profile.profile_id)
return True
logger.warning(f"Forced profile not found in available profiles ({forced_profile})")
Expand Down
4 changes: 3 additions & 1 deletion octobot/community/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,9 @@ async def fetch_private_data(self, reset=False):
mqtt_uuid = self.get_saved_mqtt_device_uuid()
except errors.NoBotDeviceError:
pass
if reset or (not self.user_account.community_package_urls or not mqtt_uuid):
if constants.DISABLE_COMMUNITY_EXTENSIONS_CHECK:
self.logger.info("Community extension check is disabled")
elif reset or (not self.user_account.community_package_urls or not mqtt_uuid):
self.successfully_fetched_tentacles_package_urls = False
packages, package_urls, fetched_mqtt_uuid = await self._fetch_package_urls(mqtt_uuid)
self.successfully_fetched_tentacles_package_urls = True
Expand Down
1 change: 1 addition & 0 deletions octobot/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
COMMUNITY_EXTENSIONS_CHECK_ENDPOINT_KEY = os.getenv(
"COMMUNITY_EXTENSIONS_CHECK_ENDPOINT_KEY", "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBsaWNhdGlvbl9jbGFpbSI6W3sibmFtZXNwYWNlX2lkIjoiIiwiYXBwbGljYXRpb25faWQiOiI5YTEzMTg2Mi1iMmY2LTRlOWUtYjU1OC0yOTU4MWFjYjM0ZjUifV0sInZlcnNpb24iOjIsImF1ZCI6ImZ1bmN0aW9ucyIsImp0aSI6IjJkMTM5OWQxLTRkNjMtNGVmNi1hNTI3LWNhMDQxMDdiNmUwYSIsImlhdCI6MTcyMDEyNjc1OSwiaXNzIjoiU0NBTEVXQVkiLCJuYmYiOjE3MjAxMjY3NTksInN1YiI6InRva2VuIn0.S2StO0Jey_BGotVdIYOa1hUNyF1m-BTLr-5oy24tiIXoh6nysMn_wBx0EzTDjQ_rG9yyUWbEYENjVlUzRJukiUf-5jjmIY0sgp6gYwtn6tu5Va1HyLOHpTNLYmSFcj7S-DcJXfd0uIGJcNRSAvYftnt-SVqjray0g5SfQEoB6UDSQolfECs4Avj7O0_Wtny1LHoIX_BEqlGWetODNklNNrBJuFUtSxoGfGarVGejOyvCdk10tFXpGJQr9dKPhnNSChs6N3qk4ApH5ET6JjOUENVF6x-KZ8Ed82KFU0gdGXICMVIiCUJz-b-QU88-HG6QG2-fD8dtvRUSCt_PsZPPZ_7IDWWuA-LEdNlKCyatVz0Yx3mCDusHN7Tt3ae-dJg9wpC4VCxqy8-MHOg9uf9GREkkc8Al-Nfn04tLWrl-OY_lrJ_jJ5_6N_XTwzNGmEdN3EVAeedwfyfpiuiXJMy84WQpfmJWn1zKEUrsBmx8xrTPz1pmZBB6uRKcdjUNWV2MpiAgxFxQI8Mo_zUJvagydfylcijjen8wP1ML0y8ywF8KSUmNprBv2SUwY8AXywtP5qIusnUEv-WxtoFdOU7Rgu3bCsdlktVEo2n2S-j6R9bki43gIgAmyxCveE-lwcNYoc_MahHMrjRW2uoO5deDo_yq90OJmnvnl35cLgVbkoA"
)
DISABLE_COMMUNITY_EXTENSIONS_CHECK = os_util.parse_boolean_environment_var("DISABLE_COMMUNITY_EXTENSIONS_CHECK", "false")
COMMUNITY_EXTENSIONS_PACKAGES_IDENTIFIER = ".cloud"
COMMUNITY_FETCH_TIMEOUT = 30

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Drakkar-Software requirements
OctoBot-Commons==1.9.55
OctoBot-Trading==2.4.105
OctoBot-Trading==2.4.107
OctoBot-Evaluators==1.9.6
OctoBot-Tentacles-Manager==2.9.16
OctoBot-Services==1.6.17
Expand Down

0 comments on commit 4765579

Please sign in to comment.