diff --git a/poetry.lock b/poetry.lock index 8c35e8d..de7f94f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -672,11 +672,7 @@ files = [ {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"}, ] -[extras] -asyncpg = ["asyncpg"] -sqlalchemy = ["sqlalchemy"] - [metadata] lock-version = "2.0" python-versions = ">=3.8.1,<4.0" -content-hash = "dbe028244d5e37f4f325c679d26cb75d19c5217fc68bd5af29c089ad8f8e13c4" +content-hash = "c6c107f49157a8ee3cd11dd31ace1b25ae1fce83ba924c7d3e2a18f7016e9ba0" diff --git a/pyproject.toml b/pyproject.toml index 1fa6359..d05d927 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,14 +12,8 @@ readme = "README.md" [tool.poetry.dependencies] python = ">=3.8.1,<4.0" -sqlalchemy = { version = ">=2.0.0", optional = true } -asyncpg = { version = ">=0.29.0", optional = true } - - -[tool.poetry.extras] -asyncpg = ["asyncpg"] -sqlalchemy = ["sqlalchemy"] - +sqlalchemy = ">=2.0.0" +asyncpg = ">=0.29.0" [tool.poetry.group.dev.dependencies] flake8 = "^7.0.0" diff --git a/tests/test_sqlalchemy/test_crud.py b/tests/test_sqlalchemy/test_crud.py index 403b138..8c4d05d 100644 --- a/tests/test_sqlalchemy/test_crud.py +++ b/tests/test_sqlalchemy/test_crud.py @@ -1,10 +1,9 @@ -import time import unittest from sqlalchemy import Column, Integer, String, create_engine from sqlalchemy.exc import InvalidRequestError from sqlalchemy.ext.asyncio import create_async_engine, async_sessionmaker -from sqlalchemy.orm import DeclarativeBase, Session, sessionmaker +from sqlalchemy.orm import DeclarativeBase, sessionmaker from simplecrud.crud import * from simplecrud.utils import async_to_sync