Skip to content

Commit

Permalink
Merge pull request #119 from City-Bureau/feature/upgrade-python-version
Browse files Browse the repository at this point in the history
[f] Upgrade Python version from 3.9 to 3.11
  • Loading branch information
lamle-ea authored Nov 1, 2024
2 parents 11270ce + f5a03bb commit 99b2de5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
sudo openvpn --config /etc/openvpn/ovpn.conf --daemon
sleep 120
- name: Set up Python 3.9
- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: 3.9
python-version: 3.11

- name: Install Pipenv
uses: dschep/install-pipenv-action@v1
Expand All @@ -43,15 +43,15 @@ jobs:
uses: actions/cache@v1
with:
path: .venv
key: pip-3.9-${{ hashFiles('**/Pipfile.lock') }}
key: pip-3.11-${{ hashFiles('**/Pipfile.lock') }}
restore-keys: |
pip-3.9-
pip-3.11-
pip-
- name: Install dependencies
run: pipenv sync
env:
PIPENV_DEFAULT_PYTHON_VERSION: 3.9
PIPENV_DEFAULT_PYTHON_VERSION: 3.11

- name: Run scrapers
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
max-parallel: 2
matrix:
python-version: [3.9]
python-version: [3.11]

steps:
- uses: actions/checkout@v1
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
sudo openvpn --config /etc/openvpn/ovpn.conf --daemon
sleep 120
- name: Set up Python 3.9
- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: 3.9
python-version: 3.11

- name: Install Pipenv
uses: dschep/install-pipenv-action@v1
Expand All @@ -48,15 +48,15 @@ jobs:
uses: actions/cache@v1
with:
path: .venv
key: pip-3.9-${{ hashFiles('**/Pipfile.lock') }}
key: pip-3.11-${{ hashFiles('**/Pipfile.lock') }}
restore-keys: |
pip-3.9-
pip-3.11-
pip-
- name: Install dependencies
run: pipenv sync
env:
PIPENV_DEFAULT_PYTHON_VERSION: 3.9
PIPENV_DEFAULT_PYTHON_VERSION: 3.11

- name: Set up playwright
run: |
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ isort = "*"
black = "*"

[requires]
python_version = "3.9"
python_version = "3.11"
2 changes: 1 addition & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 99b2de5

Please sign in to comment.