Skip to content

Use channel instead of explicit version for GMap API? #12112

@bryevdv

Description

@bryevdv

Apparently Google has gotten much more aggressive about completely decommissioning "old" API versions (i.e they stop working entirely). Apparently the default version in 2.4.2 is now de-activated:

https://stackoverflow.com/questions/72056488/plot-points-in-google-map-with-python-with-google-api

Meaning that gmap now no-longer works at all out of the box in any released version of Bokeh.

I guess nowadays there are "release channels" that can be asked for instead:

https://developers.google.com/maps/documentation/javascript/versions#quarterly-updates

So we could use api_version = "quarterly" as a default, instead of a pinned version. The risk there is that some new update from Google is incompatible with our current internal implementation. I am not sure what the best solution is here. It's pretty aggravating that a company with the vast resources of Google won't support a wide range APIs they release.

in any event, the current fixed version in branch-3.0 is already a few versions behind. If we don't switch to channels we should at least update that before release. We need to add documentation support about this aspect as well. cc @tcmetzger

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions