Skip to content

Commit

Permalink
Merge pull request #95 from asyncee/issue-94-drop-end-of-life-django-…
Browse files Browse the repository at this point in the history
…and-python

Drop end of life Django and Python (fixes #94)
  • Loading branch information
asyncee committed Dec 24, 2021
2 parents c14750e + f5551fd commit fd83a20
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/run_tox.yml
Expand Up @@ -16,12 +16,10 @@ jobs:
strategy:
matrix:
python-version:
- 3.5
- 3.6
- 3.7
- 3.8 # includes tox env about code coverage
- 3.9
- '3.10'
- 3.7 # oldest supported version
# - 3.8 # no particial need
# - 3.9 # no particial need
- '3.10' # includes tox env about code coverage

steps:
- uses: actions/checkout@v2.4.0
Expand Down
5 changes: 4 additions & 1 deletion README.rst
Expand Up @@ -6,11 +6,14 @@ in admin.
|python| |pypi| |github-actions| |coveralls| |license|


Project aims to support 3.4+ and Django 2.0+.
Project aims to support Python 3.7+ and Django 2.2+.

For **Django < 2.0** version support or **python-2.x** compatibility, please use version **1.3.4** which is
the last version to support **python-2.x** compatibility.

For **Django 2.0/2.1** version support or **Python 3.5/3.6** compatibility, please use version **1.5.7** which is
the last version to support **Django 2.0/2.1** and **Python 3.5/3.6** compatibility.

This django library is just a lightweight wrapper on `Select2` library
and provides easy-to-use basic select2 functionality in a django project.
If you need feature-rich solution, i recommend you to look at the latest
Expand Down
6 changes: 6 additions & 0 deletions setup.py
Expand Up @@ -51,6 +51,12 @@ def run_tests(self):
keywords="django select2",
url='https://github.com/asyncee/django-easy-select2',
download_url='https://pypi.python.org/pypi/django-easy-select2/',

python_requires='>=3.7',
install_requires=[
'Django>=2.2',
],

classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
Expand Down
16 changes: 5 additions & 11 deletions tox.ini
@@ -1,11 +1,8 @@
[tox]
# No particular need for Python 3.8 and 3.9
envlist =
py35-{django20,django21,django22},
py36-{django20,django21,django22,django30},
py37-{django20,django21,django22,django30},
py38-{django20,django21,django22,django30,coverage},
py39-{django30,django32,django40},
py310-{django32,django40},
py37-django22,
py310-{django32,django40,coverage},

[base]
deps =
Expand All @@ -19,19 +16,16 @@ setenv =
[testenv]
deps =
{[base]deps}
django20: django>=2.0,<2.1
django21: django>=2.1,<2.2
django22: django>=2.2,<2.3
django30: django>=3.0,<3.1
django32: django>=3.2,<3.3
django40: django>=4.0,<4.1
commands = py.test tests
setenv = {[base]setenv}

[testenv:py38-coverage]
[testenv:py310-coverage]
deps =
{[base]deps}
django==3.0
django
coverage
coveralls
commands =
Expand Down

0 comments on commit fd83a20

Please sign in to comment.