ilex / aiomongodel

Async ODM on top of asynchronous MongoDB Motor driver.
MIT License
18 stars 7 forks source link

feat: bump version of motor and add ci tests check #12

Closed shpaker closed 1 year ago

shpaker commented 1 year ago

At current time aiomongodel is incompatible with python 3.11 due to old version of required motor library

from motor.motor_asyncio import AsyncIOMotorClient, AsyncIOMotorDatabase
  File "/usr/local/lib/python3.11/site-packages/motor/motor_asyncio.py", line 18, in <module>
    from .frameworks import asyncio as asyncio_framework
  File "/usr/local/lib/python3.11/site-packages/motor/frameworks/asyncio/__init__.py", line 28, in <module>
    from asyncio import coroutine  # For framework interface.
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shpaker commented 1 year ago

Hi @ilex Should I wait for a new version of aiomongodel on the PyPi? If it's necessary, I can create another PR with the workflow of uploading to the PyPi, and re-implemen package creation into the Poetry. After this you will need to create the necessary secret-variables (pypi creds) in the repository settings.