From eadc06a4a0edc4021f8b20fae6e55f3ba2065cbb Mon Sep 17 00:00:00 2001 From: Lam Le Date: Tue, 29 Oct 2024 15:41:23 +0700 Subject: [PATCH 1/2] [f] Upgrade Python version from 3.9 to 3.11 --- .github/workflows/archive.yml | 2 +- .github/workflows/ci.yml | 2 +- Pipfile | 2 +- Pipfile.lock | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/archive.yml b/.github/workflows/archive.yml index a6c1464..90becd9 100644 --- a/.github/workflows/archive.yml +++ b/.github/workflows/archive.yml @@ -7,7 +7,7 @@ on: env: CI: true - PYTHON_VERSION: 3.9 + PYTHON_VERSION: 3.11 PIPENV_VENV_IN_PROJECT: true SCRAPY_SETTINGS_MODULE: city_scrapers.settings.archive AUTOTHROTTLE_MAX_DELAY: 30.0 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef2c754..4ba2190 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.9] + python-version: [3.11] steps: - uses: actions/checkout@v4 diff --git a/Pipfile b/Pipfile index 3eabc48..e0e7aef 100644 --- a/Pipfile +++ b/Pipfile @@ -19,4 +19,4 @@ isort = "*" black = "*" [requires] -python_version = "3.9" +python_version = "3.11" diff --git a/Pipfile.lock b/Pipfile.lock index 4ad8603..2cc819e 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -5,7 +5,7 @@ }, "pipfile-spec": 6, "requires": { - "python_version": "3.9" + "python_version": "3.11" }, "sources": [ { From d6afbcd3758fca99f08d78d531c2169a2f5ca604 Mon Sep 17 00:00:00 2001 From: Lam Le Date: Tue, 29 Oct 2024 16:08:33 +0700 Subject: [PATCH 2/2] [f] Upgrade Python version to 3.11 in cron.yml --- .github/workflows/cron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index b761f83..a2d1c58 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -7,7 +7,7 @@ on: env: CI: true - PYTHON_VERSION: 3.9 + PYTHON_VERSION: 3.11 PIPENV_VENV_IN_PROJECT: true SCRAPY_SETTINGS_MODULE: city_scrapers.settings.prod WAYBACK_ENABLED: true