Skip to content

Commit

Permalink
fix(pydeck,pydeck-carto): Fix readthedocs builds (#8871)
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy committed May 7, 2024
1 parent ff9246e commit 86f3f84
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 7 deletions.
6 changes: 6 additions & 0 deletions bindings/pydeck-carto/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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.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"]
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.2.0b0"
__version__ = "0.2.0"
1 change: 1 addition & 0 deletions bindings/pydeck-carto/requirements/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
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.0
pydeck-carto>=0.2.0
2 changes: 1 addition & 1 deletion bindings/pydeck-carto/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
Expand Down
10 changes: 10 additions & 0 deletions bindings/pydeck/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion bindings/pydeck/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
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.9.0b0"
__version__ = "0.9.0"
2 changes: 1 addition & 1 deletion bindings/pydeck/requirements/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 86f3f84

Please sign in to comment.