|
26 | 26 | import sqlalchemy as sa
|
27 | 27 | from sqlalchemy.orm import Session
|
28 | 28 |
|
29 |
| -from crate.client.sqlalchemy.sa_version import SA_VERSION, SA_2_0, SA_1_4 |
| 29 | +from crate.client.sqlalchemy.sa_version import SA_VERSION, SA_2_0 |
30 | 30 |
|
31 | 31 | try:
|
32 | 32 | from sqlalchemy.orm import declarative_base
|
@@ -170,7 +170,7 @@ def test_bulk_save_modern(self):
|
170 | 170 | self.assertSequenceEqual(expected_bulk_args, bulk_args)
|
171 | 171 |
|
172 | 172 | @skipIf(sys.version_info < (3, 8), "SQLAlchemy/pandas is not supported on Python <3.8")
|
173 |
| - @skipIf(SA_VERSION < SA_1_4, "SQLAlchemy 1.3 is not supported by pandas") |
| 173 | + @skipIf(SA_VERSION < SA_2_0, "SQLAlchemy 1.4 is no longer supported by pandas 2.2") |
174 | 174 | @patch('crate.client.connection.Cursor', mock_cursor=FakeCursor)
|
175 | 175 | def test_bulk_save_pandas(self, mock_cursor):
|
176 | 176 | """
|
@@ -209,7 +209,7 @@ def test_bulk_save_pandas(self, mock_cursor):
|
209 | 209 | self.assertEqual(effective_op_count, OPCOUNT)
|
210 | 210 |
|
211 | 211 | @skipIf(sys.version_info < (3, 8), "SQLAlchemy/Dask is not supported on Python <3.8")
|
212 |
| - @skipIf(SA_VERSION < SA_1_4, "SQLAlchemy 1.3 is not supported by pandas") |
| 212 | + @skipIf(SA_VERSION < SA_2_0, "SQLAlchemy 1.4 is no longer supported by pandas 2.2") |
213 | 213 | @patch('crate.client.connection.Cursor', mock_cursor=FakeCursor)
|
214 | 214 | def test_bulk_save_dask(self, mock_cursor):
|
215 | 215 | """
|
|
0 commit comments