Skip to content

Commit bbac437

Browse files
authored
Merge pull request #2165 from Drakkar-Software/dev
Master merge
2 parents 2d1b30c + 4705e9e commit bbac437

File tree

7 files changed

+17
-14
lines changed

7 files changed

+17
-14
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,9 @@ jobs:
176176
python -m cibuildwheel --output-dir wheelhouse
177177
env:
178178
# build for python 3.8
179-
CIBW_BUILD: cp38-*
180-
CIBW_SKIP: "*-manylinux_i686" # temporary skip i386 wheels
179+
CIBW_BUILD: cp38-manylinux_x86_64
181180
CIBW_BUILD_VERBOSITY_LINUX: 0
182-
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
183-
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
184-
# CIBW_ARCHS_LINUX: 'auto aarch64'
181+
CIBW_ARCHS_LINUX: 'native' # 'aarch64' https://cibuildwheel.readthedocs.io/en/stable/options/#archs
185182
CIBW_BEFORE_BUILD_LINUX: >
186183
python -m pip install --upgrade pip
187184
pip install --prefer-binary auditwheel -r dev_requirements.txt -r requirements.txt

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
*It is strongly advised to perform an update of your tentacles after updating OctoBot. (start.py tentacles --install --all)*
88

9+
## [0.4.30] - 2022-12-27
10+
### Fixed
11+
- profile download error
12+
913
## [0.4.29] - 2022-12-26
1014
### Fixed
1115
- pip install on Unix

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OctoBot [0.4.29](https://octobot.click/gh-changelog)
1+
# OctoBot [0.4.30](https://octobot.click/gh-changelog)
22
[![PyPI](https://img.shields.io/pypi/v/OctoBot.svg)](https://octobot.click/gh-pypi)
33
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e07fb190156d4efb8e7d07aaa5eff2e1)](https://app.codacy.com/gh/Drakkar-Software/OctoBot?utm_source=github.com&utm_medium=referral&utm_content=Drakkar-Software/OctoBot&utm_campaign=Badge_Grade_Dashboard)[![Downloads](https://pepy.tech/badge/octobot/month)](https://pepy.tech/project/octobot)
44
[![Dockerhub](https://img.shields.io/docker/pulls/drakkarsoftware/octobot.svg)](https://octobot.click/gh-dockerhub)

octobot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616

1717
PROJECT_NAME = "OctoBot"
1818
AUTHOR = "Drakkar-Software"
19-
VERSION = "0.4.29" # major.minor.revision
19+
VERSION = "0.4.30" # major.minor.revision
2020
LONG_VERSION = f"{VERSION}"

octobot/cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,15 +279,15 @@ def start_octobot(args):
279279
# add args to config
280280
update_config_with_args(args, config, logger)
281281

282-
# patch setup with forced values
283-
community_auth = _handle_forced_startup_config(logger, config, is_first_startup)
284-
285282
# show terms
286283
_log_terms_if_unaccepted(config, logger)
287284

288285
# tries to load, install or repair tentacles
289286
_load_or_create_tentacles(config, logger)
290287

288+
# patch setup with forced values
289+
community_auth = _handle_forced_startup_config(logger, config, is_first_startup)
290+
291291
# Can now perform config health check (some checks require a loaded profile)
292292
configuration_manager.config_health_check(config, args.backtesting)
293293

octobot/commands.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,11 @@ def download_missing_env_profiles(config, profile_urls):
163163
)
164164
for download_url in profile_urls:
165165
if download_url not in installed_profiles_urls:
166-
downloaded_profiles.append(
167-
profiles.download_and_install_profile(download_url)
168-
)
166+
installed_profile = profiles.download_and_install_profile(download_url)
167+
if installed_profile is not None:
168+
downloaded_profiles.append(
169+
installed_profile
170+
)
169171
if downloaded_profiles:
170172
# reload profiles to load downloaded ones
171173
config.load_profiles()

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
cython==0.29.32
33

44
# Drakkar-Software requirements
5-
OctoBot-Commons==1.8.1
5+
OctoBot-Commons==1.8.2
66
OctoBot-Trading==2.3.1
77
OctoBot-Evaluators==1.8.0
88
OctoBot-Tentacles-Manager==2.8.1

0 commit comments

Comments
 (0)