Skip to content

Commit

Permalink
Upgrade to python3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
rebkwok committed Oct 20, 2023
1 parent ed2d13f commit fb962e4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ on:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres:12
image: postgres:14
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
Expand All @@ -30,12 +30,12 @@ jobs:
- 5432:5432

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python 3.9
uses: actions/setup-python@v2
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11
cache: pip
cache-dependency-path: requirements.txt

Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ accounts/disclaimers.bu
accounts/test_file.txt
.coverage
provision/.vaultpass
pipsevents.log
pipsevents.log
.venv*/
10 changes: 3 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
#
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile
#
asgiref==3.5.2
# via django
attrs==22.1.0
# via pytest
backports-zoneinfo==0.2.1
# via django
beautifulsoup4==4.11.1
# via -r requirements.in
certifi==2022.9.24
Expand Down Expand Up @@ -177,9 +175,7 @@ static3==0.7.0
stripe==6.4.0
# via -r requirements.in
tomli==2.0.1
# via
# coverage
# pytest
# via pytest
types-cryptography==3.3.23
# via pyjwt
typing-extensions==4.7.1
Expand Down

0 comments on commit fb962e4

Please sign in to comment.