moving to python 3.12

This commit is contained in:
2024-09-03 18:24:36 -04:00
parent 75548025d7
commit 0fe306ff51
22 changed files with 26 additions and 85 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM python:3.12-slim
ARG FROM_DIR=docker_dev/market_data/alpaca_md_day
+1 -1
View File
@@ -2,7 +2,7 @@
# --- Settings
export PYTHONPATH=/
export Python=python3.10
export Python=python3.12
export Config=http://cloud16.cvtt.vpn:6789/apps/minimal_md
export PyScript=/cvttpy/exchanges/alpaca/hist_md/hist_md_bars.py
+2 -2
View File
@@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM python:3.12-slim
ARG FROM_DIR=docker_dev/market_data/crypto_md_day
@@ -14,7 +14,7 @@ RUN pip install -r /requirements.txt --root-user-action=ignore
RUN apt-get update && apt-get install -y \
libpq-dev \
build-essential
build-essential
RUN apt-get update && apt-get install -y rsync openssh-client
COPY docker_dev/shared/id_rsa /root/.ssh/id_rsa
+1 -1
View File
@@ -50,7 +50,7 @@ fi
export PYTHONPATH=/
Cmd="python3.10"
Cmd="python3.12"
Cmd="${Cmd} cvttpy/research/utils/archive_ts_md.py"
Cmd="${Cmd} --config=http://cloud16.cvtt.vpn:6789/apps/md_recorder"
Cmd="${Cmd} --db_credentials_key=${CredKey}"
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM python:3.12-slim
ARG FROM_DIR=docker_dev/market_data/md_portal
+1 -1
View File
@@ -51,7 +51,7 @@ while getopts ":C:c:e:a:n:" opt; do
done
Cmd="python3.10"
Cmd="python3.12"
Cmd="${Cmd} cvttpy/apps/md/md_portal.py"
Cmd="${Cmd} --config=http://${ConfigServer}/${Config}"
Cmd="${Cmd} --credentials_file=/.creds"
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM python:3.12-slim
ARG FROM_DIR=docker_dev/market_data/md_recorder
+1 -1
View File
@@ -29,7 +29,7 @@ fi
# ConfigServer=cloud16.cvtt.vpn
ConfigServer=cloud23.cvtt.vpn:6789
Cmd="python3.10"
Cmd="python3.12"
Cmd="${Cmd} cvttpy/apps/md/md_recorder.py"
Cmd="${Cmd} --config=http://${ConfigServer}/apps/md_recorder"
Cmd="${Cmd} --credentials_file=/.creds"
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM python:3.12-slim
ARG FROM_DIR=docker_dev/market_data/md_recorder_monitor
@@ -35,7 +35,7 @@ fi
# ConfigServer=cloud16.cvtt.vpn
ConfigServer=cloud23.cvtt.vpn:6789
Cmd="python3.10"
Cmd="python3.12"
Cmd="${Cmd} cvttpy/apps/md/md_rec_monitor.py"
Cmd="${Cmd} --config=http://${ConfigServer}/apps/md_rec_monitor"
Cmd="${Cmd} --db=${Instance}"
+2 -2
View File
@@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM python:3.12-slim
WORKDIR /
COPY docker_dev/relative_liquidity/requirements.txt /
@@ -13,7 +13,7 @@ RUN mkdir /logs
ENV PYTHONPATH=/
CMD [ \
"python3.10", \
"python3.12", \
"cvttpy/apps/md/rel_lqdt_server.py", \
"--port=5678", \
"--db_file=/app/data/rel_liquidity.db", \