15
0
2023-05-04 16:46:17 +00:00
committed by Git OBS Bridge
parent 578e04156d
commit c1325a13a3
4 changed files with 31 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6913b8247d8a292ef8315162a51931e2b40ce91681f1b6f18f697045200c4a30
size 8544238

BIN
SQLAlchemy-2.0.12.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Thu May 4 15:48:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to SQLalchemy 2.0.x:
* 1.x remains available as SQLAlchemy1
Long list of changes, see
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.12
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.11
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.10
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.9
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.8
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.7
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.6
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.5
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.4
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.3
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.2
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.1
-------------------------------------------------------------------
Fri Apr 21 12:21:17 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -20,7 +20,7 @@
%define oldpython python
%{?sle15_python_module_pythons}
Name: python-SQLAlchemy
Version: 1.4.46
Version: 2.0.12
Release: 0
Summary: Database Abstraction Library
License: MIT
@@ -28,6 +28,7 @@ URL: https://www.sqlalchemy.org
Source: https://files.pythonhosted.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz
Source1: SQLAlchemy.keyring
# devel is needed for optional C extensions cprocessors.so, cresultproxy.so and cutils.so
BuildRequires: %{python_module Cython3}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{pythons}
@@ -37,13 +38,17 @@ Requires: python
Requires: python-greenlet
Provides: python-sqlalchemy = %{version}
Obsoletes: python-sqlalchemy < %{version}
Conflicts: python-SQLAlchemy1
%if %{python_version_nodots} < 38
Requires: python-importlib-metadata
%endif
# SECTION test requirements
BuildRequires: %{python_module greenlet}
BuildRequires: %{python_module greenlet > 0.4.17}
BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module mypy}
BuildRequires: %{python_module pytest >= 4.4.0}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module typing_extensions >= 4.2.0}
# /SECTION
%python_subpackages
@@ -80,13 +85,11 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
# One test fails on Python 3.6
# packaging.version.InvalidVersion: Invalid version: 'SQLAlchemy'
%pytest_arch -k 'not (test_parseconnect and CreateEngineTest and test_bad_args)'
%pytest_arch %{?jobs:-n %jobs} -k 'not (test_parseconnect and CreateEngineTest and test_bad_args)'
%files %{python_files}
%license LICENSE
%doc CHANGES README.rst README.dialects.rst README.unittests.rst
%doc CHANGES.rst README.rst README.dialects.rst README.unittests.rst
%{python_sitearch}/sqlalchemy/
%{python_sitearch}/SQLAlchemy-%{version}-py*.egg-info