From fc432dda6b9846cba9d996173ff4475b9d04aee9 Mon Sep 17 00:00:00 2001 From: Khabib Date: Thu, 23 Apr 2026 17:40:40 +0300 Subject: [PATCH] chore: clean deps --- Makefile | 5 ++++- poetry.lock | 9 ++++----- pyproject.toml | 42 ++++++++++++++++++++++-------------------- 3 files changed, 30 insertions(+), 26 deletions(-) diff --git a/Makefile b/Makefile index b72b3a2..1c72739 100644 --- a/Makefile +++ b/Makefile @@ -11,4 +11,7 @@ yaml: poetry run python -m src.yatl.run test: - poetry run pytest \ No newline at end of file + poetry run pytest + +clear_env: + poetry env remove --all \ No newline at end of file diff --git a/poetry.lock b/poetry.lock index 1dc9f15..6123827 100644 --- a/poetry.lock +++ b/poetry.lock @@ -749,21 +749,20 @@ files = [ [[package]] name = "pathspec" -version = "1.0.4" +version = "1.1.0" description = "Utility library for gitignore style pattern matching of file paths." optional = false python-versions = ">=3.9" groups = ["dev"] files = [ - {file = "pathspec-1.0.4-py3-none-any.whl", hash = "sha256:fb6ae2fd4e7c921a165808a552060e722767cfa526f99ca5156ed2ce45a5c723"}, - {file = "pathspec-1.0.4.tar.gz", hash = "sha256:0210e2ae8a21a9137c0d470578cb0e595af87edaa6ebf12ff176f14a02e0e645"}, + {file = "pathspec-1.1.0-py3-none-any.whl", hash = "sha256:574b128f7456bd899045ccd142dd446af7e6cfd0072d63ad73fbc55fbb4aaa42"}, + {file = "pathspec-1.1.0.tar.gz", hash = "sha256:f5d7c555da02fd8dde3e4a2354b6aba817a89112fa8f333f7917a2a4834dd080"}, ] [package.extras] hyperscan = ["hyperscan (>=0.7)"] optional = ["typing-extensions (>=4)"] re2 = ["google-re2 (>=1.1)"] -tests = ["pytest (>=9)", "typing-extensions (>=4.15)"] [[package]] name = "pluggy" @@ -1191,4 +1190,4 @@ standard = ["colorama (>=0.4) ; sys_platform == \"win32\"", "httptools (>=0.6.3) [metadata] lock-version = "2.1" python-versions = ">=3.14" -content-hash = "076e978a37677966665786cd9083efe79118991741f7d9a08a41c0aa4002d365" +content-hash = "caa3e1883f45d94882eeaec04e4fb29c841ba1dafdaad0fcd6da8e9c4912e0d5" diff --git a/pyproject.toml b/pyproject.toml index 9fa7501..0f4374c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,41 +1,43 @@ -[project] +[tool.poetry] name = "yatl-testing" version = "0.1.2" description = "Yet Another Testing Language" keywords = ["testing", "api", "yaml", "http", "rest", "declarative"] -authors = [ - {name = "Khabib Shakhbanov"} -] +authors = ["Khabib Shakhbanov"] readme = "README.md" -requires-python = ">=3.14" -dependencies = [ - "requests>=2.32.5", - "jinja2>=3.1.6", - "pyyaml>=6.0.3", - "lxml>=6.0.2", -] +packages = [{ include = "yatl", from = "src" }] + +[tool.poetry.dependencies] +python = ">=3.14" +requests = ">=2.32.5" +jinja2 = ">=3.1.6" +pyyaml = ">=6.0.3" +lxml = ">=6.0.2" + +[tool.poetry.group.dev] +optional = true [tool.poetry.group.dev.dependencies] ruff = "^0.15.4" pytest = "^9.0.2" mypy = "^1.19.1" +[tool.poetry.group.examples] +optional = true + [tool.poetry.group.examples.dependencies] fastapi = "^0.136.0" uvicorn = "^0.44.0" -[tool.poetry] -packages = [{include = "yatl", from = "src"}] - -[build-system] -requires = ["poetry-core>=2.0.0,<3.0.0"] -build-backend = "poetry.core.masonry.api" - -[project.scripts] +[tool.poetry.scripts] yatl = "yatl.__main__:main" -[project.urls] +[tool.poetry.urls] Homepage = "https://github.com/Khabib73/YATL" Documentation = "https://github.com/Khabib73/YATL#readme" Repository = "https://github.com/Khabib73/YATL" Issues = "https://github.com/Khabib73/YATL/issues" + +[build-system] +requires = ["poetry-core>=2.0.0,<3.0.0"] +build-backend = "poetry.core.masonry.api" \ No newline at end of file