Files
turso/bindings/python/pyproject.toml
Pekka Enberg b895381ae6 Revert "Merge 'Reachable assertions in Antithesis Python Test for better logging' from Pedro Muniz"
This reverts commit dbbc3f5190, reversing
changes made to 1cd5a49705. We're missing
some mandatory parameters, causing these to fail under Antithesis.
2025-07-08 17:51:12 +03:00

86 lines
2.1 KiB
TOML

[build-system]
requires = ['maturin>=1,<2', 'typing_extensions']
build-backend = 'maturin'
[project]
name = 'pyturso'
description = "Turso is a work-in-progress, in-process OLTP database management system, compatible with SQLite."
requires-python = '>=3.9'
classifiers = [
'Development Status :: 3 - Alpha',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Rust',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS',
'Topic :: Database',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Database :: Database Engines/Servers',
]
dependencies = ['typing-extensions >=4.6.0,!=4.7.0']
dynamic = ['readme', 'version']
[project.optional-dependencies]
dev = [
"mypy==1.11.0",
"pytest==8.3.1",
"pytest-cov==5.0.0",
"ruff==0.5.4",
"coverage==7.6.1",
"maturin==1.7.8",
]
[project.urls]
Homepage = "https://github.com/tursodatabase/turso"
Source = "https://github.com/tursodatabase/turso"
[tool.maturin]
bindings = 'pyo3'
module-name = "turso._turso"
features = ["pyo3/extension-module"]
[tool.pip-tools]
strip-extras = true
header = false
upgrade = false
[tool.pytest.ini_options]
testpaths = 'tests'
log_format = '%(name)s %(levelname)s: %(message)s'
[tool.coverage.run]
source = ['turso']
branch = true
[tool.coverage.report]
precision = 2
exclude_lines = [
'pragma: no cover',
'raise NotImplementedError',
'if TYPE_CHECKING:',
'@overload',
]
[dependency-groups]
dev = [
"coverage>=7.6.1",
"iniconfig>=2.1.0",
"maturin>=1.7.8",
"mypy>=1.11.0",
"mypy-extensions>=1.1.0",
"pluggy>=1.6.0",
"pytest>=8.3.1",
"pytest-cov>=5.0.0",
"ruff>=0.5.4",
"typing-extensions>=4.13.0",
]