Skip to content

Commit

Permalink
Merge pull request #2165 from Drakkar-Software/dev
Browse files Browse the repository at this point in the history
Master merge
  • Loading branch information
GuillaumeDSM authored Dec 27, 2022
2 parents 2d1b30c + 4705e9e commit bbac437
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 14 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,9 @@ jobs:
python -m cibuildwheel --output-dir wheelhouse
env:
# build for python 3.8
CIBW_BUILD: cp38-*
CIBW_SKIP: "*-manylinux_i686" # temporary skip i386 wheels
CIBW_BUILD: cp38-manylinux_x86_64
CIBW_BUILD_VERBOSITY_LINUX: 0
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
# CIBW_ARCHS_LINUX: 'auto aarch64'
CIBW_ARCHS_LINUX: 'native' # 'aarch64' https://cibuildwheel.readthedocs.io/en/stable/options/#archs
CIBW_BEFORE_BUILD_LINUX: >
python -m pip install --upgrade pip
pip install --prefer-binary auditwheel -r dev_requirements.txt -r requirements.txt
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

## [0.4.30] - 2022-12-27
### Fixed
- profile download error

## [0.4.29] - 2022-12-26
### Fixed
- pip install on Unix
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OctoBot [0.4.29](https://octobot.click/gh-changelog)
# OctoBot [0.4.30](https://octobot.click/gh-changelog)
[![PyPI](https://img.shields.io/pypi/v/OctoBot.svg)](https://octobot.click/gh-pypi)
[![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)
[![Dockerhub](https://img.shields.io/docker/pulls/drakkarsoftware/octobot.svg)](https://octobot.click/gh-dockerhub)
Expand Down
2 changes: 1 addition & 1 deletion octobot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@

PROJECT_NAME = "OctoBot"
AUTHOR = "Drakkar-Software"
VERSION = "0.4.29" # major.minor.revision
VERSION = "0.4.30" # major.minor.revision
LONG_VERSION = f"{VERSION}"
6 changes: 3 additions & 3 deletions octobot/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,15 +279,15 @@ def start_octobot(args):
# add args to config
update_config_with_args(args, config, logger)

# patch setup with forced values
community_auth = _handle_forced_startup_config(logger, config, is_first_startup)

# show terms
_log_terms_if_unaccepted(config, logger)

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

# patch setup with forced values
community_auth = _handle_forced_startup_config(logger, config, is_first_startup)

# Can now perform config health check (some checks require a loaded profile)
configuration_manager.config_health_check(config, args.backtesting)

Expand Down
8 changes: 5 additions & 3 deletions octobot/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,11 @@ def download_missing_env_profiles(config, profile_urls):
)
for download_url in profile_urls:
if download_url not in installed_profiles_urls:
downloaded_profiles.append(
profiles.download_and_install_profile(download_url)
)
installed_profile = profiles.download_and_install_profile(download_url)
if installed_profile is not None:
downloaded_profiles.append(
installed_profile
)
if downloaded_profiles:
# reload profiles to load downloaded ones
config.load_profiles()
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
cython==0.29.32

# Drakkar-Software requirements
OctoBot-Commons==1.8.1
OctoBot-Commons==1.8.2
OctoBot-Trading==2.3.1
OctoBot-Evaluators==1.8.0
OctoBot-Tentacles-Manager==2.8.1
Expand Down

0 comments on commit bbac437

Please sign in to comment.