diff --git a/extra-hatch-configuration/requirements-dev-packages.txt b/metricflow-semantics/extra-hatch-configuration/requirements-dev-packages.txt similarity index 100% rename from extra-hatch-configuration/requirements-dev-packages.txt rename to metricflow-semantics/extra-hatch-configuration/requirements-dev-packages.txt diff --git a/metricflow-semantics/pyproject.toml b/metricflow-semantics/pyproject.toml index e3f3e19ee0..dec34d0d87 100644 --- a/metricflow-semantics/pyproject.toml +++ b/metricflow-semantics/pyproject.toml @@ -26,25 +26,16 @@ classifiers = [ ] # Dependencies are specified through the `hatch-requirements-txt` plug-in. -dynamic = ["dependencies"] +dynamic = ["dependencies", "optional-dependencies"] [tool.hatch.metadata.hooks.requirements_txt] files = [ "extra-hatch-configuration/requirements.txt", ] -[project.optional-dependencies] +[tool.hatch.metadata.hooks.requirements_txt.optional-dependencies] dev-packages = [ - # Developer tools - "mypy>=1.7.0, <1.8.0", - "pre-commit>=3.2.2, <3.3.0", - "pytest-mock>=3.7.0, <3.8.0", - "pytest-xdist>=3.2.1, <3.3.0", - "pytest>=7.1.1, < 7.2.0", - "tabulate>=0.8.9", - "types-PyYAML", - "types-python-dateutil", - "types-tabulate", + "extra-hatch-configuration/requirements-dev-packages.txt", ] [tool.hatch.envs.dev-env] diff --git a/pyproject.toml b/pyproject.toml index 0f299b2b2f..9c144617a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ Documentation = "https://docs.getdbt.com/docs/build/about-metricflow" [tool.hatch.metadata.hooks.requirements_txt.optional-dependencies] dev-packages = [ - "extra-hatch-configuration/requirements-dev-packages.txt", + "metricflow-semantics/extra-hatch-configuration/requirements-dev-packages.txt", "dbt-metricflow/extra-hatch-configuration/requirements-cli.txt" ] sql-client-packages = [