Skip to content

Commit

Permalink
Revert "Upgrade to python 3.12"
Browse files Browse the repository at this point in the history
This reverts commit a460bd6.

Django<4.2 doesn't support python 3.12.
  • Loading branch information
danlamanna committed Dec 16, 2023
1 parent d324406 commit 80f22eb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.12"
python-version: "3.11"
- name: Install tox
run: |
pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion dev/django.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12-slim
FROM python:3.11-slim
# Install system librarires for Python packages:
# * libmagic1
# * psycopg2
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 100
target-version = ["py312"]
target-version = ["py311"]
exclude='\.eggs|\.git|\.mypy_cache|\.tox|\.venv|_build|buck-out|build|dist'

[tool.isort]
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.1
python-3.11.5
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python",
],
python_requires=">=3.12",
python_requires=">=3.11",
packages=find_packages(),
include_package_data=True,
install_requires=[
Expand Down

0 comments on commit 80f22eb

Please sign in to comment.