Skip to content

Commit 668650c

Browse files
committed
Remove older Django and Python versions and improvements
* Drop support to Python 2 and Python < 3.5 that are unmaintained and insecure. * Drop support to Django < 2.2 that also reach end of mainstream support (insecure). * Drop included jQuery version used in favor of built-in `django.jQuery` in Django that is more up to date and maintained by Django, making also the library less vulnerable. * Fix margin in "chips", specially margin top was 0, making it ugly. * Fix Tox and Selenium configurations. Replace PhantomJS with Chrome (PhantomJS support was removed in newer versions of Selenium). * Replace Travis CI with GitHub Actions: Travis is fading out its commitment with OSS, making the service for no-paid projects each time slower and less available. On the other hand GH Actions is free and fast even for OSS projects. * Remove IDE configurations that are "user" related.
1 parent 391e677 commit 668650c

27 files changed

+85
-747
lines changed

.github/workflows/python-tox.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Python package
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: ['3.5', '3.10']
11+
12+
steps:
13+
- uses: actions/checkout@v1
14+
- name: Set up Python ${{ matrix.python-version }}
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip setuptools wheel
21+
python -m pip install tox tox-gh-actions
22+
- name: Test with tox
23+
run: tox

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ __pycache__/
99
.Python
1010
env/
1111
.env/
12+
venv/
13+
.venv/
1214
build/
1315
develop-eggs/
1416
dist/

.idea/.name

Lines changed: 0 additions & 1 deletion
This file was deleted.

.idea/django-searchable-select.iml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.idea/misc.xml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.idea/modules.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.idea/vcs.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)