From f5a03bb05ca768d907ef0821d26da01640bd1028 Mon Sep 17 00:00:00 2001 From: Lam Le Date: Fri, 1 Nov 2024 11:19:48 +0700 Subject: [PATCH] [f] Upgrade Python version from 3.9 to 3.11 --- .github/workflows/archive.yml | 10 +++++----- .github/workflows/ci.yml | 2 +- .github/workflows/cron.yml | 10 +++++----- Pipfile | 2 +- Pipfile.lock | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/archive.yml b/.github/workflows/archive.yml index 3ed1016..22d57db 100644 --- a/.github/workflows/archive.yml +++ b/.github/workflows/archive.yml @@ -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 @@ -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: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index de7091a..4f0f5ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: strategy: max-parallel: 2 matrix: - python-version: [3.9] + python-version: [3.11] steps: - uses: actions/checkout@v1 diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 5280d67..8b2926e 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -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 @@ -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: | diff --git a/Pipfile b/Pipfile index 45bd4cd..bf724fd 100644 --- a/Pipfile +++ b/Pipfile @@ -21,4 +21,4 @@ isort = "*" black = "*" [requires] -python_version = "3.9" +python_version = "3.11" diff --git a/Pipfile.lock b/Pipfile.lock index 1cac703..9e38ffe 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -5,7 +5,7 @@ }, "pipfile-spec": 6, "requires": { - "python_version": "3.9" + "python_version": "3.11" }, "sources": [ {