Skip to content

Commit

Permalink
Fix dependencies error (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaziamov authored Jan 9, 2025
1 parent 90de5ea commit 694814d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
6 changes: 1 addition & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 2 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions tests/test_sqlalchemy/test_crud.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 694814d

Please sign in to comment.