-
- Downloads
tests: Tests passed with python>=3.9
... | ... | @@ -10,7 +10,7 @@ authors = [ |
] | ||
description = "Create a SQLAlchemy session_maker that won't commit to db for testing purposes." | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
requires-python = ">=3.9" | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: MIT License", | ||
... | ... | @@ -18,13 +18,14 @@ classifiers = [ |
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Programming Language :: Python :: 3.9", | ||
"Typing :: Typed", | ||
] | ||
dependencies = [ | ||
"SQLAlchemy >= 2, < 3", | ||
"psycopg2-binary>=2.9.10", | ||
|
||
"pytest >= 7, < 8", | ||
] | ||
... | ... | @@ -40,6 +41,8 @@ dev = [ |
"coverage", | ||
"psycopg2 < 3.0", | ||
"pytest-asyncio", | ||
"tox-uv>=1.13.1", | ||
"tox>=4.25.0", | ||
] | ||
[project.urls] | ||
... | ... | @@ -71,7 +74,7 @@ search = "version = \"{current_version}\"" |
[tool.mypy] | ||
disallow_untyped_defs = true | ||
packages = "fake_session_maker" | ||
python_version = 3.7 | ||
python_version = 3.9 | ||
[tool.pytest.ini_options] | ||
addopts = "-rA -q --strict-markers" | ||
... | ... | @@ -142,20 +145,31 @@ legacy_tox_ini = """ |
[tox] | ||
min_version = 4.0 | ||
env_list = | ||
py{37,38,39,310,311} | ||
ruff | ||
mypy | ||
py{39,310,311,312,313} | ||
isolated_build = true | ||
[testenv] | ||
deps = pytest | ||
[testenv:py39] | ||
deps = | ||
setuptools | ||
pytest | ||
pytest_asyncio | ||
psycopg2 < 3.0 | ||
asyncpg < 1.0 | ||
commands = pytest | ||
[testenv:ruff] | ||
deps = ruff | ||
commands = ruff check . | ||
[testenv:mypy] | ||
deps = mypy | ||
commands = mypy src | ||
[testenv] | ||
deps = | ||
pytest | ||
pytest_asyncio | ||
psycopg2 < 3.0 | ||
asyncpg < 1.0 | ||
commands = pytest | ||
""" | ||
# [testenv:ruff] | ||
# deps = ruff | ||
# commands = ruff check . | ||
# | ||
# [testenv:mypy] | ||
# deps = mypy | ||
# commands = mypy src | ||
\ No newline at end of file |