From aedab64c61c288b3d4057007716aff835d1da5dc Mon Sep 17 00:00:00 2001 From: Phuong Nguyen Date: Thu, 21 Nov 2024 15:44:35 +0200 Subject: [PATCH] fix: Required dependencies --- pyproject.toml | 7 +++++-- uv.lock | 12 ++++++++---- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4330053..1dd6cb4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,11 @@ classifiers = [ "Typing :: Typed", ] +dependencies = [ + "django>=5.1.3", + "pydantic>=2.9.2", +] + [project.urls] Homepage = "https://github.com/NextGenContributions/django2pydantic" @@ -51,7 +56,6 @@ dev = [ "basedpyright>=1.21.0", "beartype>=0.19.0", "debugpy>=1.8.8", - "django>=5.1.3", "django-ninja>=1.3.0", "django-stubs[compatible-mypy]>=5.1.1", "email-validator>=2.2.0", @@ -62,7 +66,6 @@ dev = [ "mypy>=1.13.0", "ninja-schema>=0.13.6", "nox>=2024.10.9", - "pydantic>=2.9.2", "pylint-django>=2.6.1", "pyre-check>=0.9.23", "pyright>=1.1.388", diff --git a/uv.lock b/uv.lock index da46dd9..92e707e 100644 --- a/uv.lock +++ b/uv.lock @@ -409,13 +409,16 @@ wheels = [ name = "django2pydantic" version = "0.0.4" source = { editable = "." } +dependencies = [ + { name = "django" }, + { name = "pydantic" }, +] [package.dev-dependencies] dev = [ { name = "basedpyright" }, { name = "beartype" }, { name = "debugpy" }, - { name = "django" }, { name = "django-ninja" }, { name = "django-stubs", extra = ["compatible-mypy"] }, { name = "django-stubs-ext" }, @@ -427,7 +430,6 @@ dev = [ { name = "mypy" }, { name = "ninja-schema" }, { name = "nox" }, - { name = "pydantic" }, { name = "pylint-django" }, { name = "pyre-check" }, { name = "pyright" }, @@ -447,13 +449,16 @@ dev = [ ] [package.metadata] +requires-dist = [ + { name = "django", specifier = ">=5.1.3" }, + { name = "pydantic", specifier = ">=2.9.2" }, +] [package.metadata.requires-dev] dev = [ { name = "basedpyright", specifier = ">=1.21.0" }, { name = "beartype", specifier = ">=0.19.0" }, { name = "debugpy", specifier = ">=1.8.8" }, - { name = "django", specifier = ">=5.1.3" }, { name = "django-ninja", specifier = ">=1.3.0" }, { name = "django-stubs", extras = ["compatible-mypy"], specifier = ">=5.1.1" }, { name = "django-stubs-ext", specifier = ">=5.1.1" }, @@ -465,7 +470,6 @@ dev = [ { name = "mypy", specifier = ">=1.13.0" }, { name = "ninja-schema", specifier = ">=0.13.6" }, { name = "nox", specifier = ">=2024.10.9" }, - { name = "pydantic", specifier = ">=2.9.2" }, { name = "pylint-django", specifier = ">=2.6.1" }, { name = "pyre-check", specifier = ">=0.9.23" }, { name = "pyright", specifier = ">=1.1.388" },