chore: migrate from poetry to uv

This commit is contained in:
Mike A.
2025-02-27 22:03:45 +01:00
parent bd6cea4b79
commit 329e6d963c
11 changed files with 1822 additions and 2159 deletions

View File

@@ -1,42 +1,36 @@
[tool.poetry]
[project]
name = "FindMy"
version = "v0.7.6"
description = "Everything you need to work with Apple's Find My network!"
authors = ["Mike Almeloo <git@mikealmel.ooo>"]
readme = "README.md"
packages = [{ include = "findmy" }]
authors = [
{name = "Mike Almeloo", email = "git@mikealmel.ooo"},
]
requires-python = ">=3.9,<3.14"
dependencies = [
"srp>=1.0.21,<2.0.0",
"cryptography>=42.0.0,<45.0.0",
"beautifulsoup4>=4.12.3,<5.0.0",
"aiohttp>=3.9.5,<4.0.0",
"bleak>=0.22.2,<1.0.0",
"typing-extensions>=4.12.2,<5.0.0",
]
[tool.poetry.dependencies]
python = ">=3.9,<3.14"
srp = "^1.0.21"
cryptography = ">=42.0.0,<45.0.0"
beautifulsoup4 = "^4.12.3"
aiohttp = "^3.9.5"
bleak = "^0.22.2"
typing-extensions = "^4.12.2"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.8.0"
pyright = "^1.1.391"
ruff = "^0.8.4"
tomli = "^2.0.1"
packaging = "^24.1"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^8.3.2"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = "^7.2.6"
sphinx-autoapi = "3.4.0"
[dependency-groups]
dev = [
"pre-commit>=3.8.0,<4.0.0",
"pyright>=1.1.391,<2.0.0",
"ruff>=0.8.4,<1.0.0",
"tomli>=2.0.1,<3.0.0",
"packaging>=24.1,<25.0",
]
test = [
"pytest>=8.3.2,<9.0.0",
]
docs = [
"sphinx>=7.2.6,<8.0.0",
"sphinx-autoapi==3.4.0",
]
[tool.pyright]
venvPath = "."
@@ -91,6 +85,9 @@ ignore = [
"D", # documentation
]
[tool.setuptools]
license-files = []
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"