Skip to content

Commit 672bbcc

Browse files
committed
Migrate to uv
1 parent 33c3bc8 commit 672bbcc

File tree

22 files changed

+951
-21
lines changed

22 files changed

+951
-21
lines changed

pyproject.toml

Lines changed: 35 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,41 @@
1-
[tool.poetry]
1+
[project]
22
name = "sqlorm-py"
3-
version = "0.2.3"
3+
version = "0.3.0"
44
description = "A new kind or ORM that do not abstract away your database or SQL queries."
5-
authors = ["Maxime Bouroumeau-Fuseau <[email protected]>"]
5+
authors = [
6+
{"name" = "Maxime Bouroumeau-Fuseau", email = "[email protected]"}
7+
]
68
readme = "README.md"
79
license = "MIT"
8-
repository = "https://github.com/hyperflask/sqlorm"
9-
packages = [{include = "sqlorm"}]
10+
requires-python = ">=3.10"
11+
dependencies = [
12+
"blinker>=1.9.0",
13+
]
1014

11-
[tool.poetry.dependencies]
12-
python = "^3.10"
13-
blinker = "^1.8.2"
14-
psycopg = { extras = ["binary"], version = "^3.1.18", optional = true }
15-
mysql-connector-python = { version = "^8.3.0", optional = true }
16-
pycryptodome = { version = "^3.20.0", optional = true }
15+
[project.urls]
16+
Repository = "https://github.com/hyperflask/sqlorm"
1717

18-
[tool.poetry.group.dev.dependencies]
19-
pytest = "^8.0.0"
20-
pytest-cov = "^4.1.0"
21-
ruff = "^0.4.3"
22-
mkdocs-material = "^9.5.24"
23-
mkdocs-callouts = "^1.13.2"
24-
25-
[tool.poetry.plugins."opentelemetry_instrumentor"]
18+
[project.entry-points."opentelemetry_instrumentor"]
2619
sqlorm = "sqlorm.opentelemetry:SQLORMInstrumentor"
2720

21+
[dependency-groups]
22+
postgresql = [
23+
"psycopg[binary] >=3.1.18,<4.0.0"
24+
]
25+
mysql = [
26+
"mysql-connector-python >=8.3.0,<9.0.0"
27+
]
28+
encrypted = [
29+
"pycryptodome >=3.20.0,<4.0.0"
30+
]
31+
dev = [
32+
"pytest>=8.4.1",
33+
"pytest-cov>=6.2.1",
34+
"ruff>=0.12.4",
35+
"mkdocs-material>=9.5.24",
36+
"mkdocs-callouts>=1.13.2"
37+
]
38+
2839
[tool.ruff]
2940
include = ["sqlorm/**/*.py"]
3041
line-length = 100
@@ -33,5 +44,8 @@ line-length = 100
3344
exclude = ["sqlorm/__init__.py"]
3445

3546
[build-system]
36-
requires = ["poetry-core"]
37-
build-backend = "poetry.core.masonry.api"
47+
requires = ["uv_build>=0.8.11,<0.9.0"]
48+
build-backend = "uv_build"
49+
50+
[tool.uv.build-backend]
51+
module-name = "sqlorm"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)