Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-agate-sql for
openSUSE:Factory checked in at 2021-07-13 22:37:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-agate-sql (Old)
and /work/SRC/openSUSE:Factory/.python-agate-sql.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-agate-sql"
Tue Jul 13 22:37:25 2021 rev:8 rq:906050 version:0.5.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-agate-sql/python-agate-sql.changes
2021-07-02 13:27:46.360618321 +0200
+++
/work/SRC/openSUSE:Factory/.python-agate-sql.new.2625/python-agate-sql.changes
2021-07-13 22:37:51.817921521 +0200
@@ -1,0 +2,6 @@
+Tue Jul 13 08:47:51 UTC 2021 - Matej Cepl <[email protected]>
+
+- Add fix_test_fixture_33.patch to fix testing fixture
+ (gh#wireservice/agate-sql#33).
+
+-------------------------------------------------------------------
New:
----
fix_test_fixture_33.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-agate-sql.spec ++++++
--- /var/tmp/diff_new_pack.djeHXN/_old 2021-07-13 22:37:52.277917817 +0200
+++ /var/tmp/diff_new_pack.djeHXN/_new 2021-07-13 22:37:52.281917784 +0200
@@ -28,6 +28,8 @@
Source:
https://github.com/wireservice/agate-sql/archive/%{version}.tar.gz
# we do not have crate dialect
Patch0: python-agate-sql-no-crate.patch
+# PATCH-FIX-UPSTREAM fix_test_fixture_33.patch gh#wireservice/agate-sql#33
[email protected]
+Patch1: fix_test_fixture_33.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -46,8 +48,8 @@
Agate-sql adds SQL read/write support to agate.
%prep
-%setup -q -n agate-sql-%{version}
-%patch0 -p1
+%autosetup -p1 -n agate-sql-%{version}
+
sed -i -e '/^#!\//, 1d' agatesql/*.py
%build
@@ -58,8 +60,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-# exclusion gh#wireservice/agate-sql#33
-%pytest -k 'not test_to_sql_create_statement_with_schema'
+%pytest
%files %{python_files}
%doc AUTHORS.rst README.rst CHANGELOG.rst
++++++ fix_test_fixture_33.patch ++++++
>From c94448e35148feb000293ca40210c6a6ceb41428 Mon Sep 17 00:00:00 2001
From: James McKinney <[email protected]>
Date: Mon, 12 Jul 2021 19:54:06 -0400
Subject: [PATCH] test: Fix test fixture, #33
---
tests/test_agatesql.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/test_agatesql.py b/tests/test_agatesql.py
index cf5d019..908a28d 100644
--- a/tests/test_agatesql.py
+++ b/tests/test_agatesql.py
@@ -144,8 +144,7 @@ def test_to_sql_create_statement_with_schema(self):
textcol VARCHAR(1) NOT NULL,
boolean BOOL,
date DATE,
- datetime TIMESTAMP NULL,
- CHECK (boolean IN (0, 1))
+ datetime TIMESTAMP NULL
);''') # noqa
def test_to_sql_create_statement_with_dialects(self):