From 820130a2fdbb2ea340f7c365cb4d7c0f458384ed Mon Sep 17 00:00:00 2001 From: John Whitlock Date: Tue, 30 Jan 2024 10:01:18 -0600 Subject: [PATCH] Update to Python 3.11.7 --- .circleci/config.yml | 11 +---------- .github/workflows/lint-pending-strings.yml | 2 +- Dockerfile | 2 +- README.md | 2 +- pyproject.toml | 2 +- runtime.txt | 2 +- 6 files changed, 6 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index eb20ab0e6e..bc6e2406ad 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -61,7 +61,7 @@ executors: parameters: &python_parameters python_version: description: "python version tag" - default: "3.10.13" + default: "3.11.7" type: string variant: description: "image variant" @@ -680,15 +680,6 @@ workflows: allow_fail: true filters: *default_filters - - python_job: - name: python 3.11 test - python_version: "3.11" - command: pytest - pytest_fail_fast: true - test_results_filename: pytest-python-3-11.xml - allow_fail: true - filters: *default_filters - - python_job: name: python 3.12 test python_version: "3.12" diff --git a/.github/workflows/lint-pending-strings.yml b/.github/workflows/lint-pending-strings.yml index e8f75cc4dc..590a60e817 100644 --- a/.github/workflows/lint-pending-strings.yml +++ b/.github/workflows/lint-pending-strings.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Python 3 uses: actions/setup-python@v5.0.0 with: - python-version: '3.10' + python-version: '3.11' cache: 'pip' - name: Install Python dependencies run: | diff --git a/Dockerfile b/Dockerfile index ca3a9fb8de..f41777a09f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10.13 +FROM python:3.11.7 ARG CIRCLE_BRANCH ARG CIRCLE_SHA1 diff --git a/README.md b/README.md index 33683d0511..1bd0ea3dcd 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Please refer to our [coding standards](docs/coding-standards.md) for code styles ### Requirements -- python 3.10 (we recommend [virtualenv](https://docs.python-guide.org/dev/virtualenvs/)) +- python 3.11 (we recommend [virtualenv](https://docs.python-guide.org/dev/virtualenvs/)) - PostgreSQL - even if you are using sqlite for development, requirements.txt installs psycopg2 which [requires libpq](https://www.psycopg.org/docs/install.html#build-prerequisites) and Python header files. The following should work: diff --git a/pyproject.toml b/pyproject.toml index cd964da96b..b261ef5023 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ plugins = ["mypy_django_plugin.main"] mypy_path = "$MYPY_CONFIG_FILE_DIR/mypy_stubs" exclude = "env" -python_version = "3.10" +python_version = "3.11" show_error_codes = true strict = true diff --git a/runtime.txt b/runtime.txt index 5fa6f4127a..1f79d441fe 100644 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.10.13 +python-3.11.7