Skip to content

Commit 897a6d4

Browse files
committed
[Requirements] add full requirements
1 parent 565ac3e commit 897a6d4

File tree

5 files changed

+55
-41
lines changed

5 files changed

+55
-41
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,22 @@ jobs:
1212
uses: Drakkar-Software/.github/.github/workflows/python3_lint_workflow.yml@master
1313
with:
1414
project_main_package: octobot_services
15+
use_full_requirements: true
1516

1617
tests:
1718
needs: lint
1819
uses: Drakkar-Software/.github/.github/workflows/python3_tests_workflow.yml@master
20+
with:
21+
use_full_requirements: true
1922
secrets:
2023
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
2124

2225
publish:
2326
needs: tests
2427
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
2528
uses: Drakkar-Software/.github/.github/workflows/python3_sdist_workflow.yml@master
29+
with:
30+
use_full_requirements: true
2631
secrets:
2732
PYPI_OFFICIAL_UPLOAD_URL: ${{ secrets.PYPI_OFFICIAL_UPLOAD_URL }}
2833
PYPI_USERNAME: __token__

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ include README.md
44
include LICENSE
55
include CHANGELOG.md
66
include requirements.txt
7+
include full_requirements.txt

full_requirements.txt

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Drakkar-Software requirements
2+
OctoBot-Commons[full]>=1.9.88, <1.10
3+
OctoBot-Trading[full]>=2.4.232, <2.5
4+
5+
# Services
6+
# Reddit
7+
asyncpraw==7.8.1
8+
# Telegram
9+
python-telegram-bot==22.3 # update alongside supabase for httpx requirement
10+
telethon==1.24.0
11+
# Twitter (associated tentacles are disabled as starting from feb 9 2023, API is now paid only).
12+
# see https://twitter.com/TwitterDev/status/1621026986784337922
13+
# Python-Twitter==3.5
14+
# Google
15+
simplifiedpytrends>=1.1.2
16+
# Ngrok
17+
pyngrok==7.3.0
18+
# Web
19+
## http server
20+
flask==3.1.1
21+
werkzeug == 3.1.3
22+
# Flask templates
23+
jinja2==3.1.6
24+
## flask minification
25+
flask-compress==1.18
26+
## flask cache
27+
flask-caching==2.3.1
28+
## flask user authentication management
29+
flask-login==0.6.3
30+
## flask CORS management
31+
flask-cors==6.0.1
32+
## user form validators
33+
WTForms==3.2.1
34+
Flask-WTF==1.2.2
35+
## websockets
36+
### used by the webhook service and flask-socketio for the web interface
37+
gevent==25.5.1
38+
### used by flask-socketio with gevent (listed here because multiple libs are usable, force this one)
39+
gevent-websocket==0.10.1
40+
flask-socketio==5.5.1
41+
42+
# Analysis tools
43+
vaderSentiment==3.3.2

requirements.txt

Lines changed: 2 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,7 @@
11
# Drakkar-Software requirements
22
Async-Channel>=2.2, <2.3
3-
OctoBot-Commons>=1.9, <1.10
4-
OctoBot-Trading>=2.4.211, <2.5
3+
OctoBot-Commons>=1.9.88, <1.10
4+
OctoBot-Trading>=2.4.232, <2.5
55

6-
# Services
7-
# Reddit
8-
asyncpraw==7.8.1
9-
# Telegram
10-
python-telegram-bot==22.3 # update alongside supabase for httpx requirement
11-
telethon==1.24.0
12-
# Twitter (associated tentacles are disabled as starting from feb 9 2023, API is now paid only).
13-
# see https://twitter.com/TwitterDev/status/1621026986784337922
14-
# Python-Twitter==3.5
15-
# Google
16-
simplifiedpytrends>=1.1.2
17-
# Ngrok
18-
pyngrok==7.3.0
196
# chatgpt
207
openai==1.99.9
21-
# Web
22-
## http server
23-
flask==3.1.1
24-
werkzeug == 3.1.3
25-
# Flask templates
26-
jinja2==3.1.6
27-
## flask minification
28-
flask-compress==1.18
29-
## flask cache
30-
flask-caching==2.3.1
31-
## flask user authentication management
32-
flask-login==0.6.3
33-
## flask CORS management
34-
flask-cors==6.0.1
35-
## user form validators
36-
WTForms==3.2.1
37-
Flask-WTF==1.2.2
38-
## websockets
39-
### used by the webhook service and flask-socketio for the web interface
40-
gevent==25.5.1
41-
### used by flask-socketio with gevent (listed here because multiple libs are usable, force this one)
42-
gevent-websocket==0.10.1
43-
flask-socketio==5.5.1
44-
45-
# Analysis tools
46-
vaderSentiment==3.3.2

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
DESCRIPTION = f.read()
2727

2828
REQUIRED = open('requirements.txt').readlines()
29+
FULL_REQUIRED = open('full_requirements.txt').readlines()
2930
REQUIRES_PYTHON = '>=3.8'
3031

3132
setup(
@@ -44,6 +45,9 @@
4445
zip_safe=False,
4546
data_files=[],
4647
install_requires=REQUIRED,
48+
extras_require={
49+
'full': FULL_REQUIRED,
50+
},
4751
python_requires=REQUIRES_PYTHON,
4852
classifiers=[
4953
'Development Status :: 5 - Production/Stable',

0 commit comments

Comments
 (0)