Skip to content

Commit

Permalink
Drop support for Python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
hramezani committed Aug 17, 2022
1 parent c795bbe commit 22ead53
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10']

services:
postgres:
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Unreleased
- Add Spanish translation
- Add French translation
- Drop support for `Django < 3.2`
- Drop support for `Python 3.6`

4.2.0 (2021-10-11)
------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ Dependencies
============

``django-model-utils`` supports `Django`_ 3.2+ (latest bugfix
release in each series only) on Python 3.6+.
release in each series only) on Python 3.7+.

.. _Django: http://www.djangoproject.com/
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +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.7",
install_requires=['Django>=3.2'],
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand All @@ -38,7 +39,6 @@ def long_desc(root_path):
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[tox]
envlist =
py{36,37,38,39,310}-dj32
py{37,38,39,310}-dj32
py{38,39,310}-dj{40,main}
flake8
isort

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38, flake8, isort
3.9: py39
Expand Down

0 comments on commit 22ead53

Please sign in to comment.