diff --git a/requirements/fabric/extra.txt b/requirements/fabric/extra.txt new file mode 100644 index 0000000000000..54d6396fa12fa --- /dev/null +++ b/requirements/fabric/extra.txt @@ -0,0 +1,4 @@ +# NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package +# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment + +hydra-core >=1.2.0, <1.4.0 diff --git a/src/lightning/__setup__.py b/src/lightning/__setup__.py index b71410c4f18cc..3d79f98878573 100644 --- a/src/lightning/__setup__.py +++ b/src/lightning/__setup__.py @@ -41,7 +41,7 @@ def _prepare_extras() -> dict[str, Any]: } # project specific extras groups - extras["fabric-all"] = extras["fabric-strategies"] + extras["fabric-examples"] + extras["fabric-all"] = extras["fabric-extra"] + extras["fabric-strategies"] + extras["fabric-examples"] extras["fabric-dev"] = extras["fabric-all"] + extras["fabric-test"] extras["pytorch-all"] = extras["pytorch-extra"] + extras["pytorch-strategies"] + extras["pytorch-examples"] extras["pytorch-dev"] = extras["pytorch-all"] + extras["pytorch-test"] diff --git a/src/lightning_fabric/__setup__.py b/src/lightning_fabric/__setup__.py index a12b5b7597447..847013fe5d4ce 100644 --- a/src/lightning_fabric/__setup__.py +++ b/src/lightning_fabric/__setup__.py @@ -44,7 +44,7 @@ def _prepare_extras() -> dict[str, Any]: } for req in parse_requirements(extras["strategies"]): extras[req.key] = [str(req)] - extras["all"] = extras["strategies"] + extras["examples"] + extras["all"] = extras["extra"] + extras["strategies"] + extras["examples"] extras["dev"] = extras["all"] + extras["test"] return extras