Skip to content

Commit

Permalink
Drop support for Django 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Osvaldo Barrera authored and WhyNotHugo committed Oct 19, 2023
1 parent 8455648 commit 5a24d3f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
max-parallel: 5
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
django-version: ['2.2', '3.2', '4.1', '4.2', 'main']
django-version: ['3.2', '4.1', '4.2', 'main']

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ Changelog
This file contains a brief summary of new features and dependency changes or
releases, in reverse chronological order.

v2.1.0
v3.0.0
------
- **BREAKING**: Dropped support for Django 2.2.
- Stripe backends now sends order_id in the metadata parameter.
- A new ``StripeProviderV3`` has been added using the latest Stripe API.
- Added support for Python 3.11, Django 4.1 and Django 4.2.
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
include_package_data=True,
classifiers=[
"Environment :: Web Environment",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
Expand All @@ -56,7 +55,7 @@
"Topic :: Software Development :: Libraries :: Python Modules",
],
install_requires=[
"Django>=2.2",
"Django>=3.0",
"requests>=1.2.0",
"django-phonenumber-field[phonenumberslite]>=5.0.0",
],
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{38,39}-dj{22,30,31,32}
py{38,39}-dj{30,31,32}
py{38,39,310}-dj40
py{38,39,310,311}-dj{41,42}
py{310,311,312}-djmain
Expand All @@ -14,7 +14,6 @@ ignore_errors =
djmain: True
deps=
coverage
dj22: Django>=2.2,<3.0
dj30: Django>=3.0,<3.1
dj31: Django>=3.1,<3.2
dj32: Django>=3.2,<3.3
Expand Down Expand Up @@ -47,7 +46,6 @@ python =

[gh-actions:env]
DJANGO =
2.2: dj22
3.0: dj30
3.1: dj31
3.2: dj32
Expand Down

0 comments on commit 5a24d3f

Please sign in to comment.