diff --git a/0001-fix-none-type-judge.patch b/0001-fix-none-type-judge.patch deleted file mode 100644 index a36283ddd0a88ca09fad73e8ac727f8a2417e792..0000000000000000000000000000000000000000 --- a/0001-fix-none-type-judge.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 55c30253b61fb3e1fbe6db4b2cb8a487ce908fe6 Mon Sep 17 00:00:00 2001 -From: baizg1107 -Date: Mon, 20 Jun 2022 11:52:47 +0800 -Subject: [PATCH] fix none type judge - ---- - lib/sqlalchemy/engine/base.py | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py -index 0e695f6..fefc43b 100644 ---- a/lib/sqlalchemy/engine/base.py -+++ b/lib/sqlalchemy/engine/base.py -@@ -152,8 +152,9 @@ class Connection(Connectable): - account current schema translate map. - - """ -- -- name = obj.schema -+ name = None -+ if obj is not None: -+ name = obj.schema - schema_translate_map = self._execution_options.get( - "schema_translate_map", None - ) --- -2.27.0 - diff --git a/SQLAlchemy-1.4.31.tar.gz b/SQLAlchemy-1.4.41.tar.gz similarity index 50% rename from SQLAlchemy-1.4.31.tar.gz rename to SQLAlchemy-1.4.41.tar.gz index 8bb3e1ecac8accbdeadf2a7b4d4adc98e2bfaac5..e3494bf905542d4e3b6c70dc2e2ba0c46809988c 100644 Binary files a/SQLAlchemy-1.4.31.tar.gz and b/SQLAlchemy-1.4.41.tar.gz differ diff --git a/sqlalchemy.spec b/sqlalchemy.spec index b4244500733f8f7ed085ecf265fbeddfac9c6dbf..cec1af44d1ed2d24a9e840615bc2f34e3ace1fb7 100644 --- a/sqlalchemy.spec +++ b/sqlalchemy.spec @@ -1,13 +1,12 @@ %global __provides_exclude_from ^(%{python3_sitearch})/.*\\.so$ Name: python-sqlalchemy -Version: 1.4.31 -Release: 2 +Version: 1.4.41 +Release: 1 Summary: SQL toolkit and object relational mapper for Python License: MIT URL: http://www.sqlalchemy.org/ -Source0: https://files.pythonhosted.org/packages/0f/80/d8883f12689a55e333d221bb9a56c727e976f5a8e9dc862efeac9f40d296/SQLAlchemy-1.4.31.tar.gz -Patch0: 0001-fix-none-type-judge.patch +Source0: https://files.pythonhosted.org/packages/67/a0/97da2cb07e013fd6c37fd896a86b374aa726e4161cafd57185e8418d59aa/SQLAlchemy-1.4.41.tar.gz BuildRequires: python3-devel python3-setuptools python3-pytest gcc python3-greenlet Requires: python3-greenlet @@ -63,6 +62,9 @@ PYTHONPATH=. %{__python3} -m pytest test %doc doc examples %changelog +* Wed Apr 10 2024 wangjing - 1.4.41-1 +- update package of version 1.4.41 + * Mon Jun 20 2022 baizhonggui - 1.4.31-2 - Fix None type judgment