diff --git a/.travis.yml b/.travis.yml index 5adb1906..27d6ecc0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ sudo: true language: python +dist: bionic env: - MOZ_HEADLESS=1 @@ -11,6 +12,7 @@ services: python: - "3.6" + - "3.7" before_install: - wget https://github.com/mozilla/geckodriver/releases/download/v0.20.1/geckodriver-v0.20.1-linux64.tar.gz - tar -xzvf geckodriver-v0.20.1-linux64.tar.gz diff --git a/requirements/dev.txt b/requirements/dev.txt index 2ddf2612..f7982410 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,15 +1,15 @@ -r prod.txt -Sphinx==1.6.5 -coverage==4.4.1 -django-nose==1.4.5 +Sphinx==3.1.2 +coverage==5.2 +django-nose==1.4.6 flake8==3.8.3 -sphinx-rtd-theme==0.2.4 -pylint==1.9.0 -pytest==3.5.1 -pytest-cov==2.5.1 -pytest-django==3.2.1 -pytest-pylint==0.9.0 -selenium==3.12.0 +sphinx-rtd-theme==0.5.0 +pylint==2.5.3 +pytest==5.4.3 +pytest-cov==2.10.0 +pytest-django==3.9.0 +pytest-pylint==0.17.0 +selenium==3.141.0 djangorestframework==3.11.0 -geopy==1.15.0 +geopy==2.0.0 pinax-notifications==6.0.0 diff --git a/requirements/prod.txt b/requirements/prod.txt index 7ff91174..656364cb 100644 --- a/requirements/prod.txt +++ b/requirements/prod.txt @@ -6,9 +6,8 @@ django-cities-light==3.6.0 django-ckeditor==5.9.0 django-crispy-forms==1.9.2 django-guardian==2.3.0 -django-imagekit==4.0.1 -psycopg2==2.7.3.2 -python3-openid==3.1.0 +django-imagekit==4.0.2 +psycopg2==2.8.5 +python3-openid==3.2.0 geoip2==3.0.0 django-ipware==3.0.0 - diff --git a/systers_portal/meetup/views.py b/systers_portal/meetup/views.py index b6f97033..eae68d9d 100644 --- a/systers_portal/meetup/views.py +++ b/systers_portal/meetup/views.py @@ -791,7 +791,7 @@ def post(self, request): unit = '' for meetup in searched_meetups: distance = '' - geolocator = Nominatim(timeout=6) + geolocator = Nominatim(user_agent="Anita-B Portal", timeout=6) g = GeoIP2() if location == "Current Location": client_ip, is_routable = get_client_ip(request)