Skip to content

Commit b79ffaa

Browse files
authored
Merge pull request #974 from netenglabs/upgrade-uvicorn-and-python
Upgrade uvicorn to 0.15.0 and bump up python version in Dockerfile
2 parents 96c4f92 + df811ec commit b79ffaa

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ RUN python3 -m pip install --no-cache-dir /tmp/suzieq-$version-py3-none-any.whl
2222
rm -rf /tmp/* /var/tmp/*
2323

2424
VOLUME [ "/home/$username/parquet" ]
25-
26-
ENV PATH=/root/.local/bin:$PATH:/root/.local/lib/python3.7/site-packages/suzieq/cli/:/root/.local/lib/python3.7/site-packages/suzieq/poller/:/root/.local/lib/python3.7/site-packages/suzieq/restServer
25+
26+
ENV PATH=/root/.local/bin:$PATH:/root/.local/lib/python3.9/site-packages/suzieq/cli/:/root/.local/lib/python3.9/site-packages/suzieq/poller/:/root/.local/lib/python3.9/site-packages/suzieq/restServer
2727

2828
ENV SQENV=docker
2929

Dockerfile-sqbase

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.8.14-slim-buster AS sqbase
1+
FROM python:3.9.21-slim-bullseye AS sqbase
22

33
ENV PATH=/root/.local/bin:$PATH
44
ENV PYTHONPATH=/root/.local/lib

build/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ python-dateutil==2.8.2 ; python_full_version > "3.8.1" and python_version < "3.1
111111
python-dotenv==0.19.2 ; python_full_version > "3.8.1" and python_version < "3.10"
112112
python-nubia==0.2b5 ; python_full_version > "3.8.1" and python_version < "3.10"
113113
pytz==2023.3 ; python_full_version > "3.8.1" and python_version < "3.10"
114+
pyvmomi==8.0.2.0.1 ; python_full_version > "3.8.1" and python_version < "3.10"
114115
pywin32==306 ; sys_platform == "win32" and platform_python_implementation != "PyPy" and python_full_version > "3.8.1" and python_version < "3.10"
115116
pywinpty==2.0.11 ; python_full_version > "3.8.1" and python_version < "3.10" and os_name == "nt"
116117
pyyaml==6.0 ; python_full_version > "3.8.1" and python_version < "3.10"
@@ -145,7 +146,7 @@ typing-extensions==4.7.1 ; python_full_version > "3.8.1" and python_version < "3
145146
typing-inspect==0.9.0 ; python_full_version > "3.8.1" and python_version < "3.10"
146147
tzlocal==2.1 ; python_full_version > "3.8.1" and python_version < "3.10"
147148
urllib3==1.26.16 ; python_full_version > "3.8.1" and python_version < "3.10"
148-
uvicorn==0.14.0 ; python_full_version > "3.8.1" and python_version < "3.10"
149+
uvicorn==0.15.0 ; python_full_version > "3.8.1" and python_version < "3.10"
149150
uvloop==0.17.0 ; python_full_version > "3.8.1" and python_version < "3.10"
150151
validators==0.20.0 ; python_full_version > "3.8.1" and python_version < "3.10"
151152
watchdog==3.0.0 ; python_full_version > "3.8.1" and python_version < "3.10" and platform_system != "Darwin"

poetry.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ faker = "~4.18"
3434
netconan = "~0.11.2"
3535
jsonpath-ng = "~1.6"
3636
fastapi = "~0.95.2"
37-
uvicorn = "^0.14.0"
37+
uvicorn = "^0.15.0"
3838
tabulate = "^0.8.7"
3939
streamlit = "1.11.1"
4040
graphviz = "^0.15"

0 commit comments

Comments
 (0)