Skip to content

Commit

Permalink
Merge pull request #39 from asherf/jerry
Browse files Browse the repository at this point in the history
add support for Django 2.0 & python 3.6.  remove support for python 3.4 and old django versions
  • Loading branch information
asherf authored Feb 11, 2018
2 parents 65fea16 + f03a2e6 commit 5795918
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 104 deletions.
45 changes: 34 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,39 @@
language: python
python:
- 2.7
- 3.4
- 3.5
sudo: false
env:
- DJANGO_VERSION_CEILING=1.11 DJANGO_DB_ENGINE=sqlite
- DJANGO_VERSION_CEILING=1.11 DJANGO_DB_ENGINE=postgres DJANGO_DB_NAME=testdb DJANGO_DB_USER=postgres
- DJANGO_VERSION_CEILING=1.11 DJANGO_DB_ENGINE=mysql DJANGO_DB_NAME=testdb DJANGO_DB_USER=travis
- DJANGO_VERSION_CEILING=1.12 DJANGO_DB_ENGINE=sqlite
- DJANGO_VERSION_CEILING=1.12 DJANGO_DB_ENGINE=postgres DJANGO_DB_NAME=testdb DJANGO_DB_USER=postgres
- DJANGO_VERSION_CEILING=1.12 DJANGO_DB_ENGINE=mysql DJANGO_DB_NAME=testdb DJANGO_DB_USER=travis

matrix:
include:
- python: 2.7
env: DJANGO_VERSION_CEILING=1.12 DJANGO_DB_ENGINE=sqlite
- python: 2.7
env: DJANGO_VERSION_CEILING=1.12 DJANGO_DB_ENGINE=postgres DJANGO_DB_NAME=testdb DJANGO_DB_USER=postgres
- python: 2.7
env: DJANGO_VERSION_CEILING=1.12 DJANGO_DB_ENGINE=mysql DJANGO_DB_NAME=testdb DJANGO_DB_USER=travis
- python: 3.5
env: DJANGO_VERSION_CEILING=1.12 DJANGO_DB_ENGINE=sqlite
- python: 3.5
env: DJANGO_VERSION_CEILING=1.12 DJANGO_DB_ENGINE=postgres DJANGO_DB_NAME=testdb DJANGO_DB_USER=postgres
- python: 3.5
env: DJANGO_VERSION_CEILING=1.12 DJANGO_DB_ENGINE=mysql DJANGO_DB_NAME=testdb DJANGO_DB_USER=travis
- python: 3.5
env: DJANGO_VERSION_CEILING=2.1 DJANGO_DB_ENGINE=sqlite
- python: 3.5
env: DJANGO_VERSION_CEILING=2.1 DJANGO_DB_ENGINE=postgres DJANGO_DB_NAME=testdb DJANGO_DB_USER=postgres
- python: 3.5
env: DJANGO_VERSION_CEILING=2.1 DJANGO_DB_ENGINE=mysql DJANGO_DB_NAME=testdb DJANGO_DB_USER=travis
- python: 3.6
env: DJANGO_VERSION_CEILING=1.12 DJANGO_DB_ENGINE=sqlite
- python: 3.6
env: DJANGO_VERSION_CEILING=1.12 DJANGO_DB_ENGINE=postgres DJANGO_DB_NAME=testdb DJANGO_DB_USER=postgres
- python: 3.6
env: DJANGO_VERSION_CEILING=1.12 DJANGO_DB_ENGINE=mysql DJANGO_DB_NAME=testdb DJANGO_DB_USER=travis
- python: 3.6
env: DJANGO_VERSION_CEILING=2.1 DJANGO_DB_ENGINE=sqlite
- python: 3.6
env: DJANGO_VERSION_CEILING=2.1 DJANGO_DB_ENGINE=postgres DJANGO_DB_NAME=testdb DJANGO_DB_USER=postgres
- python: 3.6
env: DJANGO_VERSION_CEILING=2.1 DJANGO_DB_ENGINE=mysql DJANGO_DB_NAME=testdb DJANGO_DB_USER=travis

install:
- pip install "Django<$DJANGO_VERSION_CEILING" mysqlclient psycopg2
- "pip install flake8 pylint pylint-django django-nose"
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Changelog
=========

3.0.0
------------------
- Add support for Python 3.6
- Add support for Django 2.0
- Remove support for Python 3.4
- Remove support for old Django versions
- Remove GIS


2.5.0 (Not released)
------------------
- Added official Python 3 support.
Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


install_requires = (
'Django>=1.10',
'Django>=1.11,<2.1',
)


Expand Down Expand Up @@ -70,7 +70,7 @@ def run_tests(self):

setup(
name='django-livefield',
version='2.8.0',
version='3.0.0',
description='Convenient soft-deletion support for Django models',
long_description=(
open('README.rst').read() + '\n\n' +
Expand All @@ -84,9 +84,8 @@ def run_tests(self):
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='python django soft-delete',
url='https://github.com/hearsaycorp/django-livefield',
Expand Down
10 changes: 0 additions & 10 deletions src/livefield/gis/__init__.py

This file was deleted.

20 changes: 0 additions & 20 deletions src/livefield/gis/managers.py

This file was deleted.

32 changes: 0 additions & 32 deletions src/livefield/gis/models.py

This file was deleted.

27 changes: 0 additions & 27 deletions src/livefield/gis/querysets.py

This file was deleted.

0 comments on commit 5795918

Please sign in to comment.