From fa4af37488ad782e40ac365b434c3ad1ae95a2a6 Mon Sep 17 00:00:00 2001 From: Lev Vereshchagin Date: Sun, 27 Oct 2024 11:55:31 +0300 Subject: [PATCH 1/2] Use PEP 735 dependency-groups.dev for dev dependencies uv recently released new version that supports now standardized `[dependency-groups]` table. See [uv 0.4.27](https://github.com/astral-sh/uv/releases/tag/0.4.27) and [PEP 735](https://peps.python.org/pep-0735/) --- pyproject.toml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fa19d93..cd96537 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,17 +19,16 @@ dynamic = ["version"] [project.urls] repository = "https://github.com/vrslev/stompman" -[tool.uv] -dev-dependencies = [ - "anyio~=4.4.0", - "mypy~=1.11.2", - "pytest-cov~=5.0.0", - "pytest~=8.3.2", - "ruff~=0.6.2", - "uvloop~=0.21.0beta1", - "hypothesis~=6.111.2", - "polyfactory~=2.16.2", - "faker~=28.0.0", +[dependency-groups] +dev = [ + "anyio>=4.6.2.post1", + "faker>=30.8.1", + "hypothesis>=6.115.5", + "mypy>=1.13.0", + "polyfactory>=2.17.0", + "pytest-cov>=5.0.0", + "ruff>=0.7.1", + "uvloop>=0.21.0", ] [build-system] From 6cecc9ff5813261b225e0c752942fcb5b79ca9c0 Mon Sep 17 00:00:00 2001 From: Lev Vereshchagin Date: Sun, 27 Oct 2024 11:57:39 +0300 Subject: [PATCH 2/2] Pin deps --- pyproject.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cd96537..1e3c01e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,14 +21,14 @@ repository = "https://github.com/vrslev/stompman" [dependency-groups] dev = [ - "anyio>=4.6.2.post1", - "faker>=30.8.1", - "hypothesis>=6.115.5", - "mypy>=1.13.0", - "polyfactory>=2.17.0", - "pytest-cov>=5.0.0", - "ruff>=0.7.1", - "uvloop>=0.21.0", + "anyio==4.6.2.post1", + "faker==30.8.1", + "hypothesis==6.115.5", + "mypy==1.13.0", + "polyfactory==2.17.0", + "pytest-cov==5.0.0", + "ruff==0.7.1", + "uvloop==0.21.0", ] [build-system]