Skip to content

Commit

Permalink
add python 310 and django 3.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
cyolveren committed Oct 26, 2023
1 parent 86f1c4f commit 00257c8
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

version: 2
jobs:
py36-tests: &test-template
py310-tests: &test-template
docker:
- image: circleci/python:3.6
- image: circleci/python:3.10
environment:
- TOX_ENV=py36-django30
- TOX_ENV=py310-django32
steps:
- checkout
- run:
Expand All @@ -22,4 +22,4 @@ workflows:
version: 2
pr-checks:
jobs:
- py36-tests
- py310-tests
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ django-geosimple [![travis][travis-image]][travis-url] [![pypi][pypi-image]][pyp
### Supports

- Python 2.7, 3.4, 3.6
- Django 3.0.14
- Python 2.7, 3.4, 3.6, 3.8, 3.9, 3.10
- Django 3.2.22


GeoDjango is an incredibly powerful set of extensions to Django for handling complex geospatial data. However, it has a long list of prerequisites (a spatial database such as PostgreSQL with PostGIS, GEOS, a specialised database backend, etc). For many projects that have only basic geospatial requirements, the overhead of getting GeoDjango up and running is painful.
Expand Down
2 changes: 1 addition & 1 deletion geosimple/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
from geopy.distance import Distance


__version__ = '1.2.0'
__version__ = '2.0.0'
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Django==3.0.14
geopy==1.11.0
Django==3.2.22
geopy==2.3.0
python-geohash==0.8.5
flake8==3.0.4
flake8==6.1.0
coverage==4.2
six>=1.10.0
4 changes: 2 additions & 2 deletions requirements/requirements-tests.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
geopy==1.11.0
geopy==2.3.0
python-geohash==0.8.5
flake8==3.0.4
flake8==6.1.0
coverage==4.2
six==1.10.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
author = 'Jamie Matthews'
author_email = '[email protected]'
license = 'BSD'
install_requires = ['geopy==1.11.0', 'python-geohash==0.8.5', 'six>=1.10.0']
install_requires = ['geopy==2.3.0', 'python-geohash==0.8.5', 'six>=1.10.0']


def get_version(package):
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tox]
envlist =
{py34, py36}-django{30},
{py34, py36, py38, py39, py310}-django{32},

[testenv]
commands = python runtests.py
setenv =
PYTHONDONTWRITEBYTECODE=1
deps =
-rrequirements/requirements-tests.txt
django30: Django==3.0.14
django32: Django==3.2.22

0 comments on commit 00257c8

Please sign in to comment.