diff --git a/.actions/setup_tools.py b/.actions/setup_tools.py index b025af1a7a..33d587aa93 100644 --- a/.actions/setup_tools.py +++ b/.actions/setup_tools.py @@ -526,7 +526,8 @@ def _load_aggregate_requirements(req_dir: str = "requirements", freeze_requireme requires = [ load_requirements(d, file_name="base.txt", unfreeze=not freeze_requirements) for d in glob.glob(os.path.join(req_dir, "*")) - if os.path.isdir(d) + # skip empty folder as git artefacts, and resolving Will's special issue + if os.path.isdir(d) and len(glob.glob(os.path.join(d, "*"))) > 0 ] if not requires: return None diff --git a/pyproject.toml b/pyproject.toml index 3793e33fc3..497a32eab2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,6 +58,7 @@ warn_no_return = "False" module = [ "pytorch_lightning.callbacks.progress.rich_progress", "pytorch_lightning.trainer.trainer", + "pytorch_lightning.trainer.connectors.checkpoint_connector", "pytorch_lightning.tuner.batch_size_scaling", "lightning_app.api.http_methods", "lightning_app.api.request_types", diff --git a/requirements/docs/base.txt b/requirements/docs/base.txt deleted file mode 100644 index 1b00471602..0000000000 --- a/requirements/docs/base.txt +++ /dev/null @@ -1,13 +0,0 @@ -sphinx>=4.0, <5.0 -myst-parser>=0.15, <0.17 -nbsphinx>=0.8.5, <=0.8.9 -pandoc>=1.0, <=2.2 -docutils>=0.16, <0.19 -sphinxcontrib-fulltoc>=1.0, <=1.2.0 -sphinxcontrib-mockautodoc -sphinx-autodoc-typehints>=1.11, <1.15 # strict; v1.15 failing on master (#11405) -sphinx-paramlinks>=0.5.1, <=0.5.4 -sphinx-togglebutton>=0.2, <=0.3.2 -sphinx-copybutton>=0.3, <=0.5.0 -sphinx-multiproject -jinja2>=3.0.0,<3.1.0