Skip to content

Commit

Permalink
Revert Python 3.12.7 to 3.11.8
Browse files Browse the repository at this point in the history
This reverts commit cb75394,
which is suspected to slowdown email processing.
  • Loading branch information
jwhitlock committed Dec 6, 2024
1 parent 68c0e2a commit 7e18ab0
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 8 deletions.
9 changes: 8 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ executors:
parameters: &python_parameters
python_version:
description: "python version tag"
default: "3.12.7"
default: "3.11.8"
type: string
variant:
description: "image variant"
Expand Down Expand Up @@ -679,6 +679,13 @@ workflows:
update_dependency: "Django>=5.0,<5.1"
filters: *default_filters

- python_job:
name: python 3.12 test
python_version: "3.12.7"
command: pytest
test_results_filename: pytest-python-3-12.xml
filters: *default_filters

- python_job:
name: python 3.13 test
python_version: "3.13"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-glean-parser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Python 3
uses: actions/[email protected]
with:
python-version: '3.12'
python-version: '3.11'
cache: 'pip'
- name: Install Python dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-pending-strings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Python 3
uses: actions/[email protected]
with:
python-version: '3.12'
python-version: '3.11'
cache: 'pip'
- name: Install Python dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.7
FROM python:3.11.10

ARG CIRCLE_BRANCH
ARG CIRCLE_SHA1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Please refer to our [coding standards](docs/coding-standards.md) for code styles

### Requirements

- python 3.12 (we recommend [venv](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/))
- python 3.11 (we recommend [venv](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/))
- 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:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
requires-python = ">= 3.12"
requires-python = ">= 3.11"

[tool.coverage.report]
omit = [
Expand Down Expand Up @@ -28,7 +28,7 @@ django_settings_module = "privaterelay.settings"
exclude = "env"
mypy_path = "$MYPY_CONFIG_FILE_DIR/mypy_stubs"
plugins = ["mypy_django_plugin.main"]
python_version = "3.12"
python_version = "3.11"
show_error_codes = true
strict = true

Expand Down
2 changes: 1 addition & 1 deletion runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.12.7
python-3.11.10

0 comments on commit 7e18ab0

Please sign in to comment.