Commit c032ded
authored
Refactoring/404 drop pyodbc support (#649)
* Remove pyodbc and odbc comments from documents
* Remove pyodbc from code part 1
* Make comment general after removing pyodbc
* Remove skip related to pyodbc; as tests should be ok to run now
* Remove override due to pyodbc
* Remove EXAODBC from connection string for websocket
* Add to documentation per:
Implicit autocommit was removed in SQLAlchemy 2.0. Use the .begin() method of Engine or Connection in order to use an explicit transaction for DML and DDL statements. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
* Modify regression test to websocket, the remaining dialect variant
* Drop support for pyodbc with changelog entry
* With 2.0, we do not need the plugin
* Add typing hint for colspec to resolve base.py mypy error
* Remove older comment as not restricted anymore to pytest <6
* Remove odbc installation instructions for Ubuntu and ODBC usage
* Switch to websocket, as last remaining dialect
* Remove ODBC skip as no longer relevant; restore default test as override not needed; mark added test
* With pyodbc removal, linting dropped to 4.9. Should create ticket to bring back up
* Update slow tests to separately run sqla, exasol, & regression tests to make debugging easier in future
* Fix test to reduced state with only websocket still
* Without ODBC dialects, there is no longer a use_sql_fallback argument. Thus, test_compare_get_schema_names_for_sql_and_odbc is obsolete, as covered by test_get_schema_names
* Without ODBC dialects, there is no longer a use_sql_fallback argument. Thus, test_compare_get_table_names_for_sql_and_odbc is obsolete, as covered by test_get_table_names
* Without ODBC dialects, there is no longer a use_sql_fallback argument.
Thus, test_has_table_table_exists and test_has_table_table_exists_not can be simplified
and test_compare_has_table_for_sql_and_odbc can be removed.
* Without ODBC dialects, there is no longer a use_sql_fallback argument. Thus, these tests can be simplified
* Without ODBC dialects, there is no longer a use_sql_fallback argument. Thus, these tests can be removed for test_get_view_names and test_get_view_definition already cover
* Without ODBC dialects, there is no longer a use_sql_fallback argument. Thus, these tests can be simplified.
* Without ODBC dialects, there is no longer a use_sql_fallback argument.
Thus, these tests can be dropped as covered by test_get_columns,
test_get_foreign_keys, test_get_pk_constraint
* Remove comment with ODBC mention
* Reduce tests as sql_fallback does not exist now that ODBC-based dialects are gone
* Switch from skip in requirements.py to xfail in the tests
* Start collecting recurring issues in XfailRationale class
- Switch to Xfail with strict=True so that changes in state are obvious, i.e. failed test suite
- Stop overriding DifficultParametersTest as found all tests pass now
* Collect more recurring issues in XfailRationale class
- Switch from EXPLICIT_INDEX to MANUAL_INDEX
- ExpandingBoundInTest.test_null_in_empty_set_is_false is not a valid test anymore; this highlights the importance of using super() and XFAIL
* Finish moving skips to xfails
* Re-add test with modifications as only 1 still fails for <= 7.1.30
* Turn off autocommit in the connection for rollback to work
* Add change to README.rst per review comment
* Add changes to test_suite.py per review comments
* Add change to unreleased.md per review comment
* Add change to developer_guide.rst per review comment
* Add change to user_guide.rst per review comment
* Move user_guide into its own directory as will expand in future and rename1 parent 39e59cd commit c032ded
File tree
33 files changed
+238
-1451
lines changed- .github/workflows
- doc
- changes
- developer_guide
- user_guide
- driver
- exasol
- odbcconfig
- scripts
- sqlalchemy_exasol
- test
- integration
- exasol
- regression
- sqlalchemy
- unit/exasol
33 files changed
+238
-1451
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 47 | + | |
60 | 48 | | |
61 | 49 | | |
62 | 50 | | |
63 | | - | |
| 51 | + | |
64 | 52 | | |
65 | 53 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 54 | | |
72 | 55 | | |
73 | 56 | | |
| |||
80 | 63 | | |
81 | 64 | | |
82 | 65 | | |
83 | | - | |
84 | 66 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 21 | | |
38 | 22 | | |
39 | | - | |
| 23 | + | |
40 | 24 | | |
41 | 25 | | |
42 | 26 | | |
| |||
125 | 109 | | |
126 | 110 | | |
127 | 111 | | |
128 | | - | |
| 112 | + | |
129 | 113 | | |
130 | 114 | | |
131 | 115 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | 116 | | |
146 | 117 | | |
147 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 60 | | |
66 | 61 | | |
67 | 62 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 63 | | |
72 | 64 | | |
73 | 65 | | |
| |||
116 | 108 | | |
117 | 109 | | |
118 | 110 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | 111 | | |
144 | 112 | | |
145 | 113 | | |
| |||
Binary file not shown.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments