[AUTOPATCHER-CORE] Upgrade python-sqlalchemy to 2.0.27 (#7904)

Co-authored-by: Adit Jha <aditjha@microsoft.com>
This commit is contained in:
CBL-Mariner-Bot 2024-02-28 17:40:56 -08:00 коммит произвёл GitHub
Родитель 458ba58245
Коммит 18d36fac24
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
3 изменённых файлов: 17 добавлений и 10 удалений

Просмотреть файл

@ -1,5 +1,5 @@
{
"Signatures": {
"SQLAlchemy-1.4.32.tar.gz": "6fdd2dc5931daab778c2b65b03df6ae68376e028a3098eb624d0909d999885bc"
}
}
"Signatures": {
"SQLAlchemy-2.0.27.tar.gz": "86a6ed69a71fe6b88bf9331594fa390a2adda4a49b5c06f98e47bf0d392534f8"
}
}

Просмотреть файл

@ -1,5 +1,8 @@
%global srcname SQLAlchemy
# Added global debug_package to fix the failure of empty debugfiles.list
%global debug_package %{nil}
%global python_pkg_extras \
asyncio \
mssql_pymssql \
@ -17,8 +20,8 @@
Summary: Modular and flexible ORM library for python
Name: python-sqlalchemy
Version: 1.4.32
Release: 2%{?dist}
Version: 2.0.27
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Azure Linux
@ -34,6 +37,7 @@ BuildRequires: python3-greenlet >= 1.0
BuildRequires: python3-pip
BuildRequires: python3-setuptools
BuildRequires: python3-six
BuildRequires: python3-typing-extensions
%description
SQLAlchemy is an Object Relational Mapper (ORM) that provides a flexible,
@ -88,8 +92,8 @@ rm -rf doc/build
# Mariner's 'pytest' module is below the required version 6.0.0, so we need to use pip as well.
# The 'apipkg' module should be provided by 'python3-py' pulled in by 'python3-execnet' but the build
# couldn't find 'apipkg' just by using the BRs.
pip3 install more-itertools pytest pytest-xdist apipkg
PYTHONPATH=. python3 -m pytest test --numprocesses=auto
pip3 install more-itertools pytest pytest-xdist apipkg typing_extensions mypy
PYTHONPATH=.:%{buildroot}%{python3_sitelib} python3 -m pytest test --numprocesses=auto
%files doc
%doc doc examples
@ -100,6 +104,9 @@ PYTHONPATH=. python3 -m pytest test --numprocesses=auto
%{python3_sitearch}/*
%changelog
* Thu Feb 15 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 2.0.27-1
- Auto-upgrade to 2.0.27 - none
* Thu Mar 24 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.4.32-2
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- Removed unused BR on 'python3-pluggy'.

Просмотреть файл

@ -24313,8 +24313,8 @@
"type": "other",
"other": {
"name": "python-sqlalchemy",
"version": "1.4.32",
"downloadUrl": "https://files.pythonhosted.org/packages/source/S/SQLAlchemy/SQLAlchemy-1.4.32.tar.gz"
"version": "2.0.27",
"downloadUrl": "https://files.pythonhosted.org/packages/source/S/SQLAlchemy/SQLAlchemy-2.0.27.tar.gz"
}
}
},