diff --git a/bindings/pydeck-carto/.readthedocs.yaml b/bindings/pydeck-carto/.readthedocs.yaml index c2f01649ff4..049743dd86e 100644 --- a/bindings/pydeck-carto/.readthedocs.yaml +++ b/bindings/pydeck-carto/.readthedocs.yaml @@ -11,3 +11,9 @@ build: os: "ubuntu-22.04" tools: python: "3.9" + jobs: + post_checkout: + # CWD for readthedocs is repository root. + - cp -r bindings/pydeck-carto/* . + post_install: + - python -m pip install --upgrade --no-cache-dir -r requirements/requirements-dev.txt diff --git a/bindings/pydeck-carto/docs/conf.py b/bindings/pydeck-carto/docs/conf.py index 43b5fb3c366..7165e058e48 100644 --- a/bindings/pydeck-carto/docs/conf.py +++ b/bindings/pydeck-carto/docs/conf.py @@ -14,7 +14,7 @@ # The short X.Y version version = "0.2" # The full version, including alpha/beta/rc tags -release = "0.2.0b0" +release = "0.2.0" # Extensions to generate documents from our docstrings here extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx_rtd_theme"] templates_path = ["_templates"] diff --git a/bindings/pydeck-carto/pydeck_carto/_version.py b/bindings/pydeck-carto/pydeck_carto/_version.py index 9aafb2b8b12..d3ec452c319 100644 --- a/bindings/pydeck-carto/pydeck_carto/_version.py +++ b/bindings/pydeck-carto/pydeck_carto/_version.py @@ -1 +1 @@ -__version__ = "0.2.0b0" +__version__ = "0.2.0" diff --git a/bindings/pydeck-carto/requirements/requirements-dev.txt b/bindings/pydeck-carto/requirements/requirements-dev.txt index c2ee28c2446..cfa520c92f2 100644 --- a/bindings/pydeck-carto/requirements/requirements-dev.txt +++ b/bindings/pydeck-carto/requirements/requirements-dev.txt @@ -6,6 +6,7 @@ pytest-cov==3.0.0 pytest-mock==3.8.2 pytest==7.1.2 requests-mock==1.9.3 +sphinx_rtd_theme==2.0.0 tokenize-rt>=3.2.0 twine==4.0.0 typing-extensions>=4.0.0 diff --git a/bindings/pydeck-carto/requirements/requirements-rtd.txt b/bindings/pydeck-carto/requirements/requirements-rtd.txt index 5b500a2c531..24172e28f62 100644 --- a/bindings/pydeck-carto/requirements/requirements-rtd.txt +++ b/bindings/pydeck-carto/requirements/requirements-rtd.txt @@ -1 +1 @@ -pydeck-carto>=0.1.0 \ No newline at end of file +pydeck-carto>=0.2.0 diff --git a/bindings/pydeck-carto/setup.py b/bindings/pydeck-carto/setup.py index aa29b3ddebf..ea5aae8dcff 100644 --- a/bindings/pydeck-carto/setup.py +++ b/bindings/pydeck-carto/setup.py @@ -19,7 +19,7 @@ packages=find_packages(exclude=["examples", "tests"]), python_requires=">=3.8", install_requires=[ - "pydeck>=0.8.0", + "pydeck>=0.9.0", "carto-auth>=0.2.0", "typing-extensions>=4.0.0", ], diff --git a/bindings/pydeck/.readthedocs.yaml b/bindings/pydeck/.readthedocs.yaml index c2f01649ff4..22fe48aecee 100644 --- a/bindings/pydeck/.readthedocs.yaml +++ b/bindings/pydeck/.readthedocs.yaml @@ -11,3 +11,13 @@ build: os: "ubuntu-22.04" tools: python: "3.9" + jobs: + post_checkout: + # CWD for readthedocs is repository root. + - cp -r bindings/pydeck/* . + # Skip broken Jupyter widget build. Remove pyproject.toml and write stubs + # for setup.py's data_files. https://github.com/visgl/deck.gl/issues/8469 + - rm pyproject.toml + - touch pydeck/nbextension/static/index.js & touch pydeck/nbextension/static/index.js.map + post_install: + - python -m pip install --upgrade --no-cache-dir -r requirements/requirements-dev.txt diff --git a/bindings/pydeck/docs/conf.py b/bindings/pydeck/docs/conf.py index 0bc4e64044a..6d0e8c918c9 100644 --- a/bindings/pydeck/docs/conf.py +++ b/bindings/pydeck/docs/conf.py @@ -12,7 +12,7 @@ # The short X.Y version version = "0.9" # The full version, including alpha/beta/rc tags -release = "0.9.0b0" +release = "0.9.0" # Extensions to generate documents from our docstrings here extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx_rtd_theme"] templates_path = ["_templates"] diff --git a/bindings/pydeck/pydeck/_version.py b/bindings/pydeck/pydeck/_version.py index a31c42706b4..3e2f46a3a38 100644 --- a/bindings/pydeck/pydeck/_version.py +++ b/bindings/pydeck/pydeck/_version.py @@ -1 +1 @@ -__version__ = "0.9.0b0" +__version__ = "0.9.0" diff --git a/bindings/pydeck/requirements/requirements-dev.txt b/bindings/pydeck/requirements/requirements-dev.txt index 816a68a362c..4dcbfbb7112 100644 --- a/bindings/pydeck/requirements/requirements-dev.txt +++ b/bindings/pydeck/requirements/requirements-dev.txt @@ -15,5 +15,5 @@ ipython>=5.8.0;python_version<"3.4" semver # necessary for PEP440-compliant semantic versions sphinx-markdown-builder wheel -sphinx_rtd_theme +sphinx_rtd_theme==2.0.0 black;python_version>="3.6"