From c44f1329c52a37177d5f1fb13b6423751c7183e3 Mon Sep 17 00:00:00 2001 From: renzon Date: Wed, 10 Jul 2024 20:18:46 -0300 Subject: [PATCH] Configurado grupo dev como optional no poetry close #10 --- backend/README.md | 4 ++-- backend/poetry.lock | 8 ++++---- backend/pyproject.toml | 3 +++ 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/backend/README.md b/backend/README.md index 580479e..b56a66d 100644 --- a/backend/README.md +++ b/backend/README.md @@ -4,10 +4,10 @@ Nessa pasta se encontram os arquivos de backend do projeto Django. Será usado o Poetry como gestor pacotes. -Por isso, para instalar o projeto, dentro das pasta backend rode +Por isso, para instalar o projeto com as dependência de desenvolvimento, dentro das pasta backend rode ```bash -poetry install --sync +poetry install --with dev ``` Para rodar seu servidor Django ative o ambiente virtual: diff --git a/backend/poetry.lock b/backend/poetry.lock index e4f06ef..bb806f5 100644 --- a/backend/poetry.lock +++ b/backend/poetry.lock @@ -27,13 +27,13 @@ files = [ [[package]] name = "django" -version = "5.0.6" +version = "5.0.7" description = "A high-level Python web framework that encourages rapid development and clean, pragmatic design." optional = false python-versions = ">=3.10" files = [ - {file = "Django-5.0.6-py3-none-any.whl", hash = "sha256:8363ac062bb4ef7c3f12d078f6fa5d154031d129a15170a1066412af49d30905"}, - {file = "Django-5.0.6.tar.gz", hash = "sha256:ff1b61005004e476e0aeea47c7f79b85864c70124030e95146315396f1e7951f"}, + {file = "Django-5.0.7-py3-none-any.whl", hash = "sha256:f216510ace3de5de01329463a315a629f33480e893a9024fc93d8c32c22913da"}, + {file = "Django-5.0.7.tar.gz", hash = "sha256:bd4505cae0b9bd642313e8fb71810893df5dc2ffcacaa67a33af2d5cd61888f2"}, ] [package.dependencies] @@ -149,4 +149,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.12" -content-hash = "5f43d49221a85544a259a4b18655a566f6311f2a275189462b7a8602efb7dbac" +content-hash = "3fd7c39ce8a4b74bdcbfd6dd8145e2ca7218d4814766b77a66bad584d9222a4a" diff --git a/backend/pyproject.toml b/backend/pyproject.toml index e9f3094..7fc292a 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -11,6 +11,9 @@ python = "^3.12" django = ">4" +[tool.poetry.group.dev] +optional = true + [tool.poetry.group.dev.dependencies] pytest = "^8.2.2" pytest-django = "^4.8.0"