From 84168475573dcd40b0d6c428016fbf1607dab917 Mon Sep 17 00:00:00 2001 From: Nikolay Ulmasov Date: Fri, 3 Nov 2023 15:07:40 +0000 Subject: [PATCH] fix requirements Signed-off-by: Nikolay Ulmasov --- .github/workflows/python_release.yml | 2 +- docs/requirements.txt | 11 ++++++++--- docs/src/python/delta_table.py | 1 - python/deltalake/table.py | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python_release.yml b/.github/workflows/python_release.yml index 3d122dd91e..275a535833 100644 --- a/.github/workflows/python_release.yml +++ b/.github/workflows/python_release.yml @@ -158,7 +158,7 @@ jobs: echo "Commit to gh-pages branch..." git reset --hard HEAD - git clean -d -fx . + git checkout gh-pages #cd .. #cp -avr ~/build/html/. ./python diff --git a/docs/requirements.txt b/docs/requirements.txt index 608b198e25..57817a8aee 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,8 @@ -mkdocs -mkdocstrings[python] -mkdocs-autorefs \ No newline at end of file +mkdocs==1.5.3 +mkdocstrings[python]==0.23.0 +mkdocs-autorefs==0.5.0 + +mkdocs-material==9.4.5 +mkdocs-macros-plugin==1.0.4 +markdown-exec[ansi]==1.7.0 +mkdocs-simple-hooks==0.1.5 \ No newline at end of file diff --git a/docs/src/python/delta_table.py b/docs/src/python/delta_table.py index 540809a6c3..6b44a95f05 100644 --- a/docs/src/python/delta_table.py +++ b/docs/src/python/delta_table.py @@ -6,4 +6,3 @@ def get_table_info(): print(f"Version: {dt.version()}") print(f"Files: {dt.files()}") # --8<-- [end:get_table_info] - \ No newline at end of file diff --git a/python/deltalake/table.py b/python/deltalake/table.py index 03082b3307..57806885b4 100644 --- a/python/deltalake/table.py +++ b/python/deltalake/table.py @@ -835,7 +835,7 @@ def repair(self, dry_run: bool = False) -> Dict[str, Any]: or corrupted files. Args: - dry_run(bool): when activated, list only the files, otherwise add remove actions to transaction log. Defaults to False. + dry_run: when activated, list only the files, otherwise add remove actions to transaction log. Defaults to False. Returns: The metrics from repair (FSCK) action.