You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the test suite, it triggers a few deprecation warnings:
<stdin>:1: MovedIn20Warning: The ``declarative_base()`` function is now available as sqlalchemy.orm.declarative_base(). (deprecated since: 1.4) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
<stdin>:1: RemovedIn20Warning: The ``bind`` argument to declarative_base is deprecated and will be removed in SQLAlchemy 2.0. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
I was following the steps described here, but on the following connection.execute I get a crate.client.exceptions.ProgrammingError: RelationUnknown[Relation 'locations' unknown]. Is there a step missing to run the table creation? And how does it later return a row count of 13, where are these rows coming from?
I think I had already made a start on this at a single spot when looking at SA20 compatibility. See db3831a05480. However, let's dedicate a patch to getting rid of deprecation warnings only, without making further changes.
About
When running the test suite, it triggers a few deprecation warnings:
References
Originally posted by @hammerhead in crate/crate-python#464 (comment)
The text was updated successfully, but these errors were encountered: