chore: Migrate from Poetry to uv, bump dependencies and python version.

This commit is contained in:
Elisiário Couto
2025-01-13 21:12:04 +00:00
parent 6b2cb8a52f
commit 33006f8f43
7 changed files with 419 additions and 612 deletions

View File

@@ -1,19 +1,11 @@
[tool.poetry]
[project]
name = "leggen"
version = "0.6.7"
description = "An Open Banking CLI"
authors = ["Elisiário Couto <elisiario@couto.io>"]
authors = [{ name = "Elisiário Couto", email = "elisiario@couto.io" }]
requires-python = "~=3.12"
readme = "README.md"
license = "MIT"
repository = "https://github.com/elisiariocouto/leggen"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Financial and Insurance Industry",
"Topic :: Utilities",
"Topic :: Office/Business :: Financial",
]
keywords = [
"openbanking",
"cli",
@@ -24,28 +16,44 @@ keywords = [
"transactions",
"finance",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Financial and Insurance Industry",
"Topic :: Utilities",
"Topic :: Office/Business :: Financial",
]
dependencies = [
"click>=8.1.7,<9",
"requests>=2.31.0,<3",
"loguru>=0.7.2,<0.8",
"tabulate>=0.9.0,<0.10",
"pymongo>=4.6.1,<5",
"discord-webhook>=1.3.1,<2",
]
packages = [{ "include" = "leggen" }]
[project.urls]
Repository = "https://github.com/elisiariocouto/leggen"
[tool.poetry.dependencies]
python = "^3.12"
click = "^8.1.7"
requests = "^2.31.0"
loguru = "^0.7.2"
tabulate = "^0.9.0"
pymongo = "^4.6.1"
discord-webhook = "^1.3.1"
[tool.poetry.group.dev.dependencies]
ruff = "^0.6.1"
pre-commit = "^3.6.0"
[tool.poetry.scripts]
[project.scripts]
leggen = "leggen.main:cli"
[dependency-groups]
dev = [
"ruff>=0.6.1",
"pre-commit>=3.6.0",
]
[tool.hatch.build.targets.sdist]
include = ["leggen"]
[tool.hatch.build.targets.wheel]
include = ["leggen"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
lint.ignore = ["E501", "B008", "B006"]