Skip to content

Commit c42efcf

Browse files
authored
use rst to speed up api docs generation (#1557)
* use rst to speed up api docs generation using myst will invalidate generated docs and will re-generate them even when they exist. Signed-off-by: cosmicBboy <[email protected]> * update dask Signed-off-by: cosmicBboy <[email protected]> * use python 3.11.8 Signed-off-by: cosmicBboy <[email protected]> * add python 3.11.8 requirements files Signed-off-by: cosmicBboy <[email protected]> * fix Signed-off-by: cosmicBboy <[email protected]> * update requirements files Signed-off-by: cosmicBboy <[email protected]> * add grpcio to dev/ci requirements Signed-off-by: cosmicBboy <[email protected]> * update pyspark test Signed-off-by: cosmicBboy <[email protected]> * update regex Signed-off-by: cosmicBboy <[email protected]> --------- Signed-off-by: cosmicBboy <[email protected]>
1 parent c971c8c commit c42efcf

File tree

46 files changed

+4778
-337
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+4778
-337
lines changed

.github/workflows/ci-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: true
3434
matrix:
35-
python-version: ["3.8", "3.9", "3.10", "3.11"]
35+
python-version: ["3.8", "3.9", "3.10", "3.11.8"] # python 3.11.9 causes issues with unit tests
3636
defaults:
3737
run:
3838
shell: bash -l {0}
@@ -101,7 +101,7 @@ jobs:
101101
fail-fast: true
102102
matrix:
103103
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
104-
python-version: ["3.8", "3.9", "3.10", "3.11"]
104+
python-version: ["3.8", "3.9", "3.10", "3.11.8"] # python 3.11.9 causes issues with unit tests
105105
pandas-version: ["1.5.3", "2.0.3", "2.2.0"]
106106
pydantic-version: ["1.10.11", "2.3.0"]
107107
include:

ci/requirements-py3.10-pandas1.5.3-pydantic1.10.11.txt

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -343,19 +343,8 @@ packaging==23.1
343343
# sphinx
344344
pandas==1.5.3
345345
# via
346-
# dask
347-
# frictionless
348346
# geopandas
349-
# hypothesis
350-
# ipython
351-
# jupyter-cache
352347
# modin
353-
# myst-nb
354-
# partd
355-
# petl
356-
# polars
357-
# pyspark
358-
# ray
359348
pandas-stubs==1.5.2.221213
360349
pandocfilters==1.5.0
361350
# via nbconvert
@@ -407,11 +396,7 @@ pyarrow==14.0.1
407396
pycparser==2.21
408397
# via cffi
409398
pydantic==1.10.11
410-
# via
411-
# fastapi
412-
# modin
413-
# polars
414-
# ray
399+
# via fastapi
415400
pygments==2.16.1
416401
# via
417402
# furo

ci/requirements-py3.10-pandas1.5.3-pydantic2.3.0.txt

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -345,19 +345,8 @@ packaging==23.1
345345
# sphinx
346346
pandas==1.5.3
347347
# via
348-
# dask
349-
# frictionless
350348
# geopandas
351-
# hypothesis
352-
# ipython
353-
# jupyter-cache
354349
# modin
355-
# myst-nb
356-
# partd
357-
# petl
358-
# polars
359-
# pyspark
360-
# ray
361350
pandas-stubs==1.5.2.221213
362351
pandocfilters==1.5.0
363352
# via nbconvert
@@ -409,11 +398,7 @@ pyarrow==14.0.1
409398
pycparser==2.21
410399
# via cffi
411400
pydantic==2.3.0
412-
# via
413-
# fastapi
414-
# modin
415-
# polars
416-
# ray
401+
# via fastapi
417402
pydantic-core==2.6.3
418403
# via pydantic
419404
pygments==2.16.1

ci/requirements-py3.10-pandas2.0.3-pydantic1.10.11.txt

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -343,19 +343,8 @@ packaging==23.1
343343
# sphinx
344344
pandas==2.0.3
345345
# via
346-
# dask
347-
# frictionless
348346
# geopandas
349-
# hypothesis
350-
# ipython
351-
# jupyter-cache
352347
# modin
353-
# myst-nb
354-
# partd
355-
# petl
356-
# polars
357-
# pyspark
358-
# ray
359348
pandas-stubs==1.5.2.221213
360349
pandocfilters==1.5.0
361350
# via nbconvert
@@ -407,11 +396,7 @@ pyarrow==14.0.1
407396
pycparser==2.21
408397
# via cffi
409398
pydantic==1.10.11
410-
# via
411-
# fastapi
412-
# modin
413-
# polars
414-
# ray
399+
# via fastapi
415400
pygments==2.16.1
416401
# via
417402
# furo

ci/requirements-py3.10-pandas2.0.3-pydantic2.3.0.txt

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -345,19 +345,8 @@ packaging==23.1
345345
# sphinx
346346
pandas==2.0.3
347347
# via
348-
# dask
349-
# frictionless
350348
# geopandas
351-
# hypothesis
352-
# ipython
353-
# jupyter-cache
354349
# modin
355-
# myst-nb
356-
# partd
357-
# petl
358-
# polars
359-
# pyspark
360-
# ray
361350
pandas-stubs==1.5.2.221213
362351
pandocfilters==1.5.0
363352
# via nbconvert
@@ -409,11 +398,7 @@ pyarrow==14.0.1
409398
pycparser==2.21
410399
# via cffi
411400
pydantic==2.3.0
412-
# via
413-
# fastapi
414-
# modin
415-
# polars
416-
# ray
401+
# via fastapi
417402
pydantic-core==2.6.3
418403
# via pydantic
419404
pygments==2.16.1

ci/requirements-py3.10-pandas2.2.0-pydantic1.10.11.txt

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ furo==2022.9.29
142142
geopandas==0.14.3
143143
greenlet==3.0.3
144144
# via sqlalchemy
145+
grpcio==1.62.1
145146
h11==0.14.0
146147
# via uvicorn
147148
hypothesis==6.98.9
@@ -339,19 +340,8 @@ packaging==23.2
339340
# sphinx
340341
pandas==2.2.0
341342
# via
342-
# dask
343-
# frictionless
344343
# geopandas
345-
# hypothesis
346-
# ipython
347-
# jupyter-cache
348344
# modin
349-
# myst-nb
350-
# partd
351-
# petl
352-
# polars
353-
# pyspark
354-
# ray
355345
pandas-stubs==2.2.0.240218
356346
pandocfilters==1.5.1
357347
# via nbconvert
@@ -401,10 +391,7 @@ pyarrow==15.0.0
401391
pycparser==2.21
402392
# via cffi
403393
pydantic==1.10.11
404-
# via
405-
# fastapi
406-
# polars
407-
# ray
394+
# via fastapi
408395
pygments==2.17.2
409396
# via
410397
# furo

ci/requirements-py3.10-pandas2.2.0-pydantic2.3.0.txt

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ furo==2022.9.29
144144
geopandas==0.14.3
145145
greenlet==3.0.3
146146
# via sqlalchemy
147+
grpcio==1.62.1
147148
h11==0.14.0
148149
# via uvicorn
149150
hypothesis==6.98.9
@@ -341,19 +342,8 @@ packaging==23.2
341342
# sphinx
342343
pandas==2.2.0
343344
# via
344-
# dask
345-
# frictionless
346345
# geopandas
347-
# hypothesis
348-
# ipython
349-
# jupyter-cache
350346
# modin
351-
# myst-nb
352-
# partd
353-
# petl
354-
# polars
355-
# pyspark
356-
# ray
357347
pandas-stubs==2.2.0.240218
358348
pandocfilters==1.5.1
359349
# via nbconvert
@@ -403,10 +393,7 @@ pyarrow==15.0.0
403393
pycparser==2.21
404394
# via cffi
405395
pydantic==2.3.0
406-
# via
407-
# fastapi
408-
# polars
409-
# ray
396+
# via fastapi
410397
pydantic-core==2.6.3
411398
# via pydantic
412399
pygments==2.17.2

ci/requirements-py3.11-pandas1.5.3-pydantic1.10.11.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ commonmark==0.9.1
8686
# via recommonmark
8787
coverage==7.3.1
8888
# via pytest-cov
89-
dask==2023.9.2
89+
dask==2024.4.1
9090
# via distributed
9191
debugpy==1.8.1
9292
# via ipykernel
@@ -98,7 +98,7 @@ dill==0.3.7
9898
# via pylint
9999
distlib==0.3.7
100100
# via virtualenv
101-
distributed==2023.9.2
101+
distributed==2024.4.1
102102
docutils==0.17.1
103103
# via
104104
# jupyterlite-sphinx

ci/requirements-py3.11-pandas1.5.3-pydantic2.3.0.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ commonmark==0.9.1
8888
# via recommonmark
8989
coverage==7.3.1
9090
# via pytest-cov
91-
dask==2023.9.2
91+
dask==2024.4.1
9292
# via distributed
9393
debugpy==1.8.1
9494
# via ipykernel
@@ -100,7 +100,7 @@ dill==0.3.7
100100
# via pylint
101101
distlib==0.3.7
102102
# via virtualenv
103-
distributed==2023.9.2
103+
distributed==2024.4.1
104104
docutils==0.17.1
105105
# via
106106
# jupyterlite-sphinx

ci/requirements-py3.11-pandas2.0.3-pydantic1.10.11.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ commonmark==0.9.1
8686
# via recommonmark
8787
coverage==7.3.1
8888
# via pytest-cov
89-
dask==2023.9.2
89+
dask==2024.4.1
9090
# via distributed
9191
debugpy==1.8.1
9292
# via ipykernel
@@ -98,7 +98,7 @@ dill==0.3.7
9898
# via pylint
9999
distlib==0.3.7
100100
# via virtualenv
101-
distributed==2023.9.2
101+
distributed==2024.4.1
102102
docutils==0.17.1
103103
# via
104104
# jupyterlite-sphinx

0 commit comments

Comments
 (0)