15
0

Accepting request 842694 from system:homeautomation:home-assistant:unstable

- added gpg pub key for source validation
- Update to version 1.3.20
  pytest_depr_from_parent.patch is obsolete again
  orm
   * An ArgumentError with more detail is now raised if the target
     parameter for Query.join() is set to an unmapped object. Prior
     to this change a less detailed AttributeError was raised. Pull
     request courtesy Ramon Williams.  References: #4428
   * Fixed issue where using a loader option against a string attribute
     name that is not actually a mapped attribute, such as a plain
     Python descriptor, would raise an uninformative AttributeError;
     a descriptive error is now raised.  References: #4589
  engine
  * Fixed issue where a non-string object sent to SQLAlchemyError or a
    subclass, as occurs with some third party dialects, would fail to
    stringify correctly. Pull request courtesy Andrzej Bartosiński. 
    References: #5599
  * Repaired a function-level import that was not using SQLAlchemy’s
    standard late-import system within the sqlalchemy.exc module.
    References: #5632
  sql
  * Fixed issue where the pickle.dumps() operation against Over construct
    would produce a recursion overflow.  References: #5644
  * Fixed bug where an error was not raised in the case where a column()
    were added to more than one table() at a time. This raised correctly
    for the Column and Table objects. An ArgumentError is now raised when
    this occurs.  References: #5618
  postgresql
  * The psycopg2 dialect now support PostgreSQL multiple host connections,
    by passing host/port combinations to the query string.

OBS-URL: https://build.opensuse.org/request/show/842694
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=176
This commit is contained in:
Tomáš Chvátal
2020-10-20 07:53:08 +00:00
committed by Git OBS Bridge
parent 0d6fd6dc04
commit ed31d819bb
6 changed files with 120 additions and 63 deletions

View File

@@ -19,15 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-SQLAlchemy
Version: 1.3.19
Version: 1.3.20
Release: 0
Summary: Database Abstraction Library
License: MIT
URL: https://www.sqlalchemy.org
Source: https://files.pythonhosted.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz
# PATCH-FIX-UPSTREAM pytest_depr_from_parent.patch gh#sqlalchemy/sqlalchemy#5635 mcepl@suse.com
# pytest >= 3.4.0 requires Class.from_parent call
Patch0: pytest_depr_from_parent.patch
Source1: SQLAlchemy.keyring
# devel is needed for optional C extensions cprocessors.so, cresultproxy.so and cutils.so
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
@@ -68,7 +66,6 @@ reference for python-SQLAlchemy.
%prep
%setup -q -n SQLAlchemy-%{version}
%autopatch -p1
rm -rf doc/build # Remove unnecessary scripts for building documentation
sed -i 's/\r$//' examples/dynamic_dict/dynamic_dict.py