From 3b344e192855e101e3eb31a09d23c34cf3ddcc49 Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Wed, 26 Nov 2025 09:54:38 +0100 Subject: [PATCH 1/2] [Requirements] add full requirements --- .github/workflows/main.yml | 5 +++++ MANIFEST.in | 1 + full_requirements.txt | 4 ++++ setup.py | 4 ++++ 4 files changed, 14 insertions(+) create mode 100644 full_requirements.txt diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 364b0ec..cabee55 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,10 +12,13 @@ jobs: uses: Drakkar-Software/.github/.github/workflows/python3_lint_workflow.yml@master with: project_main_package: octobot_backtesting + use_full_requirements: true tests: needs: lint uses: Drakkar-Software/.github/.github/workflows/python3_tests_workflow.yml@master + with: + use_full_requirements: true secrets: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} @@ -23,6 +26,8 @@ jobs: needs: tests if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') uses: Drakkar-Software/.github/.github/workflows/python3_sdist_workflow.yml@master + with: + use_full_requirements: true secrets: PYPI_OFFICIAL_UPLOAD_URL: ${{ secrets.PYPI_OFFICIAL_UPLOAD_URL }} PYPI_USERNAME: __token__ diff --git a/MANIFEST.in b/MANIFEST.in index 06feef7..95bf85b 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,5 +4,6 @@ include README.md include LICENSE include CHANGELOG.md include requirements.txt +include full_requirements.txt global-exclude *.c diff --git a/full_requirements.txt b/full_requirements.txt new file mode 100644 index 0000000..ada9619 --- /dev/null +++ b/full_requirements.txt @@ -0,0 +1,4 @@ + +# Drakkar-Software requirements +OctoBot-Commons[full]>=1.9, <1.10 +OctoBot-Tentacles-Manager[full]>=2.9, <2.10 diff --git a/setup.py b/setup.py index 3663d8f..54787ae 100644 --- a/setup.py +++ b/setup.py @@ -22,6 +22,7 @@ PACKAGES = find_packages(exclude=["tests"]) REQUIRED = open('requirements.txt').readlines() +FULL_REQUIRED = open('full_requirements.txt').readlines() REQUIRES_PYTHON = '>=3.8' setup( @@ -39,6 +40,9 @@ zip_safe=False, data_files=[], install_requires=REQUIRED, + extras_require={ + 'full': FULL_REQUIRED, + }, python_requires=REQUIRES_PYTHON, classifiers=[ 'Development Status :: 5 - Production/Stable', From 6addd9ee9fb88e3d7bef15179f5b39be06993c94 Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Wed, 26 Nov 2025 10:47:56 +0100 Subject: [PATCH 2/2] [Version] v1.9.8 --- CHANGELOG.md | 4 ++++ README.md | 2 +- octobot_backtesting/__init__.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b0b888..2e79724 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.9.8] - 2024-11-26 +### Added +[Requirements] [full] requirements installation + ## [1.9.7] - 2023-12-11 ### Added - [Backtesting] extra_backtesting_time_frames diff --git a/README.md b/README.md index c96b92a..e85ff91 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OctoBot-Backtesting [1.9.7](https://github.com/Drakkar-Software/OctoBot-Backtesting/blob/master/CHANGELOG.md) +# OctoBot-Backtesting [1.9.8](https://github.com/Drakkar-Software/OctoBot-Backtesting/blob/master/CHANGELOG.md) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/aa0b156e99604b3c98923fffeaea6a49)](https://app.codacy.com/gh/Drakkar-Software/OctoBot-Backtesting?utm_source=github.com&utm_medium=referral&utm_content=Drakkar-Software/OctoBot-Backtesting&utm_campaign=Badge_Grade_Dashboard) [![PyPI](https://img.shields.io/pypi/v/OctoBot-Backtesting.svg)](https://pypi.python.org/pypi/OctoBot-Backtesting/) [![Coverage Status](https://coveralls.io/repos/github/Drakkar-Software/OctoBot-Backtesting/badge.svg?branch=master)](https://coveralls.io/github/Drakkar-Software/OctoBot-Backtesting?branch=master) diff --git a/octobot_backtesting/__init__.py b/octobot_backtesting/__init__.py index 3123bb5..478dbba 100644 --- a/octobot_backtesting/__init__.py +++ b/octobot_backtesting/__init__.py @@ -16,6 +16,6 @@ import logging PROJECT_NAME = "OctoBot-Backtesting" -VERSION = "1.9.7" +VERSION = "1.9.8" logging.getLogger('aiosqlite').setLevel(logging.ERROR)