[packages/python-sqlalchemy] - do not test azure connection, rel 5
baggins
baggins at pld-linux.org
Sun Nov 28 20:35:39 CET 2021
commit cbac615ffee279aab013cd074a37705fb665a331
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Nov 28 20:35:24 2021 +0100
- do not test azure connection, rel 5
python-sqlalchemy-tests.patch | 29 +++++++++++++++++++++++++++++
python-sqlalchemy.spec | 2 +-
2 files changed, 30 insertions(+), 1 deletion(-)
---
diff --git a/python-sqlalchemy.spec b/python-sqlalchemy.spec
index 1b821db..6f2900c 100644
--- a/python-sqlalchemy.spec
+++ b/python-sqlalchemy.spec
@@ -9,7 +9,7 @@ Summary: Database Abstraction Library for Python 2
Summary(pl.UTF-8): Biblioteka abstrakcji baz danych dla Pythona 2
Name: python-%{module}
Version: 1.3.23
-Release: 4
+Release: 5
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/sqlalchemy/
diff --git a/python-sqlalchemy-tests.patch b/python-sqlalchemy-tests.patch
index 0f361bf..5e4a52b 100644
--- a/python-sqlalchemy-tests.patch
+++ b/python-sqlalchemy-tests.patch
@@ -19,3 +19,32 @@ diff -urNp -x '*.orig' SQLAlchemy-1.3.23.org/setup.py SQLAlchemy-1.3.23/setup.py
"pytest-xdist",
],
long_description=readme,
+--- SQLAlchemy-1.3.23/test/dialect/mssql/test_engine.py~ 2021-02-01 21:52:02.000000000 +0100
++++ SQLAlchemy-1.3.23/test/dialect/mssql/test_engine.py 2021-11-28 20:02:55.581556369 +0100
+@@ -158,26 +158,6 @@
+ True,
+ )
+
+- def test_pyodbc_extra_connect_azure(self):
+- # issue #5592
+- dialect = pyodbc.dialect()
+- u = url.make_url(
+- "mssql+pyodbc://@server_name/db_name?"
+- "driver=ODBC+Driver+17+for+SQL+Server;"
+- "authentication=ActiveDirectoryIntegrated"
+- )
+- connection = dialect.create_connect_args(u)
+- eq_(connection[1], {})
+- eq_(
+- connection[0][0]
+- in (
+- "DRIVER={ODBC Driver 17 for SQL Server};"
+- "Server=server_name;Database=db_name;"
+- "Authentication=ActiveDirectoryIntegrated",
+- ),
+- True,
+- )
+-
+ def test_pyodbc_odbc_connect(self):
+ dialect = pyodbc.dialect()
+ u = url.make_url(
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-sqlalchemy.git/commitdiff/cbac615ffee279aab013cd074a37705fb665a331
More information about the pld-cvs-commit
mailing list