Merge pull request #629 from CartoDB/development

This commit is contained in:
Moisés Calzado 2022-09-05 13:27:00 +02:00 committed by GitHub
commit 6815399155
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 7 deletions

View File

@ -8,7 +8,7 @@ jobs:
matrix:
pg_version: [10, 12]
env:
PG_VERSION: ${{ matrix.pg_version }}
PG_VERSION: ${{ matrix.pg_version }}
steps:
- uses: actions/checkout@v1
@ -21,7 +21,7 @@ jobs:
service_account_key: ${{ secrets.GCS }}
- name: Pull base image
run: gcloud auth configure-docker && docker pull gcr.io/cartodb-on-gcp-ci-testing/cartodb-postgresql-base:${{ matrix.pg_version }}
run: docker pull gcr.io/cartodb-on-gcp-ci-testing/cartodb-postgresql-base:${{ matrix.pg_version }}
- name: Checkout ci tools repository
uses: actions/checkout@v2
@ -46,9 +46,9 @@ jobs:
- name: Run python library tests
run: docker-compose -f docker-compose.yaml exec -T postgres-server bash -c "cd /dataservices-api/server/ && MAPBOX_API_KEY=$MAPBOX_API_KEY TOMTOM_API_KEY=$TOMTOM_API_KEY GEOCODIO_API_KEY=$GEOCODIO_API_KEY nosetests lib/python/cartodb_services/test"
env:
MAPBOX_API_KEY: ${{ secrets.MAPBOX_API_KEY }}
TOMTOM_API_KEY: ${{ secrets.TOMTOM_API_KEY }}
GEOCODIO_API_KEY: ${{ secrets.GEOCODIO_API_KEY }}
MAPBOX_API_KEY: ${{ secrets.MAPBOX_API_KEY }}
TOMTOM_API_KEY: ${{ secrets.TOMTOM_API_KEY }}
GEOCODIO_API_KEY: ${{ secrets.GEOCODIO_API_KEY }}
timeout-minutes: 5
- name: Run server tests

View File

@ -1,3 +1,8 @@
Sep 5th, 2022
==============
* Version `0.24.2` of the Python library
* Fix error calculating isolines with HERE
May 26th, 2021
==============
* Version `0.40.1` of the server extension

View File

@ -345,6 +345,9 @@ class HereMapsRoutingIsolineV8(Traceable):
mode_params.update({'routingmode': mode_type})
if not ('mode_traffic' in options and options['mode_traffic'] == 'enabled'):
mode_params.update({'departuretime': 'any'})
if 'is_destination' in options and options['is_destination'].lower() == 'true':
mode_params.update({'arrivaltime': 'any'})
else:
mode_params.update({'departuretime': 'any'})
return mode_params

View File

@ -10,7 +10,7 @@ from setuptools import setup, find_packages
setup(
name='cartodb_services',
version='0.24.1',
version='0.24.2',
description='CartoDB Services API Python Library',