Skip to content

Commit

Permalink
update python, pip, poetry for version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebamus committed Jul 8, 2024
1 parent 4ec85d3 commit 1e58d19
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 92 deletions.
10 changes: 5 additions & 5 deletions docker/gunicorn/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ RUN ln -s /usr/local/bin/python3.12.4 /usr/local/bin/python3

ENV PYTHONUNBUFFERED 1

# create links to pip3.11
RUN ln -s /usr/local/bin/pip3.11 /usr/bin/pip
RUN ln -s /usr/local/bin/pip3.11 /usr/bin/pip3
RUN ln -s /usr/local/bin/pip3.11 /usr/local/bin/pip
RUN ln -s /usr/local/bin/pip3.11 /usr/local/bin/pip3
# create links to pip3.12
RUN ln -s /usr/local/bin/pip3.12 /usr/bin/pip
RUN ln -s /usr/local/bin/pip3.12 /usr/bin/pip3
RUN ln -s /usr/local/bin/pip3.12 /usr/local/bin/pip
RUN ln -s /usr/local/bin/pip3.12 /usr/local/bin/pip3

#update apt-get
RUN apt-get update && apt-get -y upgrade
Expand Down
12 changes: 7 additions & 5 deletions docker/uwsgi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ RUN ln -s /usr/local/bin/python3.12.4 /usr/bin/python3
RUN ln -s /usr/local/bin/python3.12.4 /usr/local/bin/python
RUN ln -s /usr/local/bin/python3.12.4 /usr/local/bin/python3

# create links to pip3.11
RUN ln -s /usr/local/bin/pip3.11 /usr/bin/pip
RUN ln -s /usr/local/bin/pip3.11 /usr/bin/pip3
RUN ln -s /usr/local/bin/pip3.11 /usr/local/bin/pip
RUN ln -s /usr/local/bin/pip3.11 /usr/local/bin/pip3
ENV PYTHONUNBUFFERED 1

# create links to pip3.12
RUN ln -s /usr/local/bin/pip3.12 /usr/bin/pip
RUN ln -s /usr/local/bin/pip3.12 /usr/bin/pip3
RUN ln -s /usr/local/bin/pip3.12 /usr/local/bin/pip
RUN ln -s /usr/local/bin/pip3.12 /usr/local/bin/pip3

# update apt-get
RUN apt-get update && apt-get -y upgrade
Expand Down
81 changes: 0 additions & 81 deletions www/django_sample/poetry.lock

This file was deleted.

2 changes: 1 addition & 1 deletion www/django_sample/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["bluebamus <bluebamus@naver.com>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.10"
python = "^3.12.4"
django = "^5.0.3"


Expand Down

0 comments on commit 1e58d19

Please sign in to comment.