From 76c00ffcd1bbc6395036ac973ca91128dbcc76d4 Mon Sep 17 00:00:00 2001 From: Aran-Fey Date: Tue, 11 Mar 2025 11:40:40 +0100 Subject: [PATCH] switch from rye to uv --- .gitignore | 5 ++--- pyproject.toml | 10 ++-------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 596c5208..8803d1a3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,14 +2,13 @@ __pycache__ *.py[cod] -# Rye/Hatch +# Uv/Hatch build/ /dist/ wheels/ *.egg-info /.venv -/requirements.lock -/requirements-dev.lock +/uv.lock # Code coverage data /.coverage diff --git a/pyproject.toml b/pyproject.toml index fe2e0713..c996cc0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,8 +90,8 @@ rio = "rio.__main__:main" requires = ["hatchling==1.26.3"] build-backend = "hatchling.build" -[tool.rye] -dev-dependencies = [ +[dependency-groups] +dev = [ "aiofiles~=24.1", "alt-pytest-asyncio~=0.7.2", "coverage~=7.2", @@ -111,12 +111,6 @@ dev-dependencies = [ "pytest-cov~=5.0", "asyncio-atexit~=1.0.1", ] -managed = true - -[tool.rye.scripts] -build = { call = "scripts.build_frontend:build" } -dev-build = { call = "scripts.build_frontend:dev_build" } -publish = { call = "scripts.publish_new_release:main" } [tool.hatch.version] path = "rio/__init__.py"