The package rpms/python-databases.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/python-databases.git/commit/?id=45dc....
Change: -%ifnarch %{ix86} %{arm32}
Thanks.
Full change: ============
commit 5a83f920bdd3b16234242437a5a95da04eca3a4c Author: Benjamin A. Beasley code@musicinmybrain.net Date: Wed Nov 30 11:14:29 2022 -0500
Patch for sqlalchemy >=1.42
diff --git a/513.patch b/513.patch new file mode 100644 index 0000000..d9b6cf8 --- /dev/null +++ b/513.patch @@ -0,0 +1,61 @@ +From fe18d9bfb23ff0bb64f3f9545357f708b418849d Mon Sep 17 00:00:00 2001 +From: joniumGit 52005121+joniumGit@users.noreply.github.com +Date: Tue, 18 Oct 2022 12:39:38 +0300 +Subject: [PATCH] Fixes breaking changes in SQLAlchemy cursor + +- fixes #512 +--- + databases/backends/aiopg.py | 1 + + databases/backends/asyncmy.py | 1 + + databases/backends/mysql.py | 1 + + databases/backends/sqlite.py | 1 + + 4 files changed, 4 insertions(+) + +diff --git a/databases/backends/aiopg.py b/databases/backends/aiopg.py +index 60c741a7..1d35749e 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 e15dfa45..233d2e0e 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 2a0a8425..c7ac9f4e 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 9626dcf8..69ef5b51 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, + ) + diff --git a/python-databases.spec b/python-databases.spec index b9eab85..8bbcf10 100644 --- a/python-databases.spec +++ b/python-databases.spec @@ -26,6 +26,10 @@ Source0: %{forgeurl}/archive/%{version}/databases-%{version}.tar.gz %global with_asyncmy 1 %endif
+# Fixes breaking changes in SQLAlchemy cursor +# https://github.com/encode/databases/pull/513 +Patch: %{forgeurl}/pull/513.patch + BuildRequires: python3-devel
# Additional BR’s for testing, from requirements.txt only (therefore not @@ -228,6 +232,10 @@ Obsoletes: python-databases-doc < 0.5.2-4
%prep %autosetup -n databases-%{version} -p1 + +# The patch for sqlalchemy >=1.4.42 is not backwards-compatible. +sed -r -i 's/(sqlalchemy>=1.4),/\1.42,/' setup.py + %if !0%{?with_asyncmy} sed -r -i \ -e 's/^([[:blank:]]*)(.*import AsyncMyBackend.*)$/# \1\2\n\1pass/' \
commit efa8f018d1f0fa02f415c98e363062d5bc37f64b Author: Benjamin A. Beasley code@musicinmybrain.net Date: Wed Nov 30 11:03:28 2022 -0500
Fix MySQL server startup for tests
diff --git a/python-databases.spec b/python-databases.spec index 66e564d..b9eab85 100644 --- a/python-databases.spec +++ b/python-databases.spec @@ -293,7 +293,7 @@ MYSQL_PID_FILE="${PWD}/mysql.pid" mkdir "${MYSQL_DATA_DIR}" mysql_install_db --datadir="${MYSQL_DATA_DIR}" --log-error="${MYSQL_LOG}"
-%{_libexecdir}/mysqld --port="${MYSQL_PORT}" --ssl \ +%{_libexecdir}/mysqld --port="${MYSQL_PORT}" --skip-ssl \ --datadir="${MYSQL_DATA_DIR}" --log-error="${MYSQL_LOG}" \ --socket="${MYSQL_SOCKET}" --pid-file="${MYSQL_PID_FILE}" & :
commit 96df1b9d84dc1015666eba21281872bcd1681d35 Author: Benjamin A. Beasley code@musicinmybrain.net Date: Sat Oct 22 09:04:34 2022 -0400
Add BR on httpx, for starlette.testclient
diff --git a/python-databases.spec b/python-databases.spec index 61893df..66e564d 100644 --- a/python-databases.spec +++ b/python-databases.spec @@ -43,6 +43,8 @@ BuildRequires: python3dist(pytest) BuildRequires: python3dist(starlette) # Used only as a soft dependency of starlette BuildRequires: python3dist(requests) +# Used only as a soft dependency of starlette.testclient +BuildRequires: python3dist(httpx) %endif
%if %{with mysql_tests}
commit 45dc4b76b0ea364015b803e556ae2a8b7906a6e1 Author: Benjamin A. Beasley code@musicinmybrain.net Date: Fri Oct 21 09:36:00 2022 -0400
Better conditional for 32-bit architectures
diff --git a/python-databases.spec b/python-databases.spec index 351441a..61893df 100644 --- a/python-databases.spec +++ b/python-databases.spec @@ -22,7 +22,7 @@ Source0: %{forgeurl}/archive/%{version}/databases-%{version}.tar.gz # affected platforms. We can still make the binary RPMs noarch, except for the # affected extra metapackage. %global debug_package %{nil} -%ifnarch %{ix86} %{arm32} +%if 0%{?__isa_bits} != 32 %global with_asyncmy 1 %endif
arch-excludes@lists.fedoraproject.org