From de3db2ca6c42e4f0fb93e66183e7660e411746f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EF=BC=A5than?= Date: Mon, 15 Jan 2024 14:19:20 +0800 Subject: [PATCH] fix: Sphinx version and remove rm for windows --- doc/requirements.txt | 2 +- test/test_tree.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 41a7c90f1..c798fcda6 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,3 +1,3 @@ -sphinx==4.3.0 +sphinx==5.0.0 sphinx_rtd_theme sphinx-autodoc-typehints diff --git a/test/test_tree.py b/test/test_tree.py index de1d87454..338cbcad2 100644 --- a/test/test_tree.py +++ b/test/test_tree.py @@ -10,7 +10,6 @@ import os import os.path as osp -import shutil import subprocess from pathlib import Path @@ -96,7 +95,6 @@ def names_in_mod_cache(): git_file_names_in_order = setup_git_repository_and_get_ordered_files() os.chdir("..") - shutil.rmtree("tmp") mod.set_done() assert names_in_mod_cache() == git_file_names_in_order, "set_done() performs git-sorting"