forked from pool/python-databases
- Add patch sqlalchemy1442.patch to make it compatible with latest sqlalchemy
gh#encode/databases#513 - Remove python_module macro definition - Update to 0.6.2: * Pinned SQLAlchemy <=1.4.41 to avoid breaking changes (#520). - 0.6.1: * Improve typing for Transaction (#493) * Allow string indexing into Record (#501) - 0.6.0: * Dropped Python 3.6 support (#458) * Add _mapping property to the result set interface (#447 ) * Add contributing docs (#453 ) * Fix query result named access (#448) * Fix connections getting into a bad state when a task is cancelled (#457) * Revert #328 parallel transactions (#472) * Change extra installations to specific drivers (#436) - 0.5.5: * Revert the change of Record type to Sequence from Mapping(#408) to maintain backward compatibility - 0.5.4: * Support for Unix domain in connections (#423) * asyncmy MySQL driver (#382) * Fix SQLite fetch queries with multiple parameters (#435) * Change Record type to Sequence (#408) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-databases?expand=0&rev=11
This commit is contained in:
48
sqlalchemy1442.patch
Normal file
48
sqlalchemy1442.patch
Normal file
@@ -0,0 +1,48 @@
|
||||
diff --git a/databases/backends/aiopg.py b/databases/backends/aiopg.py
|
||||
index 60c741a..1d35749 100644
|
||||
--- a/databases/backends/aiopg.py
|
||||
+++ b/databases/backends/aiopg.py
|
||||
@@ -221,6 +221,7 @@ def _compile(
|
||||
compiled._result_columns,
|
||||
compiled._ordered_columns,
|
||||
compiled._textual_ordered_columns,
|
||||
+ compiled._ad_hoc_textual,
|
||||
compiled._loose_column_name_matching,
|
||||
)
|
||||
else:
|
||||
diff --git a/databases/backends/asyncmy.py b/databases/backends/asyncmy.py
|
||||
index e15dfa4..233d2e0 100644
|
||||
--- a/databases/backends/asyncmy.py
|
||||
+++ b/databases/backends/asyncmy.py
|
||||
@@ -211,6 +211,7 @@ def _compile(
|
||||
compiled._result_columns,
|
||||
compiled._ordered_columns,
|
||||
compiled._textual_ordered_columns,
|
||||
+ compiled._ad_hoc_textual,
|
||||
compiled._loose_column_name_matching,
|
||||
)
|
||||
else:
|
||||
diff --git a/databases/backends/mysql.py b/databases/backends/mysql.py
|
||||
index 2a0a842..c7ac9f4 100644
|
||||
--- a/databases/backends/mysql.py
|
||||
+++ b/databases/backends/mysql.py
|
||||
@@ -211,6 +211,7 @@ def _compile(
|
||||
compiled._result_columns,
|
||||
compiled._ordered_columns,
|
||||
compiled._textual_ordered_columns,
|
||||
+ compiled._ad_hoc_textual,
|
||||
compiled._loose_column_name_matching,
|
||||
)
|
||||
else:
|
||||
diff --git a/databases/backends/sqlite.py b/databases/backends/sqlite.py
|
||||
index 9626dcf..69ef5b5 100644
|
||||
--- a/databases/backends/sqlite.py
|
||||
+++ b/databases/backends/sqlite.py
|
||||
@@ -185,6 +185,7 @@ def _compile(
|
||||
compiled._result_columns,
|
||||
compiled._ordered_columns,
|
||||
compiled._textual_ordered_columns,
|
||||
+ compiled._ad_hoc_textual,
|
||||
compiled._loose_column_name_matching,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user