Skip to content

Commit

Permalink
Release pydeck 0.8.0 / pydeck-carto 0.1.0 (visgl#7376)
Browse files Browse the repository at this point in the history
* Bump pydeck to 0.8.0

* Bump pydeck-carto to 0.1.0

* Use get api base url function

* Update pydeck depencency

Co-authored-by: felixpalmer <felixpalmer@gmail.com>
  • Loading branch information
Jesus89 and felixpalmer authored Dec 12, 2022
1 parent 2811f8b commit eaad9a7
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 16 deletions.
17 changes: 11 additions & 6 deletions bindings/pydeck-carto/docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
CHANGELOG
=========

0.1.0
-----
Releases and associated GitHub PRs for pydeck-carto are documented here.

* Support for authentication
* Support for styling functions
* Support for notify error
* Support for rendering CartoLayer
0.1 Releases
------------

0.1.0 - Nov 04 2022
^^^^^^^^^^^^^^^^^^^
- Add register_carto_layer function: integration with pydeck (CartoLayer).
- Add get_layer_credentials function: integration with carto-auth.
- Add layer enums: MapType, CartoConnection, GeoColumnType.
- Add styling functions: color_bins, color_categories, color continuous.
- Add implicit on_data_error notifier
2 changes: 1 addition & 1 deletion bindings/pydeck-carto/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# The short X.Y version
version = "0.1"
# The full version, including alpha/beta/rc tags
release = "0.1.0b8"
release = "0.1.0"
# Extensions to generate documents from our docstrings here
extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx_rtd_theme"]
templates_path = ["_templates"]
Expand Down
2 changes: 1 addition & 1 deletion bindings/pydeck-carto/pydeck_carto/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.0b9"
__version__ = "0.1.0"
3 changes: 2 additions & 1 deletion bindings/pydeck-carto/pydeck_carto/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@ def get_layer_credentials(carto_auth) -> dict:
The return object has the following structure:
``{"apiVersion": "v3", "apiBaseUrl": "...", "accessToken": "...",}``
"""
api_base_url = carto_auth.get_api_base_url()
access_token = carto_auth.get_access_token()
return {
"apiVersion": "v3",
"apiBaseUrl": carto_auth._api_base_url,
"apiBaseUrl": api_base_url,
"accessToken": access_token,
}
2 changes: 1 addition & 1 deletion bindings/pydeck-carto/requirements/requirements-rtd.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pydeck-carto>=0.1.0b7
pydeck-carto>=0.1.0
6 changes: 3 additions & 3 deletions bindings/pydeck-carto/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
packages=find_packages(exclude=["examples", "tests"]),
python_requires=">=3.7",
install_requires=[
"pydeck>=0.8.0b4",
"carto-auth>=0.1.0b5",
"pydeck>=0.8.0",
"carto-auth>=0.1.0",
],
classifiers=[
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"Framework :: Jupyter",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
Expand Down
2 changes: 1 addition & 1 deletion bindings/pydeck/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ help:
@echo "pre-commit - run pre-commit hook for pydeck"

init:
source $(BIN)/activate; \
. $(BIN)/activate; \
yarn bootstrap; \
$(BIN)pip install -r requirements/requirements.txt; \
$(BIN)pip install -r requirements/requirements-dev.txt; \
Expand Down
6 changes: 5 additions & 1 deletion bindings/pydeck/docs/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ Releases and associated GitHub PRs for pydeck are documented here.
0.8 Releases
------------

0.8.0 - Nov 04 2022
^^^^^^^^^^^^^^^^^^^

0.8.0b4 - Oct 12 2022
^^^^^^^^^^^^^^^^^^^^^
- Add default_layer_attributes in settings. Improve variable substitution in tooltips (#)
- Fix pydeck render in Google Colab (#7325)
- Add default_layer_attributes in settings. Improve variable substitution in tooltips (#7330)

0.8.0b3 - Sep 09 2022
^^^^^^^^^^^^^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion bindings/pydeck/pydeck/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.8.0b4"
__version__ = "0.8.0"

0 comments on commit eaad9a7

Please sign in to comment.