Hi, I am running a CI tests, and having the follow...
# ask-community
n
Hi, I am running a CI tests, and having the following error:
Copy code
self = Column('version_num', String(length=32), table=<alembic_version>, primary_key=True, nullable=False)
key = 'is_partition'

    def __getattr__(self, key):
        try:
>           return getattr(self.comparator, key)
E           AttributeError: 'Comparator' object has no attribute 'is_partition'

../../../../.venv/company-data-engineering-i3ZqC0oM-py3.10/lib/python3.10/site-packages/sqlalchemy/sql/elements.py:858: AttributeError
I know it's related to sql alchemy, but I have the same test in Prefect 1 and it is working. Now we are migrating to Prefect 2 and the test fail. I think it is related to SQL alchemy versions collisions, but didn't find any proof. Technical version details: • Python 3.10 • Prefect 2.16.2 • SQL Alchemy 1.4.52 I saw that prefect also support SQL alchemy 1.x, but want to be sure. Thanks.