Skip to content

Commit

Permalink
ZDL-125: Python upgrade 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanAquino committed Aug 11, 2024
1 parent 251fee1 commit abf9696
Show file tree
Hide file tree
Showing 6 changed files with 618 additions and 714 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/django-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
SCA:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12.4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -42,11 +42,11 @@ jobs:
ports:
- 5432:5432
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12.4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Zadala API is an ecommerce web API built with django rest framework.

### Requirements
- python 3
- poetry
- docker
- docker-compose

Expand All @@ -24,11 +25,11 @@ Zadala API is an ecommerce web API built with django rest framework.
### Setup
##### create virtual environment
```
python -m venv venv
poetry shell
```
##### Install required packages
```
pip install -r requirements.txt
poetry install
```
##### Edit `zadala_config.py` base on your needs
```
Expand Down
2 changes: 1 addition & 1 deletion deployments/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8
FROM python:3.12.5

ENV PYTHONUNBUFFERED 1

Expand Down
Loading

0 comments on commit abf9696

Please sign in to comment.