Skip to content

Commit

Permalink
Remove support for Python 3.5 - 3.6 and Django 2.0 - 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gasman committed Mar 14, 2022
1 parent 2ec54b3 commit 8666f16
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,6 @@ jobs:
strategy:
matrix:
include:
- python: "3.5"
django: "Django>=2.0,<2.1"
taggit: "django-taggit>=0.24,<1"
database: "sqlite3"
psycopg: "psycopg2>=2.6,<2.9"
experimental: false
- python: "3.6"
django: "Django>=2.1,<2.2"
taggit: "django-taggit>=0.24,<1"
database: "postgresql"
psycopg: "psycopg2>=2.6,<2.9"
experimental: false
- python: "3.7"
django: "Django>=2.2,<2.3"
taggit: "django-taggit>=1,<1.3"
Expand Down Expand Up @@ -81,10 +69,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install "${{ matrix.psycopg }}"
pip install "${{ matrix.django }}"
pip install "${{ matrix.taggit }}"
pip install -e .
- name: Test
run: ./runtests.py
env:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Changelog
6.0 (14.03.2022)
~~~~~~~~~~~~~~~~
* BREAKING: ClusterForm now builds no child formsets when neither `formsets` nor `exclude_formsets` is specified in the Meta class, rather than building a formset for every child relation (Matt Westcott)
* Removed Python 3.5 and 3.6 support
* Removed Django 2.0 and 2.1 support
* Support explicit definitions for nested formsets within ClusterForm, via a `formsets` option on the outer formset's definition (Matt Westcott)
* Add `inherit_kwargs` attribute to ClusterForm child formsets (Matt Westcott)

Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
packages=find_packages(exclude=('tests*',)),
license='BSD',
long_description=open('README.rst').read(),
python_requires=">=3.5",
python_requires=">=3.7",
install_requires=[
"pytz>=2015.2",
"django>=2.2",
],
extras_require={
'taggit': ['django-taggit>=0.20'],
Expand All @@ -30,8 +31,6 @@
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand Down

0 comments on commit 8666f16

Please sign in to comment.