Skip to content

Commit

Permalink
Drop Python 3.8 support (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz authored Oct 12, 2024
1 parent d5192ae commit 92eb989
Show file tree
Hide file tree
Showing 14 changed files with 8 additions and 1,654 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
strategy:
matrix:
python-version:
- 3.8
- 3.9
- '3.10'
- '3.11'
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
rev: v3.17.0
hooks:
- id: pyupgrade
args: [--py38-plus]
args: [--py39-plus]
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.21.0
hooks:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Changelog
=========

* Drop Python 3.8 support.

* Support Python 3.13.

2.13.0 (2024-06-19)
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ For a bit of background, see the `introductory blog post <https://adamj.eu/tech/
Requirements
============

Python 3.8 to 3.13 supported.
Python 3.9 to 3.13 supported.

Django 3.2 to 5.1 supported.

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ keywords = [
authors = [
{ name = "Adam Johnson", email = "[email protected]" },
]
requires-python = ">=3.8"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django :: 3.2",
Expand All @@ -29,7 +29,6 @@ classifiers = [
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
4 changes: 2 additions & 2 deletions src/django_linear_migrations/apps.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
from __future__ import annotations

import pkgutil
from collections.abc import Generator
from collections.abc import Iterable
from functools import lru_cache
from importlib import import_module
from importlib import reload
from pathlib import Path
from types import ModuleType
from typing import Generator
from typing import Iterable

from django.apps import AppConfig
from django.apps import apps
Expand Down
Loading

0 comments on commit 92eb989

Please sign in to comment.