Update to a git snapshot (future 1.4.49) for Python 3.12 support

This commit is contained in:
Miro Hrončok 2023-07-03 09:13:33 +02:00
parent 50ce61b6e1
commit 54a0e1dce2
3 changed files with 9 additions and 6 deletions

1
.gitignore vendored
View File

@ -112,3 +112,4 @@ SQLAlchemy-0.6.1.tar.gz
/SQLAlchemy-1.4.45.tar.gz
/SQLAlchemy-1.4.46.tar.gz
/SQLAlchemy-1.4.48.tar.gz
/sqlalchemy-cd56e873e1db4e6c8bee9e035627beba80251bea.tar.gz

View File

@ -16,15 +16,17 @@
aiosqlite
Name: python-sqlalchemy
Version: 1.4.48
# cope with pre-release versions containing tildes
%global srcversion %{lua: srcversion, num = rpm.expand("%{version}"):gsub("~", ""); print(srcversion);}
# from the rel_1_4 branch, for Python 3.12 support:
%global commit cd56e873e1db4e6c8bee9e035627beba80251bea
%global scommit %(c=%{commit}; echo ${c:0:7})
%global cdate 20230703
Version: 1.4.49~~%{cdate}%{scommit}
Release: %autorelease
Summary: Modular and flexible ORM library for Python
License: MIT
URL: https://www.sqlalchemy.org/
Source0: %{pypi_source %{srcname} %{srcversion}}
Source0: https://github.com/sqlalchemy/sqlalchemy/archive/%{commit}/sqlalchemy-%{commit}.tar.gz
BuildRequires: gcc
BuildRequires: python3-devel >= 3.6
@ -68,7 +70,7 @@ Documentation for SQLAlchemy.
%prep
%autosetup -n %{srcname}-%{srcversion} -p1
%autosetup -n sqlalchemy-%{commit} -p1
%build
%py3_build

View File

@ -1 +1 @@
SHA512 (SQLAlchemy-1.4.48.tar.gz) = f948e79c92889f2462b117ca49ccb8e82d5f8da0027c65488a3f6c64a802dc0bca96cc84c4e77bb3b8d434dfd66b621ef4d69c5d417ad781d1dc7136bcf6dea1
SHA512 (sqlalchemy-cd56e873e1db4e6c8bee9e035627beba80251bea.tar.gz) = 475af71bf56d2dd1c4bea4957f9f9ea5d9b93643e583d5fb4dc092b5cf386c616c5117276e18f600a9704b35e05fe32f6147deb5fbfe778ef8cad2316f86b9c5