Skip to content

Drop support for python 3.8 #643

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
max-parallel: 5
matrix:
python-version: [
'3.8',
'3.9',
'3.10',
'3.11',
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ To be released
- Add support for `Python 3.13` (GH-#628)
- Add formal support for `Django 5.2` (GH-#641)
- Drop support for older versions than `Django 4.2`
- Drop support for `Python 3.8`

5.0.0 (2024-09-01)
------------------
Expand Down
5 changes: 3 additions & 2 deletions requirements-mypy.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
mypy==1.10.0
django-stubs==5.0.2
mypy>=1.13.0
django-stubs==5.1.3
pytest
time-machine
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def long_desc(root_path):
maintainer='JazzBand',
url='https://github.com/jazzband/django-model-utils',
packages=find_packages(exclude=['tests*']),
python_requires=">=3.8",
python_requires=">=3.9",
install_requires=['Django>=3.2'],
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand All @@ -39,7 +39,6 @@ def long_desc(root_path):
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
Expand Down
11 changes: 4 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ envlist =

[gh-actions]
python =
3.7: py37
3.8: py38, flake8, isort, mypy
3.9: py39
3.10: py310
3.10: py310, flake8, isort, mypy
3.11: py311
3.12: py312
3.13: py313
Expand Down Expand Up @@ -43,7 +41,7 @@ commands =

[testenv:flake8]
basepython =
python3.8
python3.10
deps =
flake8
skip_install = True
Expand All @@ -58,16 +56,15 @@ ignore =
E501

[testenv:isort]
basepython = python3.8
basepython = python3.10
deps = isort
commands =
isort model_utils tests setup.py --check-only --diff
skip_install = True

[testenv:mypy]
basepython = python3.8
basepython = python3.10
deps =
time-machine==2.8.2
-r requirements-mypy.txt
set_env =
SQLITE=1
Expand Down
Loading