#16 [DO NOT MERGE] Update to 2.0.17
Closed 3 months ago by churchyard. Opened 10 months ago by thrnciar.
rpms/ thrnciar/python-sqlalchemy update-to-2.0.17  into  rawhide

file modified
+1
@@ -112,3 +112,4 @@ 

  /SQLAlchemy-1.4.45.tar.gz

  /SQLAlchemy-1.4.46.tar.gz

  /SQLAlchemy-1.4.48.tar.gz

+ /SQLAlchemy-2.0.17.tar.gz

file modified
+5 -1
@@ -16,7 +16,7 @@ 

      aiosqlite

  

  Name:           python-sqlalchemy

- Version:        1.4.48

+ Version:        2.0.17

  # cope with pre-release versions containing tildes

  %global srcversion %{lua: srcversion, num = rpm.expand("%{version}"):gsub("~", ""); print(srcversion);}

  Release:        %autorelease
@@ -28,9 +28,11 @@ 

  

  BuildRequires:  gcc

  BuildRequires:  python3-devel >= 3.6

+ BuildRequires:  python3-Cython

  BuildRequires:  python3-greenlet >= 1.0

  BuildRequires:  python3-setuptools

  BuildRequires:  python3-pytest

+ BuildRequires:  python3-typing-extensions

  %if %{with xdist}

  BuildRequires:  python3-pytest-xdist

  %endif
@@ -78,6 +80,8 @@ 

  

  # remove unnecessary scripts for building documentation

  rm -rf doc/build

+ # remove unnecessary mypy tests

+ rm -rf test/ext/mypy

  

  %check

  %pytest test \

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (SQLAlchemy-1.4.48.tar.gz) = f948e79c92889f2462b117ca49ccb8e82d5f8da0027c65488a3f6c64a802dc0bca96cc84c4e77bb3b8d434dfd66b621ef4d69c5d417ad781d1dc7136bcf6dea1

+ SHA512 (SQLAlchemy-2.0.17.tar.gz) = be45d1283fc446c7ed886d87d9225711b8f0125e8de6961b365930515246e94c3943fd85d078056c942508a9785731bf280519e04b0c00d936e93d3b9b6c137f

no initial comment
OpenLP-0:3.0.2-1.fc38.noarch
python3.11dist(sqlalchemy) < 1.5~~

buildbot-master-0:3.8.0-1.fc39.noarch
(python3.11dist(sqlalchemy) < 1.5~~ with python3.11dist(sqlalchemy) >= 1.3)

datagrepper-0:1.0.1-2.fc38.noarch
(python3.11dist(sqlalchemy) < 2~~ with python3.11dist(sqlalchemy) >= 1.4)

python3-agate-sql-0:0.5.9-1.fc38.noarch
python3.11dist(sqlalchemy) < 2~~

python3-databases-0:0.7.0-6.fc39.noarch
(python3.11dist(sqlalchemy) < 1.5~~ with python3.11dist(sqlalchemy) >= 1.4.42)

python3-odata-query+sqlalchemy-0:0.8.1-1.fc39.noarch
(python3.11dist(sqlalchemy) < 2~~ with python3.11dist(sqlalchemy) >= 1.4)

python-oslo-db
sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0.  Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping.

pychess
sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.functions.count at 0x7f29e4f6b2d0; count>]. Did you mean to say select(<sqlalchemy.sql.functions.count at 0x7f29e4f6b2d0; count>)?

This will generate some work. We better fix the old one if possible at all.

Fyi, a rebase of the flask-sqlalchemy now requires sqlalchemy >= 2.0.16.

Pull-Request has been closed by churchyard

3 months ago